MQTT dormant until VRM portal opened

Is anyone else having problems with gaining MQTT messages from a Cerbo?
It seems to go to sleep until I open the VRM portal. It’ll run for a while then stop sending again…
I want to use it in Node Red but can’t trust it to continue running.
I’ve tested this in NodeRed and MQTT Explorer…

You aren’t sending a keepalive - all documented in the MQTT documentation.
You don’t need to use MQTT to the cerbo from nodered, custom nodes achieve the same thing.

Hi I’m not running NR on the Cerbo. I have a dedicated server for NodeRed and it’s doing a lot more than just VE tasks; but I am fairly new to MQTT.
I did have the keepalive flow running but it was mis configured, it’s now sorted. thanks for your response.

Problem solved:
I had had misconfigured the keepalive process.
This is what it should look like:


With an inject node set to 20 seconds with a null payload.

This keeps the MQTT flow of messages coming into NodeRed.
Thanks to @Philippoo for his pointer…

8 posts were split to a new topic: HA mqtt keepalive not working

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.