-
Hello! Is it possible to implement an Internet connection check? I want to reboot the router. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Indeed, you have choice of using WebQuery or Ping to find out if a server outside is out of reach, if so POWER OFF the relay (having Pulsetime and PowerOnState 5 will help to have the power switched back automatically after X seconds) Exemple with ping
The rule has been splitted on multiple lines for readability but of course it should be entered as a single one Pinging 3 different servers (Google DNS, Cloudflare DNS and OpenDNS). If at least one respond, the power off will not be triggered If you router takes more than 3 minutes to get back on line, you'd should increase the periodicity of testing Edited to fix the typo reported by @sfromis 👍 |
Beta Was this translation helpful? Give feedback.
-
Thanks! Ready-made firmware will not go? Do I need to download the source code and build the firmware? |
Beta Was this translation helpful? Give feedback.
Indeed, you have choice of using WebQuery or Ping to find out if a server outside is out of reach, if so POWER OFF the relay (having Pulsetime and PowerOnState 5 will help to have the power switched back automatically after X seconds)
Exemple with ping
The rule has been splitted on multiple lines for readability but o…