Relay with MQTT gateway down?



  • Hi Everyone,

    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?



  • Don't you have a flaw in design - what if module fails?
    You won't be able to turn on/off light at all...


Log in to reply
 

Suggested Topics

  • 4
  • 1
  • 2
  • 14
  • 9
  • 5

14
Online

11.2k
Users

11.1k
Topics

112.5k
Posts