Relay with MQTT gateway down?
Gutz2001 last edited by
As you may know, the default setup with a relay with an MQTT gateway doesn't work if the MQTT GW is down. Now this might be okay for some, but i'm considering changing all my lights to run with the relays, so it's not acceptable to not be able to turn on or off my lights if for some reason my MQTT gateway is down. Does anyone have code that can help me turn on/off a relay while the MQTT is Down? and then wishfully update the MQTT gateway with the status once it's up Again?
andriej last edited by
Don't you have a flaw in design - what if module fails?
You won't be able to turn on/off light at all...