What are the modbus registers of the battery values Installed and Available Capacity ?
These values are listed in the gui of the gx device.
See my screenshot:
I didn’t find it in the “CCGX-Modbus-TCP-register-list-3.50.xlsx”
What are the modbus registers of the battery values Installed and Available Capacity ?
These values are listed in the gui of the gx device.
See my screenshot:
I didn’t find it in the “CCGX-Modbus-TCP-register-list-3.50.xlsx”
I’m checking the 3.60 register list, and do not see those items either.
Using dbus-spy, I believe they appear as
/Capacity and /InstalledCapacity under the battery device (com.victronenergy.battery.socketcan_can1 for me).
My battery does not report available capacity so I can’t be totally sure, but my installed capacity is correct.
If you are using DESS, this register (5420) may be appropriate:
com.victronenergy.settings Battery capacity 5420 uint16 10 0 to 6553.5 /Settings/DynamicEss/BatteryCapacity yes kWh
Thank you very much for the hints! ![]()
As I saw the (LONG) way to get “dbus-spy” running…
I found a newer version of the xls file github, made a manual spy
with my linux laptop and found Capacity
…
~$ modbus -s 225 192.168.1.11 307
Parsed 0 registers definitions from 1 files
307: 1600 0x640 #max charge current
:~$ modbus -s 225 192.168.1.11 308
Parsed 0 registers definitions from 1 files
308: 2100 0x834 #max discharge current
:~$ modbus -s 225 192.168.1.11 309
Parsed 0 registers definitions from 1 files
309: 780 0x30c #Capacity
…
78 Ah is the correct value, also shown in the gx gui! ![]()
Whoops, I had rows hidden in the spreadsheet when I looked at it.
Yes, 309 is /Capacity. Glad you found it.