Posts: 7
Threads: 2
Joined: Feb 2023
Reputation:
0
hello guys can you help me with a script i want to make
i want when light 1 = 1 that turn on from pussbutton
then light 2 = 0 that turnon from presence detector
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Create event script which will be triggered by light1 and paste this script
Code:
value = event.getvalue()
if value == true then
grp.write('1/1/2', false)
end
Change the 1/1/2 to your light 2 group.
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Some screenshots of what you did might help
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
so what happens what you write 1 to 1/1/182?
------------------------------
Ctrl+F5