10.10.2019, 15:32
Hi
It is good practice to do it based on group naming. Let say your dim group will be called Room101-dim and your output group will be Room101-value then you can make such script.
You tag only the input groups.
It is good practice to do it based on group naming. Let say your dim group will be called Room101-dim and your output group will be Room101-value then you can make such script.
Code:
outName, found = string.gsub(grp.alias(event.dst), 'dim', 'value')
value=100
if found == 1 then
grp.write(outName, value)
end
------------------------------
Ctrl+F5
Ctrl+F5