question

nickdb avatar image
nickdb asked

MQTT Issues connecting

After successfully browsing the cerbo with mqtt explorer and using the node red mqtt node to subscribe to some topics, this morning nothing would work.

The explorer showed a basic list of system topics but no data.

The node red nodes connected but returned nothing.

Only after using the v2 beta GUI (which uses MQTT) did everything wake up and start working.

It stopped again afterwards and I had to repeat this process.

Using VRM has the same result.

Is there something (keepalive?) that is required in the MQTT node/connection setup?

I tried sending a keepalive as documented here: https://github.com/victronenergy/dbus-mqtt/blob/master/README.md#keep-alive

But it didn't seem to do anything.

Any help appreciated.



Node-REDMQTT
2 |3000

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

1 Answer
nickdb avatar image
nickdb answered ·

Resolved. Had to write a keepalive to R/cxxxxxxxxxx/system/0/Serial every 30 seconds

2 |3000

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