Author Topic: Internet Modem Auto Reboot if network loss  (Read 3527 times)

Offline Jim2112

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Internet Modem Auto Reboot if network loss
« on: September 30, 2015, 07:16:27 pm »
I am trying to set up a home automation system to monitor and control a few things.  I installed DSL recently, and within the first 12 hours it went offline.  The first thing they tell you is turn your modem off then on to see if it clears up.  That's fine if you are there, but if it's  a remote location it complicates things.  I am looking for a way to use my Vera Edge to ping a few IP addresses and if it loses network connection to turn a switch off that would be powering the DSL Modem.  If I can get that then I imagine a trigger to turn it back on with a delay could be written.  Anyway, does anyone have this problem already solved so I don't have to reinvent the wheel?  I am looking at a switch on Amazon that seems to do that, but if I can download an app on the Vera Edge or use a trigger I would prefer that. 
There may be other switches out there, and this one has no reviews but I'm wanting to solve this. 

http://www.amazon.com/dp/B015NM0LKI/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=24BXPFY0LQXTJ&coliid=I1W7G6HDA9J8L3

Offline tbell1961

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Internet Modem Auto Reboot if network loss
« Reply #1 on: October 28, 2015, 09:26:45 am »
Any feedback on this for OP or anyone else?  ;D

Offline Cor

  • Hero Member
  • *****
  • Posts: 1095
  • Karma: +4/-4
Re: Internet Modem Auto Reboot if network loss
« Reply #2 on: October 28, 2015, 03:21:20 pm »
I had the same issues.

I simply used a zwave wallplug for the modem.
ping sensor app for my vera
a trigger and a schedule, the trigger on the ping sensor  , when 8.8.8.8 can not be pinged for so many times , to switch the wallplug off and 10 seconds later on agan.

also in the scene the switch the wallplug om every hour ...... just in case the after 10 seconds on didn't get trhough.

that works quite well now for over a year.

Cor

Offline zmistro

  • Hero Member
  • *****
  • Posts: 969
  • Karma: +1/-0
Re: Internet Modem Auto Reboot if network loss
« Reply #3 on: November 08, 2015, 12:52:11 pm »
I am trying to set up a home automation system to monitor and control a few things.  I installed DSL recently, and within the first 12 hours it went offline.  The first thing they tell you is turn your modem off then on to see if it clears up.  That's fine if you are there, but if it's  a remote location it complicates things.  I am looking for a way to use my Vera Edge to ping a few IP addresses and if it loses network connection to turn a switch off that would be powering the DSL Modem.  If I can get that then I imagine a trigger to turn it back on with a delay could be written.  Anyway, does anyone have this problem already solved so I don't have to reinvent the wheel?  I am looking at a switch on Amazon that seems to do that, but if I can download an app on the Vera Edge or use a trigger I would prefer that. 
There may be other switches out there, and this one has no reviews but I'm wanting to solve this. 

http://www.amazon.com/dp/B015NM0LKI/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=24BXPFY0LQXTJ&coliid=I1W7G6HDA9J8L3

That is a nice product. pricy but nice

Offline Pietor

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-3
Re: Internet Modem Auto Reboot if network loss
« Reply #4 on: November 25, 2015, 09:40:36 am »
Can't you just setup a scheduled scene (e.g. daily or hourly) that switches a wall plug (e.g. Fibaro wall plug) off and then with a delay of 5 seconds puts the power back on again?

Offline Pietor

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-3
Re: Internet Modem Auto Reboot if network loss
« Reply #5 on: November 25, 2015, 09:45:54 am »
Or if you really need to ping, use this plugin / device in the scene:
http://wiki.micasaverde.com/index.php/Ping_Sensor_Plugin

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2372
  • Karma: +110/-137
