MQTT Problem?

General questions regarding integrations.
Post Reply
User avatar
Posts: 8
Joined: Tue Sep 08, 2020 10:49 am
Location: Sweden

MQTT Problem?

Post by martinhult »


I have a flow in Node Red running to control the robonect module to a weather station depending on humidity and stuff.
Very sporadically the mower jumps over to Parking and stops and two seconds later it starts to move again.

I don't know if this is connected to the MQTT flow or if it's a bug in the robonect module.

Does somebody else has any similar problem?

/ Martin
Forum administrator - McCulloch R1000 + Robonect® Hx - 10p

Site Admin
Posts: 17
Joined: Tue Sep 08, 2020 10:45 am

Re: MQTT Problem?

Post by Tamaz »

So the problem turned out to be a MQTT miss-configuration. The mode was sent to the broker with the retain flag set, so every time the robonect briefly lost and reconnected to the broker it got the auto command sent, resulting in it restarting the current mode, stopping and starting again.

Changing the automation to set the retain flag as false when sending a new command to the broker, and then removing the last retained message in the broker by sending an empty message with the retain flag as true.

Post Reply