%sunrise% and %sunset% rules do not work any more.
I am using ESP_Easy_mega_20220427_normal_ESP32_4M316k with NTP as time source.
Local Time: 2022-05-16 06:43:46
Time Source: NTP
Time Wander: -0.026 [msec/sec]
Latitude and Longitude are accordingly set.
Variables are set:
%sunset% 20:45 20%3a45
%sunrise% 5:39 5%3a39
Cache rules and rule cache event order are ticked.
I have three on clock#time rules configured. the Clock#Time=All,**:** works. the sunset and sunrise are not triggered at all.
the rules did work in the past, I think they stopped working after update.
Code: Select all
on Clock#Time=All,%sunset% do
Let,2,100
asyncevent,Closeall
notify 1,"sunset!"
endon
on Clock#Time=All,%sunrise% do
Let,2,0
TaskValueSet,5,2,0
notify 1,"sunrise!"
//asyncevent,Openall
endon
on Clock#Time=All,**:** do
SendToHTTP,192.168.0.250,80,/apcucollector.php?smartswitch=%sysname%&ipv4=%ip%&uptime=%uptime%&load=%sysload%&freeram=%sysheap%&rssi=%rssi%&sunrise=%sunrise%&sunset=%sunset%&SZ=[SZ#M];[SZ#S];&Z1=[Z1#M];[Z1#S];[Z1#SL];[Z1#SR];&Z2=[Z2#M];[Z2#S];[Z2#SL];[Z2#SR];&Z3=[Z3#M];[Z3#S];[Z3#SL];[Z3#SR];
endon
thanks.