19.12.2018, 22:29
Hi.
You can use this script to send three values.
Copy and paste in an event based script.
You can use this script to send three values.
Copy and paste in an event based script.
Code:
value = event.getvalue()
if (value == true) then -- true or false
grp.write('1/1/1', true) -- change group adress and value
grp.write('1/1/2', 50)
grp.write('1/1/3', 100)
grp.write('1/1/4', 255)
else
grp.write('1/1/1', false)
grp.write('1/1/2', 0)
grp.write('1/1/3', 0)
grp.write('1/1/4', 0)
end