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.

Meeting room with separation wall
#2
You should prepare this in such way:

- event-based script for every pushbutton with such script:
Code:
value = event.getvalue()
magnet = grp.getvalue('Magnet sensor') -- when magnet disconnected room is divided

if magnet then
grp.write('Light 1 on/off', value)
else
grp.write('Light 1a on/off', value)
end
Reply


Messages In This Thread
RE: Meeting room with separation wall - by buuuudzik - 07.03.2017, 08:38

Forum Jump: