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.

Control 2 lights trough Script
#1
Hi all,

I have a staircase divided into two different sections: '1/0/47' and '1/0/48' but I need to control its lights together (on/off and dimming). How can I do this through scripting?

Thanks.
Reply
#2
Create a new group address and map an event script to it:
Code:
value = event.getvalue()
grp.write('1/0/47', value)
grp.write('1/0/48', value)
Reply
#3
(22.03.2023, 12:43)admin Wrote: Create a new group address and map an event script to it:
Code:
value = event.getvalue()
grp.write('1/0/47', value)
grp.write('1/0/48', value)

Thanks a lot
Reply


Forum Jump: