This watchdog will power cycle the relay after the prescribed number of ping failure occurs. Additionally, the package is setting up metering sensors for testing and monitoring purposes.
Notes:
-
This project relies on trombik/esphome-component-ping. The
./components/ping/.directory and files must be manually installed/copied into the `./esphome/config/.' directory, or equivalent, that will be compiling the firmware. It is straightforward, just follow the installation instructions on the Github README. -
Substitutions in the main
homeassistant-watchdog-ping.yamlhave been provided allowing "End Users" to customize thetarget_ip_address,ping_loss_threshold,off_delayand possibly theping_hold_offto fit their specific needs.