11.05.2019, 18:46
(This post was last modified: 11.05.2019, 18:57 by Rauschentofft.)
Hi.
Here is a simple script for your function.
value = grp.getvalue('1/1/1') -- upp/down adress
if value >= 0 or value <= 1 then
grp.write('1/1/2', 1) -- lock automatics
end
sorry, delete the group adress in the first line.
value = grp.getvalue()
then put the script inĀ up/down object.
Here is a simple script for your function.
value = grp.getvalue('1/1/1') -- upp/down adress
if value >= 0 or value <= 1 then
grp.write('1/1/2', 1) -- lock automatics
end
sorry, delete the group adress in the first line.
value = grp.getvalue()
then put the script inĀ up/down object.