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
#19
Hi all, I see this is an older tread, but i will give it a shot.

I would like to put my light at some places from the motion sensor at day full light and night dimmed. At the motion sensor ( Basalte aura ) i can chose there control day = 1 and night is 0

I tried the script and schedulers as mentioned above, but non of them will change my status. I'm a bit new in to KNX and scripting.

now = os.date('*t')
if now.hour >= 7 and now.hour < 22 then
grp.write('10/0/3', true)
elseif now.hour >= 22 and now.hour < 7 then
grp.write('10/0/3', false)
end
Reply


Messages In This Thread
RE: different value throughout the day - by nikola2704 - 08.07.2023, 21:50

Forum Jump: