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.

Make higher group adress
#2
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.

Code:
outName, found = string.gsub(grp.alias(event.dst), 'dim', 'value')
value=100
if  found == 1 then
  grp.write(outName, value)
end
 
You tag only the input groups.
------------------------------
Ctrl+F5
Reply


Messages In This Thread
Make higher group adress - by PassivPluss - 10.10.2019, 14:02
RE: Make higher group adress - by Daniel - 10.10.2019, 15:32
RE: Make higher group adress - by PassivPluss - 10.10.2019, 17:43
RE: Make higher group adress - by admin - 11.10.2019, 07:00

Forum Jump: