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. Development
  3. Power up a backup Gateway node

Power up a backup Gateway node

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 1.2k Views 3 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.
  • A Offline
    A Offline
    Alexander Ivanov
    wrote on last edited by
    #1

    Hi Everyone,

    Since it's not possible to run a node code if the node is not connected to a gateway, it's especially important to have a backup gateway.
    It's reasonable to power up a backup gateway (and power down "main" node) if the main gateway is not responding after period of time.

    In general, it's easy - we need to have a dedicated node which "pings" the gateway and once it doesn't respond -- it should power up backup gateway + power down main gateway. The problem is, the dedicated node code (in loop procedure) won't start if the node isn't connected with a gateway (see link above). How to overcome it, any ideas?

    Regards, Alexander

    1 Reply Last reply
    0
    • CrankyCoderC Offline
      CrankyCoderC Offline
      CrankyCoder
      wrote on last edited by
      #2

      I have thought about a secondary gateway as well.

      In this situation, you may want to opt for your "monitoring" node to not be part of mysensors, but independent of. You can still use RF to send messages to the gateway and have it respond and turn on/off relays. But I have always found it's better to separate your monitoring from the stuff you want to monitor.

      Home Automation Tinkerer
      www.CrankyCoder.net

      Controller: HomeAssistant in Kubernetes
      Gateway: MQTTClientGateway
      MySensors: 2.3

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alexander Ivanov
        wrote on last edited by
        #3

        I guess it will require MySensors code modification, right?

        1 Reply Last reply
        0
        • CrankyCoderC Offline
          CrankyCoderC Offline
          CrankyCoder
          wrote on last edited by
          #4

          That I am not 100% sure of. I would guess yes, but would think minimal. I would think the more troublesome area would be on the monitoring node, simulating a message to mysensors.

          Home Automation Tinkerer
          www.CrankyCoder.net

          Controller: HomeAssistant in Kubernetes
          Gateway: MQTTClientGateway
          MySensors: 2.3

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


          26

          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