Page 1 of 1

100% load when mqtt broker not reachable

Posted: 20 Jan 2019, 22:09
by fraeggle
I have a question.
I have configured lamps and switches on my ESP8266.
For example, if the MQTT Broker fails, the ESP are almost impossible to operate. Load at 100%. If I deactivate the MQTT at the ESP for the time period my broker is down (hab a defective SD), everything can be operated directly via the switches.
I think it is because the ESP tries to get the connection up again, but he doesn't seem to be doing anything else anymore.
A rule would be nice. Ex. if mqtt disconnected deactivate mqtt and try every minute and if broker alive again activate mqtt.
Maybe someone has the same prob.

Regards Peter