Ping plugin

Posted on
Tue Jul 18, 2017 3:10 pm
smurfless1 offline
User avatar
Posts: 38
Joined: Sep 23, 2015
Location: Round Rock, TX

Ping plugin

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)
Last edited by smurfless1 on Tue Jul 18, 2017 7:11 pm, edited 1 time in total.

Posted on
Tue Jul 18, 2017 4:07 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Ping plugin

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jul 18, 2017 5:20 pm
smurfless1 offline
User avatar
Posts: 38
Joined: Sep 23, 2015
Location: Round Rock, TX

Re: Ping plugin

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.

Posted on
Tue Jul 18, 2017 5:41 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Ping plugin

Gotcha - cool. Following the patterns there will be more future proof... :wink:

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Jul 30, 2017 7:56 pm
smurfless1 offline
User avatar
Posts: 38
Joined: Sep 23, 2015
Location: Round Rock, TX

Re: Ping plugin

Version 0.5.1:
* Oops, not version 1.0.
* Configurable ping time in seconds

Posted on
Mon Aug 14, 2017 5:12 pm
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Re: Ping plugin

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!

Posted on
Tue Sep 05, 2017 12:32 pm
smurfless1 offline
User avatar
Posts: 38
Joined: Sep 23, 2015
Location: Round Rock, TX

Re: Ping plugin

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.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests