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.

scripitng
#1
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
Reply
#2
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
Reply
#3
it doesnt work
Reply
#4
Some screenshots of what you did might help
------------------------------
Ctrl+F5
Reply
#5
       

i just want to stop the precense detector sending value
Reply
#6
so what happens what you write 1 to 1/1/182?
------------------------------
Ctrl+F5
Reply


Forum Jump: