Modbus register for battery power is wrong

Hello,

I’m integrating victron into Loxone Domotics system.
I need the battery power for the energy module that loxone is using.

I’m reading modbus value 860 (according to modbus excel sheet), altough its sending other values then the values on the overview screen.
modbus is giving 64513, power from battery on overview screen is 923W

Also tried modbus value 860, but this is returning empty value..

Help appreciated!



Schermafbeelding 2025-05-13 220326

does your address assignment start at 0 or, as with Siemens Logo, at 1 … i.e. all Modbus addresses from Victron +1

Register 860 would be a DC load on the battery if you have activated ‘System uses DC load’.
How is your Luxon system supplied? DC via a shunt from the battery?
It is not Batterie Power Use !!!

Check Adress 258 with ID from “com.victronenergy.Battery” (mine is 225)

Hello,

It starts at 0. All other values are correct.

Not using a shunt, using the battery’s bms to supply info to the cerbo

hello, address 258 is giving me the same value.
I think i have to calculate the power using the voltage and the current as workaround!

Edit: seems i get this strange values when the value is negative.
Qhen its postive, i am getting the right value!
SO i only have to find out how to convert the big value to a negative one..

foudn the issue: had to be signed integer instead of unsigned integer!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.