Hello people of Victron Community!
I’m going round in circles a wee bit and hope one of y’all can shed some light?
Using dbus-spy as root…
I see beautiful information before me.
BATTERY 1 and BATTERY 2 full info
These batteries are Lifepo4 batteries connected by CAN to the cerbo.
Cerbo GUI only sees one of these and gives one of them an instance ID of 225.
This is no worry as I can see the persistent data from both in dubus-spy
“com.victronenergy.battery.socketcan_can0” (battery 2) and “com.victronenergy.battery.socketcan_can1” (battery 1) exists.
Heading to NODE_RED.
Using a the victron modbus node when I select the dropdown for attributes i can see
“com.victronenergy.battery”
but not “com.victronenergy.battery.socketcan_can0”
Is there a way of my manually adding this?
Second approach!
I use a generic modbus node. Enter the cerbo ip us the start address 259 for battery info (as stated in Victron https://www.victronenergy.com/live/ccgx:modbustcp_faq)
and requesting a quantity of 60.
This will not process any data unless i state a UNIT-ID of which I have only one: 225 which is for only one battery. The debug node does as expected. Prints pay load for 1 battery.
So unless I have another UNIT-ID for the second battery. That node appears not to help.
As stated. The full data for both batteries appear in dbus-spy under:
“com.victronenergy.battery.socketcan_can0” and com.victronenergy.battery.socketcan_can1 (battery 1)
Does anyone know how I can extract this into payload in Node-Red?
I’ve tried battery aggregation and this hasnt helped btw.
I simply (or not so simply) want to extract the data from
socketcan_can0 and socketcan_can1
I’m new to modbus if you hadn’t noticed!
All the Best!