Until now my Ruuvi Gateway has been working OK, sending MQTT to my own internal server, but now suddenly all I get is an initial “state: offline” message.
Any idea what is going on?
Until now my Ruuvi Gateway has been working OK, sending MQTT to my own internal server, but now suddenly all I get is an initial “state: offline” message.
Any idea what is going on?
What does “status: offline” mean?
“state: offline” message is the Last Will and Testament (LWT) message to notify about an ungracefully disconnected client:
https://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament/
so, this message is sent by the server if the ruuvi gateway disconnects ungracefully (without MQTT DISCONNECT message).
Ahh. Interesting. Thanks!
OK, problem solved (thanks to Alexey). Somehow “Use “ruuvi” in topic” had become unselected, so the topic was not recognized on my server.