MQTT Gateway not reachable when power goes and come.
-
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login