Does anyone have a simple solution to monitor if connection to the internet is available?
why?
I connect through a mobile network router, and the connection is a little unstable… a couple of times a day the connection will drop out and wont reconnect automatically… if I’m home, turning the router on and off solves the issue, but if I’m not, I lose access to surveillance cams, my computers, vera etc…
So what I need is a simple test to see if a random site on the internet is available, or if vera can connect to micasaverde, or something to test if an active connection is available, and then output a simple yes or no state.
Once I have that, I can run a screen to turn my router off then back on, and get my internet back online automatically.
Thanks in advance for any suggestions 
search the forum, thee is plenty out there to look at.
You can start with Ping Sensor plug in…
Thanks,
I searched the forum for ‘internet’ to no avail… didn’t think to search for ‘ping’… duh… thanks for putting me back on track 
once you get that set up, you can use Lua to fire the restart instructions to your router if ping sensor doesn’t detect an outside IP.
…or even a power cycle, if you are so inclined.
Thanks…
I set it to ping 8.8.8.8 allowing 28mins worth of failures before tripping.
I set a scene to trigger when the ping sensor is armed and tripped.
The scene turns off my router, then turns it back on after 10 seconds… what I noticed is that the ping sensor doesn’t re-trigger though if the internet remains down, so after 3mins I have the scene bypass, then re-arm the ping sensor…
This seemed to work well, only now I’ve noticed the scene missing actions, ie it will turn off the router, but wont turn it back on sometimes, its like the scene skipped over it.
As a backup, I set the scene to also turn the router back on at 30sec, 1min and 2min just in case (expecting the router should already be on when the backups fire), that cut down the issue until today I noticed I had no internet until I went and turned the switch back on manually, so the scene must be freezing up for some reason.
I’m very much learning the basics of Vera, can someone point me in the right direction to find out what’s causing the intermittent automation failures?
It could be possible that the router restart command didn’t get sent because of a vera restart. Do you know when it happened, or has it happened at times when you know it cannot be a restart?
Its done it a few times on me while Vera is just doing its thing, not because of a restart… the obvious short term fix is just to run another scene to switch it on every 10mins or so as another backup, but there’s clearly something else happening I need to address so I don’t have similar issues later on
print out a log next time it happens. I’m sure someone here can figure it out.