Restart Modem/Router When Internet Down

Hi

I have troubles with my DSL modem failing while I’m away from home. I would like to script restarting the modem by turning the power off and on again if the internet connection is lost. However, I am not sure how to determine if the internet connection is lost. It seems like I should be able to run a scene every hour that trys to connect, and restart if this fails. Is this possible? Is there an easier way?

Also, I have a nest thermstat and a weather station connected with World Weather. These devices require an internet connection, so if they have logs of errors, maybe I can just check the logs.

Thanks

Shane

Hi Shane,

you could use the ping plugin and ping a host outside of your network (yahoo.com or something) every few mins. When the host becomes unavailable you trigger the scene which turns off the power to your router/modem and turns it back on after a few mins. Then you get the scene to send you an email telling you internet connection has been restored ;D

Al