Hi, using a raspberry pi and a unipi1.1 which I've had for ages in a box and I thought I'd do something useful with it.
Cobbled some functions together, added ping and LED nodes and I now have a dashboard that shows the status of a few hosts (ISP gateway, my router, plex server etc) and triggers a relay if one of the hosts goes down. Once the host is back up the relay turns off - so far OK but the plan is to connect one of the relays in series with my router power to reboot it when the Internet goes down.
I can get the relay to pulse for 5 seconds which would reboot the router but what I need is for it to ignore the ping status for 5 mins as the router reboots, and then once pings start again, start monitoring.
Any ideas?
Thanks in advance,
Paul.