MQTT voltage

Hi All, I’m trying to improve power calculations on an EVSE and was hoping to use the measured voltage from the Multi or Carlo Galvazzi meter. I’ve got MQTT explorer and I thought these would be in the list of topics but all I’ve got on my Victron items is “Serial” and “Connected”.

Any ideas why I can’t find voltage on MQTT explorer ?

You probably need to publish a keepalive in order to populate all the mqtt values. You could also use dbus-spy.

Have Fun

It’s ok, some time later the other topics appeared. Now there are 1670 topics !

I will take at look at all your suggestions though, thanks.

After a restart it’s back to having only 2 topics “serial” and “connected”. I didn’t do anything last time apart from waiting, it just populated all on its own, but I don’t know how long that will take.

I am trying to work out how to send a keep-alive message,

1 Like

Please help ! I’ve watched videos and read about a dozen websites about how keep-alive works and what its for etc. etc. but still no idea who/what sends these keep-alive messages and to whom or to where.

I read about the Dbus/FlashMQ plug-in but I’m none the wiser. All I want to do is get the voltage onto the broker so that my Evse can read it.

Thanks in advance.

You can publish a keepalive which populates all mqtt values by using the following

R/“your device id here without the quotations”/keepalive

Or you can subscribe to a single topic

R/“your device id here without the quotations”/“path to specific topic here”

Do this with a mqtt node

Or easier would be to just use the “custom” victron node.

So I need to do this within Node-red ? I have been writing topics and trying to publish messages in MQTT explorer.

I must admit I am still unclear what to do. I also tried to use MQTT.cool client test but I can’t get it to connect to the Cerbo broker.

Got it working !

It was the Node-red clue that got me there in the end.

Thanks,