If I set a timer with timerset, is there a way to display where it's at on an oled/LCD display?
I want to replace my sauna control circuit with an ESP module with DHT22 module and OLED display (displaying tem, humid and remaining time before the sauna shuts down). Domoticz does not provide a countdown timer so trying to see if I can do it this way.
Cheers,
H
timerset remaining time
Moderators: grovkillen, Stuntteam, TD-er
Re: timerset remaining time
I use these rules in conjunction with a dummy device (state#sleep) as sleep-timer for a lamp:
Code: Select all
on sleeptimer do
TaskValueSet 2,2,(%eventvalue%+[state#sleep])
event,switchon
TimerSet 2,60
endon
on Rules#Timer=2 do
TaskValueSet 2,2,([state#sleep]-1)
if [state#sleep]>0
TimerSet 2,60
else
event,switchoff
endif
endon
Who is online
Users browsing this forum: Ahrefs [Bot] and 29 guests