ESPEasy Rules
Neu starten bei WLAN-Verlust
on System#Boot do Let,1,0 // set user variable to initial state of 0 EndOn on Wifi#Disconnected do // if no wifi, wait 3 minutes if [VAR#1]=0 timerSet,1,180 Let,1,1 // set user variable 1 to 1 to prevent re-set of var1 on each event. endif endon on Wifi#Connected do // if wifi returns, cancel reboot timerSet,1,0 // cancel timer Let,1,0 // set user variable 1 to 0 endon On Rules#Timer=1 do // if still no Wifi, reboot reboot endon
Neu starten, wenn
On system#uptime do if [system#uptime]>40000 WifiDisconnect Reboot endif endon On system#rssi do if [system#uptime]>3 if [system#rssi]<-80 WifiDisconnect WifiConnect endif endif endon On system#freeheap do if [system#freeheap]<10000 WifiDisconnect Reboot endif endon On Clock#Time=All,2:30 do // taeglich um 02:31:01 Wifi neu starten timerSet,3,61 Endon on Rules#Timer=3 do WifiDisconnect WifiConnect endon