MQTT Gateway not reachable when power goes and come.
-
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
-
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....
-
Using arduino as gateway is more of a overhead. Its creating more problem then solving any.
-
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.
-
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.
-
-
What about adding some code to the gateway to ping your router. If it fails 3 time then reboot the gateway?
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 12 days ago • dpcons 11 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20