Scene/Script to Restart DSL Modem and Wireless Route via zwave electrical outlet

I have a DSL connection/Wireless Router in a vacation/2nd home that is notorious for periodically dropping out. I have set up a scene to recycle the outlet nightly. One scene that turns the outlet off and one that turns it back on after 5 mins whenever it is turned off (manually or otherwise).

However, I would like to set up a scene that periodically checks to see if it can get to an internet address. If it can’t, then it would turn off the outlet. The 2nd scene above would turn it back on.

Any good LUUP code out there that would accomplish the above?

Start by using the Ping Sensor. It can be used to find if an address is contactable.

This very question was asked a few days ago.

http://forum.micasaverde.com/index.php?topic=22473.0

  • Garrett

Perfect. Thanks a bunch. Chalk it up to poor searching skills.