Page 1 of 1

Ping plugin

PostPosted: Tue Jul 18, 2017 3:10 pm
by smurfless1
Born of need: when my router goes down, RESET THE ROUTER DUMMY

Plug your whatever into a controlled power source.
Create a new Ping Sensor, give it an ip address.
Create a new trigger to do something when that IP is not available from your Indigo host.

https://github.com/smurfless1/indigo-ping
(yes, updated after posts below)

Re: Ping plugin

PostPosted: Tue Jul 18, 2017 4:07 pm
by jay (support)
Cool, thanks for the contribution!

[EDIT] You might want to reconsider how you have your plugins on Github - I suspect it's going to be quite confusing to users that they have to download the entire repo with all the plugins. Plus, there is no README to help them understand how to get the plugins (since there are no releases). Must other plugin repos have one repo per plugin (so you only need to get what you need). Take a look at some of the repos in our Github account for examples of how they are constructed.

Re: Ping plugin

PostPosted: Tue Jul 18, 2017 5:20 pm
by smurfless1
still recovering from a lightning strike on Saturday - I do plan on fixing things. one of the things I needed was a URL for the Info.plist, which was part of my motivation of just getting started.

Re: Ping plugin

PostPosted: Tue Jul 18, 2017 5:41 pm
by jay (support)
Gotcha - cool. Following the patterns there will be more future proof... :wink:

Re: Ping plugin

PostPosted: Sun Jul 30, 2017 7:56 pm
by smurfless1
Version 0.5.1:
* Oops, not version 1.0.
* Configurable ping time in seconds

Re: Ping plugin

PostPosted: Mon Aug 14, 2017 5:12 pm
by Seeker
thanks for this. just installed it this morning to monitor my IP cameras that I've been having some issues with. very useful and seems to work great!

Re: Ping plugin

PostPosted: Tue Sep 05, 2017 12:32 pm
by smurfless1
Glad it's helping! It's primitive, but I like small moving parts.

I use it to detect when I can't reach devices on my local network (looking at YOU coax bridge), and issue wall-socket reset action groups. I also discovered I can use a Grafana module to show me a crude graph of where my network is broken so I know which part has been hit by lightning -this- time.

In my slow, "Oh look" way, I've discovered some other plugins that do more and more thorough jobs of detecting things being online or not, but the fact is I just don't think that way. I use this to do a simple point-to-point "can I reach it" status check; and it's enough for me.