meshtastic-map icon indicating copy to clipboard operation
meshtastic-map copied to clipboard

Another way to determine MQTT as Online/Offiline (meshtastic/firmware/pull/4305)

Open Talie5in opened this issue 1 year ago • 2 comments

https://github.com/meshtastic/firmware/pull/4305 has changed/removed the status topic from MQTT which now stops the ability to see if the MQTT is Online or Offline in the map (regardless of using a private MQTT broker)

Is there another method that can be used to determine the status?

Talie5in avatar Jul 29 '24 01:07 Talie5in

Not sure on that one...

Wasn't expecting that change. I guess you'll just have to hope that your node is correctly connecting to your MQTT server, and just assume that it's always connected.

Looking at the change, they intend to publish the node info on each new connection to the MQTT server, although this is not implemented yet. This still wouldn't tell you if it's currently connected, just that it had connected at a specific timestamp.

As far as I know, you will no longer be able to determine if you node is currently connected to the MQTT server. Maybe someone else knows a way to tell?

I will likely keep all of my gateway nodes on the older firmware until another option is available.

liamcottle avatar Jul 29 '24 01:07 liamcottle

Closing out, as this feature has been updated to be based on when a packet was heard being gated to MQTT by the node in question.

liamcottle avatar Sep 02 '24 02:09 liamcottle