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.

schedule for multiple GA
#1
hello 
I want to use a schedule to turn off some offices lights, but offices might vary so I used script like this :

Is there any recommendation, while the table list will be more (around 50 items)
Code:
value = event.getvalue()

mytable = {67,37,36,16}

for _, mytab in ipairs(mytable) do

  grp.write('1/0/'..mytab,value)


end

regards,
Best Regards,
Reply


Messages In This Thread
schedule for multiple GA - by khalil - 21.12.2021, 08:40
RE: schedule for multiple GA - by admin - 21.12.2021, 08:44
RE: schedule for multiple GA - by khalil - 21.12.2021, 08:53

Forum Jump: