Hello!
I recently started to write a dbus-driver for my RS485-connnected "Aurora PV-Inverter".
Over night, when the sun is down the inverter shuts down and the communication fails.
As stated in the wiki (chapter 4 -> https://github.com/victronenergy/venus/wiki/howto-add-a-driver-to-Venus) I just exit my script in that case.
But surprisingly the next day when electricity and pv-communication return, there still was no PV-inverter again in the system.
So i broke it down to a simple test-script instead of the pv-driver:
#!/usr/bin/env python3
import logging
import os
import time
import sys
def main():
    #configure logging
    logging.basicConfig(    format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
                            datefmt='%Y-%m-%d %H:%M:%S',
                            level=logging.DEBUG,
                            handlers=[
                                logging.FileHandler("%s/current.log" % (os.path.dirname(os.path.realpath(__file__)))),
                                logging.StreamHandler()
                            ])
    logging.info('Started... wating for 5 seconds')
    time.sleep(5)
    logging.info('Exiting...')
    sys.exit()
if __name__ == "__main__":
    main 
                The result was that even this simple script is only called once on system start, but never again after it exits.
So what am I doing wrong? What has to be considered that these so called "baby-sitters" care about my driver?
Hope somone knows...
Greetings,
Kai
