To make a kind of sheduler I want to compare the %systime% to a time stored in a dummy variable or mqtt helper.
Dummy#var1 = 11 ( 11 o-clock)
Dummy#var2 = 30 ( 30 minuts)
This is simple to write over mqtt from a controller.
rule line should be :
if %systime% > 11:30 ....
Can i transform 11:30 in seconds with : let,1, [Dummy#var1]*3600+[Dummy#var2]*60
and make rule
i f %systime% > [var#1]
Thanks in advance for your advices
1 post • Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 15 guests