[RELEASE] Web Pinger


#1

Introducing 'Web Pinger'
Monitor a website and trigger automations if not found or if your internet goes down.

Thanks to Jason Botello for the original 2016 (ST) 'SmartPing' code that I based this app off of.

Features:

  • Turns on a Switch(es) when website is not found or internet is down
  • Option to send Pushover when website is not found
  • Set time between polls from 5 to 59 minutes
  • Adjustable Safety Net to avoid false alarms
  • Ability to pause any child app
  • Ability to Enable/Disable child app via a switch
  • Parent/Child App structure
  • Create as many child apps as needed
  • Features an all new look using COLORS, not just shades of grey!

App can be found on my Github:

Version:
V1.0.1 - 01/10/19 - Tons of cosmetic changes. Added in Push option, time between polls. Changed it up to turn the switch off if website/internet becomes active again. Added in all the normal stuff - pause, enable/disable and debug logging.


PC light
Help with Rule for resetting power
#2

This is really nice. Exactly what I was looking for. I have a webcam that is connected via a PowerLine adapter and once in a while that adapter will go to sleep and I will be unable to access the camera. Disabling sleep mode on the adapter has not worked.

I do have one question though. The ping interval is set from 5 - 59 minutes. I assume I can just change this to suit my needs (2 min) ? Will it have any negative impact to the hub to do this ?


#3

Thanks, glad you found a use for the app.

I've never pinged anything that quickly so I wouldn't know if it'll slow down the hub or not. All I can suggest is that you give it a try and see what happens!

Feel free to go into the code and change, modify, enhance or anything else you would like to do. It's your system, have fun with it. Let us know how it goes. :grin:


#4

Thanks, I will try it when I am on location to see if things have an affect. Would be nice to see the CPU/MEM usage of the hub while running a task to identity potential issues.


#5

Hello.
I just wanted to thank you for this app.
I intend on using it to check if my thermostat (ecobee) is up or down.
Question: Is it possible to put in the ability to trigger a SMS text message instead of a Pushover?
(In case Internet is down).
Thanks in advance.


#6

If your internet is down then HE won’t be able to send a SMS.


#7

Actually not if the internet is down, but rather if the link between my ecobee and ecobee.com is down.


#8

This is just a very simple app to turn a device on/off. You can base any automations/messaging off of that device. So you could use RM to send the sms when the device turns off.

Also remember that sms has a limit of 10 messages a day, where as Pushover is unlimited.

thanks


#9

You might want to check out this driver too...

I haven't used it but looks like it might fit what your trying to do.


#10

How would I install this app ?


#11

Go to the link in 1st post. Instructions can also be found there.

Thanks


#12

So, have you thought about a websocket ping/pong? Also, this would actually be a great addition to Device Watchdog imho. I'm not sure if HE supports a network type in the Device object (I haven't looked), but it would be a neat report to have where it icmp pings or ws ping/pongs devices along with the other checks. :wink:


#13

I figured out how to install third party app reading some other threads.

I installed the parent app.

I installed the child app.

I set up a child ping rule to a local device with a push notification after 5 min.

I turned the local device off.

Never got the notification that the pings stopped.


#14

What kind of device are you pinging?


#15

Its an iPhone with an IP that is statically set in the my router.

I was also running a ping test from my computer which did stop when the iPhone was powered off.


#16

Hmmmm, can you post your logs of the app and also a screen cap of the notification rule?


#17

Try this... [RELEASE] iPhone WiFi Presence Sensor


#18

That looks cool and I will definitely check it out. The iPhone was just the first test I setup. I am wanting to ping other things in my network and get notifications when they stop responding. It would also be cool to have a tile that would change color on the dashboard. Also shorter internvals for ping would be cool.


#19

Hi. Thanks for this app.

I'm assuming that where it says Pushover notification it's no longer limited to this form of notification. It lists my mobile (which runs the Hubitat app) and where I don't use the Pushover service at all.

Can you please confirm? And if so maybe you might want to change the wording.

Cheers.


#20

That's right, any place that says pushover should also be able to send to the new HE notifications.

Try it! Half the fun of home automation is trying new stuff.

As I update apps I change the wording, not going to every app and updating just for that. :sunglasses: