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. Troubleshooting
  3. MQTT Gateway not reachable when power goes and come.

MQTT Gateway not reachable when power goes and come.

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    mainali
    wrote on last edited by
    #1

    My MQTT gateway becomes not reachable after there a power outage. I have to manually reset it from the button on the board. Is anyone else facing similar issue

    1 Reply Last reply
    0
    • greglG Offline
      greglG Offline
      gregl
      Hero Member
      wrote on last edited by
      #2

      To me it sounds like it could it be that some of your other home infrastructure ( router/mqtt broker/network switch) etc have not fully booted up when your MQTT gateway starts....

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mainali
        wrote on last edited by
        #3

        Using arduino as gateway is more of a overhead. Its creating more problem then solving any.

        1. Like you said, I had not tested the router reset scenario and same thing happens for router reset after power outage. The router takes a while to boot up and by this time arduino is already running. So same Destination host unreachable issue.

        2. Considering router is running and arduino is powered down for some reason. I have to manually reset the shield so that it can connect to the network.

        Is there a better way of solving both the problems ?. Thinking of using Rpi as gateway and Rpi as the server to talk to gateway.

        1 Reply Last reply
        0
        • greglG Offline
          greglG Offline
          gregl
          Hero Member
          wrote on last edited by
          #4

          What about adding some code to the gateway to ping your router. If it fails 3 time then reboot the gateway?

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


          19

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          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