Re: Internet Modem Auto Reboot if network loss
« Reply #6 on: November 25, 2015, 09:55:13 am »
If you have a DD-WRT WifI router, check the Presence script thread. It also has the ability to ping. I have it set to ping my ISP's DNS server as well as a my DNS provider's NS1 every 10 minutes. It sets 2 buttons on a multi switch. If one goes off (ping failed), a scene is called that checks the other button status and if that is OFF as well, it switched off a GE plug in switch for about a minute and then back on again. Which my cable router is hooked up to. And 10 mins later I push another switch On command just in case the first one failed. Has been working pretty well for me for over a year.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline karenbobiv

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
Re: Internet Modem Auto Reboot if network loss
« Reply #7 on: December 19, 2015, 12:03:49 pm »
I've got a full up automation system in my rental property and I've gone with this option to test internet connection and device response on my internal network:

http://www.amazon.com/Power-Switch-DLI-Built--Easy-/dp/B00EZWD146/ref=sr_1_1?ie=UTF8&qid=1450544286&sr=8-1&keywords=web+power+switch+7

There is also a plugin that connects to this device so you can access from Vera.  Very nice.  This hardware also allows for simple programming and has auto ping feature.  For instance, I have a second Vera box and if my first one stops responding (has happened once) then this device switches that Vera box off and switches the backup Vera on, which then sends me a notification that the it's active (so I know something has occurred)  I also use to test internet connection (ping 8.8.8.8) and if I don't get a response over a certain period of time I cycle the power on the DSL Modem box.

Offline curiousB

  • Full Member
  • ***
  • Posts: 226
  • Karma: +6/-6
Re: Internet Modem Auto Reboot if network loss
« Reply #8 on: January 29, 2016, 09:27:06 pm »
Back when I had an unstable wifi router I put a $5 timer on it. I had it power off the router everyday at 3AM for 5 minutes. Not as sophisticated as other schemes but simple as can be and you're never more than 1 day from recovery.
VeraLite (1), Leviton VRI10-1LX (8 ), VP00R-1LZ (5), VRS15-1LX (1), Intermatic CA3500 (10), CA5100 (1), Aeon Labs DSC26103 (5), Foscam FI8918W (2) , FI9821W V2 (1), DLINK DCS-932L (2), DCS-930L (1), GE45604 (2), GE45603 (5), Honeywell RTH8580WF (2), HA-09WD (1), Kwikset 910TRL ZW (1), Aeon MMote (2)

Offline hsmaier

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-0
Re: Internet Modem Auto Reboot if network loss
« Reply #9 on: April 24, 2016, 02:34:35 pm »
I am using this and it works well

http://www.amazon.com/dp/B015NM0LKI/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=24BXPFY0LQXTJ&coliid=I1W7G6HDA9J8L3

I can remote into it as well as set a reboot schedule

Howard
Vera 2 U14, Vera 2 U15, Two Trane TZEMT400AB32 Thermostats. Insteon Light Switches, Insteon Outlets, Power Linc Modem.

Offline Lonestar10

  • Full Member
  • ***
  • Posts: 214
  • Karma: +4/-1
Re: Internet Modem Auto Reboot if network loss
« Reply #10 on: April 28, 2016, 11:23:14 am »
Quote
I am using this and it works well

http://www.amazon.com/dp/B015NM0LKI/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=24BXPFY0LQXTJ&coliid=I1W7G6HDA9J8L3

I can remote into it as well as set a reboot schedule

Does the switch require a static IP address?  I had a similar one that did and I never got it to work outside the home network.  I just wondering what you did to make it work.

IU5 Vera 3 - VeraLite - Trane Thermostats x3 - Kwikset - Schlage - Nest - GE & Leviton Switches

Offline hsmaier

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +0/-0
Re: Internet Modem Auto Reboot if network loss
« Reply #11 on: May 02, 2016, 11:16:51 am »
Vera 2 U14, Vera 2 U15, Two Trane TZEMT400AB32 Thermostats. Insteon Light Switches, Insteon Outlets, Power Linc Modem.

Offline Sig

  • Beta Testers
  • Sr. Member
  • *****
  • Posts: 365
  • Karma: +2/-2
Re: Internet Modem Auto Reboot if network loss
« Reply #12 on: December 08, 2016, 02:47:18 pm »
I've been wanting something like this for years to deal with the Internet connection & Vera in my vacation home, and never knew such a product existed (maybe I should've executed a better search).  Going to order one straight away.  Thank you.