ESPHome Watchdog

This implements a watchdog script with complementing the scripts `on_setup` and `refresh_wifi_icon` to be checking the components every minute and taking proper actions (when possible).
Solves #1464
This commit is contained in:
Edward Firmo
2023-12-27 13:57:16 +01:00
parent 29fface258
commit 4ad5457b0f
13 changed files with 302 additions and 370 deletions

View File

@@ -1,5 +1,7 @@
Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0
int display_mode=4 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
dim=100//Configure backlight
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port