question

ardiehl avatar image

EnergyMeter not detected

I'm in the process of building an ESS system. I have not installed the Multiplus as it has not been delivered yet. I have installed 2 EM24 and connected the Cerbos GX to the network and the energy meters. The second one is configured to Modbus ID 2. To make sure the connectivity is fine, i wrote a small program for Linux to read out modbus registers from the EM24 and that works fine.
Should the Cerbos show the meters or does it work only after configuring ESS on the Multiplus and connecting the Multiplus ? The serial to USB adapter (tried the original FTDI and a CH340 one) are detected by the GX.

Energy Meter
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
ardiehl avatar image
ardiehl answered ·

Found the problem. I used the original FTDI cable (USB-RS485-WE) as the one from Victron was not in stock. In /etc/udev/rules.d/serial-starter.rules i found that the ID_MODEL has to be FT232R_USB_UART, USB-RS485_Cable or USB485_Iso_stick.

I used FT_Prog from ftdi and changed "Product Desc" from USB-RS485-WE to USB-RS485_Cable and it works now.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ardiehl avatar image
ardiehl answered ·

Now i cam see the energy meters

1637693593583.png

1637693636516.png

1637693673518.png

However, i can not see any measured values also not via MQTT. In /var/log/dbus-cgwacs.ttyUSB0/current the following error message is shown:

ERROR Energy meter Application incorrect

The first meter is connected to the grid and should be used with ESS when my Muliplus arrives.

The second one should only by logged and i want to be able to read the values via MQTT.

Will the energy meters only work after ESS is configured or should they work now ?



1637693593583.png (11.7 KiB)
1637693636516.png (10.5 KiB)
1637693673518.png (9.9 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ardiehl avatar image
ardiehl answered ·

Thank Victron for providing the sources for dbus-cgwacs on github, that was easy.


case CheckFrontSelector:
if (registers[0] == 3) {
QLOG_ERROR() << "Energy meter Application incorrect";


The front pannel switch must not be in the locked position. Now i get the measured values via MQTT.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.