Hello,
i'm playing around with Dbus and python. I'm using ve_lib to feed data onto the Dbus. I have 2 Smart Mppt and a Smart shunt connected to Venus-os and it's all working smoothly. Sadly, my hybrid inverter is not a Victron one yet and i'm trying to simulate one via Dbus on com.victronenergy.multi.
I think i have set the relevant paths, but some of the values don't appear on the local dashboard and the VRM.
What i'm doing wrong?
self._dbusservice.add_path('/Mode',3)
self._dbusservice.add_path('/State',9)
self._dbusservice.add_path('/Yeld/User',1234)
self._dbusservice.add_path('/Yeld/System',5678)
#AC-Out
self._dbusservice.add_path('/Ac/Out/1/L1/V',230)
self._dbusservice.add_path('/Ac/Out/1/L1/F',50)
self._dbusservice.add_path('/Ac/Out/1/L1/I',1)
self._dbusservice.add_path('/Ac/Out/1/L1/P',230)
#AC-IN
self._dbusservice.add_path('/Ac/In/1/Type',1)
self._dbusservice.add_path('/Ac/In/1/L1/V',230)
self._dbusservice.add_path('/Ac/In/1/L1/F',50)
self._dbusservice.add_path('/Ac/In/1/L1/I',1)
self._dbusservice.add_path('/Ac/In/1/L1/P',230)
self._dbusservice.add_path('/Ac/NumberOfPhases',1)
self._dbusservice.add_path('/Ac/NumberOfInputs',1)
self._dbusservice.add_path('/Ac/ActiveIn/ActiveInput',0)
#DC
self._dbusservice.add_path('/DC/0/Voltage',0)
self._dbusservice.add_path('/DC/0/Current',0)
self._dbusservice.add_path('/DC/0/Temperature',33)
self._dbusservice.add_path('/Soc',33)
#PV
self._dbusservice.add_path('/MppOperationMode',2)
self._dbusservice.add_path('/NrOfTrackers',1)
self._dbusservice.add_path('/Pv/0/V',555)
self._dbusservice.add_path('/Pv/0/P',666)
self._dbusservice.add_path('/Yield/Power',888)