Jump to content
C4 Forums | Control4

Using Chowmain's "Ping" Driver - Help!


Jayaredoubleu

Recommended Posts

Does anyone here use Chowmain's "Ping" Driver? 

Conceptually this is exactly what I want - an ability to identify if I lose internet connection - and cause an action (E.g. power recycle on modem).

The questions I have with this driver:

  1. Using the device actions, where do I put the ping action script "Ping 8.8.8.8"?   
  2. For the Device Events (left column on programming) - there are 3 options for Ping: "Device intermittent", "Device Offline", "Device OK".     Where do I configure what the device is to use these events? 

Any help would be greatly appreciated!

Thanks

 

Link to comment
Share on other sites


I use this to check if SKY (UK) box is asleep when it is selected as a source. if device is offline then power on

I have one ping driver for each sky box and created a macro for each that is triggered when sky 1 or 2 is selected.

 

in device actions , command tab, device specific command, then put IP address in box and drag across

Link to comment
Share on other sites

24 minutes ago, tonysss13 said:

I use this to check if SKY (UK) box is asleep when it is selected as a source. if device is offline then power on

I have one ping driver for each sky box and created a macro for each that is triggered when sky 1 or 2 is selected.

 

in device actions , command tab, device specific command, then put IP address in box and drag across

Thanks for responding Tonysss13,

 

For your use case - that makes perfect sense and I would know how to program that.   However, my problem is I don't know where to drag the command?    In my case, I want to have the command "Ping 8.8.8.8" running all the time to determine if I have active internet connection, and if I don't, I want to use the device event "Device offline" in order to automatically trigger an announcement and power cycle. 

But two things:

1) I can't figure out where to place a command that runs continuously? I don't want to ping one time (like your case) - I wan to ping all the time. (Unless someone has a better idea)

2) If I have multiple ping commands loaded in my program.   How would the Device Events (e.g. Device offline) - know which ping I am referring to? 

 

 

Link to comment
Share on other sites

I could see that making sense - I just wonder if that is the way this was designed to work.   Seems like it would add to CPU usage necessarily.    But, if it is the only way to do it - then that is what I will do!

How does that answer the second question?    If I have multiple ping's running.    How do the Device Events know which "device" I am referring to? 

For example:    Ping Event "Device Offline" - How does it know what device? 

 

 

Link to comment
Share on other sites

I couldnt say for certain if that's how it's designed to work, I am presuming the ping command only sends a short burst of pings rather than continious but am guessing

like I said previously I have one driver per device , so if that driver comes back offline you know which device it is and can create a device action according to that

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.