diff --git a/dbus_generator.py b/dbus_generator.py index 20a5b13..1360b4c 100755 --- a/dbus_generator.py +++ b/dbus_generator.py @@ -11,7 +11,6 @@ # Victron packages sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'ext', 'velib_python')) -from vedbus import VeDbusService from ve_utils import exit_on_error from dbusmonitor import DbusMonitor from settingsdevice import SettingsDevice diff --git a/ext/velib_python b/ext/velib_python index a8f3fb6..4700da5 160000 --- a/ext/velib_python +++ b/ext/velib_python @@ -1 +1 @@ -Subproject commit a8f3fb64e0180e9d9f06528a635bc33f19dfa881 +Subproject commit 4700da50fd65e6369ccee4c49f80daa47c59edeb diff --git a/gen_utils.py b/gen_utils.py index ac1cdd7..25bb608 100644 --- a/gen_utils.py +++ b/gen_utils.py @@ -76,7 +76,9 @@ def create_dbus_service(instance): # Use a private bus, so we can have multiple services bus = dbus.Bus.get_session(private=True) if 'DBUS_SESSION_BUS_ADDRESS' in os.environ else dbus.Bus.get_system(private=True) - dbusservice = VeDbusService("com.victronenergy.generator.startstop{}".format(instance), bus=bus) + dbusservice = VeDbusService( + "com.victronenergy.generator.startstop{}".format(instance), + bus=bus, register=False) dbusservice.add_mandatory_paths( processname=sys.argv[0], processversion=softwareversion,