Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lost connection to MQTT bruker, reconnect automatically.
#1
My Android units running IoT do every now and then (a couple of times pr day) loose connection to my Mosquitto MQTT broker. On Linux Mint it seems far more stable but if I reboot Mosquitto, they all loose connection and have to manually be reconnected.

I did assign a variable to the MQTT Connection Status to show in a Dashboard but the value remains "1" even when the connection is broken (or at least not updating any more).

Any way to automatically reconnect and also have a reliable status indication?
Reply


Messages In This Thread
Lost connection to MQTT bruker, reconnect automatically. - by SveinHa - 03-31-2023, 04:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)