Hello, I have a Smart Shunt 500 connected to my Cerbo GX device. Is it possible to read the current from the Smart Shunt vía Modbus TCP?
Best Regards
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hello, I have a Smart Shunt 500 connected to my Cerbo GX device. Is it possible to read the current from the Smart Shunt vía Modbus TCP?
Best Regards
Hi @HackerP
As @sebastia@phoenixone.co suggested it's either DC Load registers or .battery registers. What information are you looking to extract?
https://www.victronenergy.com/upload/documents/CCGX-Modbus-TCP-register-list-3.00.xlsx
The Unit ID is 226. I have tried to read from .battery, .alternator, .dcsource, .dcload but I get no answer. Have you tried this if it is possible?
Sorry @sebastia@phoenixone.co
My guess wouldve been Address 4101 on the alternator unit id.
Just to confirm on gx device when you go Settings->Services->Modbus TCP -> Available servers
The smart shunt comes under Unit ID 226 and the dbus path under it is com.victronenergy.aternator ? Is that correct?
That dbus path should at least confirm which section of modbus registers the data should be being posted to. ie for example mine is showing up as com.victronenergy.battery as my smart shunt is configured as a battery monitor
Hallo zusammen,
Ich würde gerne die Werte des SmartShunt 500A über Modbus-TCP an meine Loxone Smarthome-Steuerung übertragen. Der Shunt ist über VE.Direct an Port 1 des Cerbo GX angeschlossen. In der CCGX-Modbus-TCP-register-list-3.10.xlsx finde ich leider nicht die notwendige Adresse für die Übertragung. Im Cerbo GX wird mir für den Shunt die VRM-Instanz 279 angezeigt. Dies sollte die Unit ID 226 sein. Ich würde gerne die Batteriespannung, den Ladestrom und die Leistung übertragen. Welche Modbus-TCP-Adressen haben diese Werte?
Danke für eure Hilfe.
Hi @Rietzel
Apologies i dont speak German, hopefully google translate can manage this.
Firstly check you have modbus TCP server enabled by going to
go Settings->Services->Modbus TCP on the Cerbo GX.
Once this has been enabled then go to available services and see what unit id the smart shunt is showing under and also note the dbus bath. If the smart shunt is configured as a batery monitor it should show up as com.victronenergy.battery
If you use the victron dbus register list then you should be able to find the registers you're looking for under the corresponding dbus path. Assuming it's com.victronenery.battery the addresses start around 258 onward.
I'm not familiar with Loxone but many home automation software can extract data from MQTT, this can be slightly more user friendly in my experience so you may want to look into utilising victrons buiilt in MQTT server instead of modbus.
Hello matt1309,
Thanks for the quick help. Google Translate works well, I hope it translates my German correctly too.
“Assuming it is com.victronenery.battery, the addresses start at around 258.”
That was exactly the information I was missing. The transfer to the Loxone control now works.
Many thanks for your help.
Best regards, Dieter.
82 People are following this question.