I am relatively new to ESPs and ESPEASY, but have already 3 ESP8266 incl. some small OLEDs and BMx280 running, which forward their information to Domoticz. This works quite well, with exceptions for one wrt WiFi connection issues since last update. Anyway this is not my topic, I'm recently trying to calculate the daylight hours either via rule or dummy, but can't find a working solution. My rule looks like this:
Code: Select all
On System#Boot do
timerSet,1,40
endon
on Rules#Timer=1 do
TaskValueSet 4,1,(%sunset%-%sunrise%)
endon
Thanks in advance
marstu