AustinA2 wrote: ↑Wed Mar 13, 2019 5:48 pm
@jbudd:
Is this something run through the pi?
my problem is this; I am new to both Pis and Python. I know this is possible because i have seen pieces of what i want to do in various instances but i am having trouble putting it together how i want to..
I want to tie 1 ip address to 1 pin and have a code that says hey this ping failed, send a HIGH or LOW. I understand that there is varying logic here, but i think it makes more sense for the pin to be "on" when it is working. that way when it is "off" we know either the ping failed or the devices has lost power.
I can save you time by answering for @jbudd: Yes, it is.
In respect of your own ideas:
i am having trouble putting it together how i want to..
I want to tie 1 ip address to 1 pin and have a code that says hey this ping failed, send a HIGH or LOW.
Perhaps put together your best effort and ask for help if/when you get stuck.
Be aware there is a design limitation of a maximum of 26 devices that can be monitored, since that is (at least for a trivial RPi-only solution) the total number of gpio pins you can control.