When my ESP32 restarts, it sends me a correct "nofity 1" email to inform me that it has restarted.
But it also sends me the "notify 2" email. I think the ESP hasn't yet read the GPIOs on reboot.
If I check the devices with web access, my entry Switch - Switch DOOR ❷ GPIO-19 State: is set to 1.
Should I set a timer or delay to solve this problem?
Top of my Rules:
Many thanks in advance for your helpon System#Boot do
LCD,4,1,%ip% // Show IP
notify 1 //Send Email System Boot
endon
//will run once a day at noon
On Clock#Time=All,23:00 do
reboot
endon
on Door#State=0 do // Door is open
TimerSet,1,0 // Stop Loops
event,Progress
LCD,1,1,""
LCD,2,1,"Das Tor ist offen "
notify 2 // Email Door is open!
endon
// etc...
Otto