Hello all, I'm currently coding a python module for Cerbo which talks to my BMS and relays the data into the dbus. This works nicely but in case of battery alarms or communications breakdown I can't trigger the system to go into a safe standby.
I tried
dbusservice['/State'] = 10
dbusservice['/ErrorCode'] = 17
dbusservice['/Io/AllowToCharge'] = 0
dbusservice['/Io/AllowToDischarge'] = 0
dbusservice['/Alarms/InternalFailure'] = 2
This makes the Cerbo beep and show two alarms, but the Multiplus II happily goes on inverting. Even worse, if the SoC gets updated as 0 into the dbus, the MP starts charging full throttle from AC.
The dbus manual says "When a dbus service cannot communicate anymore with its direct counterpart, the process will disconnect from the D-Bus" but doing that leaves me no possibility to signal alarms to the user.
I would like to send the whole ESS system into passthru and show an alarm message.
Does anyone have suggestions which values I should set in the dbus?
Thanks and kind regards
Stefan
P.S. ESS configured "optimized without BatteryLife", with external meter, MPPT, DVCC off.