victronenergy / venus

Victron Energy Unix/Linux OS
https://github.com/victronenergy/venus/wiki
580 stars 73 forks source link

Add support for Sunspec protocol to Cerbo GX/Venus OS #1173

Open andreas-bulling opened 10 months ago

andreas-bulling commented 10 months ago

I have an EM540 connected to the Cerbo GX via USB/RS485 (Modbus) as the main grid meter. Problem is that my Warp2 Smart wallbox also needs access to the grid statistics but, as I understand, only one client-server connection is possible over Modbus. I actually tried and it failed.

It would be great if Venus OS / Cerbo supported the Sunspec protocol and offered the grid meter values (and others) through it - as a "virtual grid meter" so to say. I could then configure my wallbox to read these values from the Cerbo.

From what I understand, SunSpec is essentially ModBus (which is already supported by Venus OS / Cerbo) but defines a standardised set of registers that other devices can read. So it seems that SunSpec support should not be too difficult to implement...