Hiho folks & friends,
after expanding IoT devices @ my home more and more I notice a problem with my switches/relays:
They trun on and ignore the mqtt-command to turn off. This happens very seldom but its annoying if it happens before going to sleep. All my relays are soldered and programmed by myself (ESP8266) I guess it could be a bug somewhere deep in the code that I could search forever. (beside the work of disassemble stuff for this case).
Long story short: I guess at some point the ESP crashes and restarts and the MQTT message to switch the relay off gets lost somehow. I was thinking about if MQTT QoS 1 could fix this ? I am not sure if it works just to set the node red QoS option to 1 or do I have to implement more like sending back an answer or so ?