Victron MQTT question

I am trying to get the Soc value from the cerbo Gx box into an external node-red dashboard with RPi. Most values like battery voltage and current work fine but the cerbo seems to refuse sending the Soc. What am i missing?

If you connect to the gx local mqtt, you need to recurringly send it a keep alive message, else the gx broker will stop populating messages.

Easiest is to connect to your gx with mqtt explorer, filter for “Serial” and then open VRM dashboard in live view.

Then you will see the required payload beeing published to /.../Serial about every 30s and can implement the same logic for your mqtt client.

Hi Dognose,

Many thanks for your answer. It worked! I could have seen it earlier but i noticed that the Soc is transmitted a lot lesser than other messages like battery voltage or current.

I had to wait a minute or so to get the Soc message, this is no problem since the Soc does not change so rapidly.

Rob K