This watchdog relies on the native API connection reboot_timeout
, to do the work. On Boot the ESP the .api-watchdog.yaml
toggles off the switch’s relay supplying power to the Home Assistant for the specified time, ensuring the relay will properly power cycle the device. Additionally, the package is setting up metering sensors for testing and monitoring purposes.
Notes:
- This project has multiple files arranged as packages for modular setup of hardware, network and features.
homeassistant-watchdog.yaml
- Top level file, that combines the below..api-watchdog.yaml
- Abstracting particulars for the watchdog..network.yaml
- Abstracting network setup..sonoff-s31.yaml
- Abstracting hardware setup.