Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Relay with MQTT gateway down?

Relay with MQTT gateway down?

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 887 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Gutz2001G Offline
    Gutz2001G Offline
    Gutz2001
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andriej
      wrote on last edited by
      #2

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

      :-)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      17

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular