Jayaredoubleu Posted November 15, 2019 Share Posted November 15, 2019 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: Using the device actions, where do I put the ping action script "Ping 8.8.8.8"? 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 Quote Link to comment Share on other sites More sharing options...
tonysss13 Posted November 15, 2019 Share Posted November 15, 2019 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 Quote Link to comment Share on other sites More sharing options...
Jayaredoubleu Posted November 15, 2019 Author Share Posted November 15, 2019 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? Quote Link to comment Share on other sites More sharing options...
tonysss13 Posted November 15, 2019 Share Posted November 15, 2019 how about a looping timer of say 10 seconds running continiously , with a ping everytime it resets? have one ping driver for each device if device offline / powercycle device Quote Link to comment Share on other sites More sharing options...
Jayaredoubleu Posted November 15, 2019 Author Share Posted November 15, 2019 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? Quote Link to comment Share on other sites More sharing options...
tonysss13 Posted November 15, 2019 Share Posted November 15, 2019 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.