This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

different value throughout the day
#22
(09.07.2023, 08:46)Erwin van der Zwart Wrote: elseif now.hour >= 22 and now.hour < 7 then…

This is impossible, a value can never be greater as 22 AND at the same time lower as 7 (:

Use: elseif now.hour >= 22 or now.hour < 7 then


Thanks for the info. The thing is that i want to send a 0 between 22:00 and 7:00 or even 7:30 , and between 7:30  and 22:00 a 1.


That's why i tried first in shedulers @ main object Day/Night and there 2 events for day 7:30 ON and other 22:00 OFF. But this doesn't seems to work for some reason.

Reply


Messages In This Thread
RE: different value throughout the day - by nikola2704 - 10.07.2023, 13:06

Forum Jump: