So I'm writing a BMS driver. I'm setting nice Dbus values:
# dbus -y com.victronenergy.battery.batt /System GetValue {'MaxCellTemperature': 24.341449696978373, 'MaxCellVoltage': 3.3502061086654664, 'MaxTemperatureCellId': 4, 'MaxVoltageCellId': 5, 'MinCellTemperature': 21.298120999750154, 'MinCellVoltage': 3.324489862728119, 'MinTemperatureCellId': 0, 'MinVoltageCellId': 0, 'NrOfCellsPerBattery': 8, 'NrOfModulesBlockingCharge': 0, 'NrOfModulesBlockingDischarge': 0, 'NrOfModulesOffline': 0, 'NrOfModulesOnline': 1} #
However, the cell IDs don't show up in the GUI:
Any ideas why that happens? I have verified with dbus-monitor that those IDs do get signalled:
signal time=1659814472.397015 sender=:1.296 -> destination=(null destination) serial=81 path=/; interface=com.victronenergy.BusItem; member=ItemsChanged array [ … dict entry( string "/System/MaxCellVoltage" array [ dict entry( string "Value" variant double 3.35109 ) dict entry( string "Text" variant string "3.351V" ) ] ) dict entry( string "/System/MaxVoltageCellId" array [ dict entry( string "Value" variant byte 5 ) dict entry( string "Text" variant string "5" ) ] )
I tried changing the bytes to int16, or strings, doesn't matter.