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.yaml
have been provided allowing "End Users" to customize thetarget_ip_address
,ping_loss_threshold
,off_delay
and possibly theping_hold_off
to fit their specific needs.