Rotating IP list for Ping #23531
-
I have a Tasmota as Internet watchdog. iI will Ping a single IP address at certain intervals and power off the connected device (4G Stick) for a moment if the last Ping was unsuccessful. Current rule: Is it possible to create a similar Rule, with the exception that it would Ping IP from rotating list, instead of always same IP? I would like to perform the check much more frequently, without loading one server too much. There is no need to save the last selection to flash in case of a power outage. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
No, it is not possible to manage rotating lists in rules, but you can set multiple rules. Why would you need a rotating list? Also, ping generates negligible load on servers, there is no way you can overload a server from a Tasmota device. |
Beta Was this translation helpful? Give feedback.
-
This is the solution I use. Writes to influxdb so i can create a little status visual in grafana. Probably could be cleaned up (by assigning the IPs and names to vars or mem to save space)
|
Beta Was this translation helpful? Give feedback.
-
This rule seems to work well:
I hope it's useful also to someone else. |
Beta Was this translation helpful? Give feedback.
This is the solution I use. Writes to influxdb so i can create a little status visual in grafana. Probably could be cleaned up (by assigning the IPs and names to vars or mem to save space)