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.

Multiple GA send on 3 times
#3
I'm working with Simon on the project.
We've come to the solution that we want to make a script for each switch to make a script to check, whether the feedback is updated or not.

Something like this:
Code:
value = event.getvalue()


if value == false then
  revalue = true
elseif value == true then
  revalue = false
end

os.sleep(0.5)

FB = grp.getvalue('1/0/1')

if FB ~= value then
  grp.write('1/0/0', revalue)
  os.sleep(0.5)
  grp.write('1/0/0', value)
end

We do have 750 switch objects that we need to apply this script to. Is there a relative easy workaround with this?

And sorry for my straight forward scripting... Still learning Smile

Thanks!
Reply


Messages In This Thread
Multiple GA send on 3 times - by BMSimon - 13.01.2025, 13:08
RE: Multiple GA send on 3 times - by Daniel - 13.01.2025, 15:19
RE: Multiple GA send on 3 times - by PolymorphedCust - 17.01.2025, 12:10
RE: Multiple GA send on 3 times - by Daniel - 17.01.2025, 12:18
RE: Multiple GA send on 3 times - by Daniel - 17.01.2025, 12:52
RE: Multiple GA send on 3 times - by Daniel - 17.01.2025, 13:00
RE: Multiple GA send on 3 times - by Daniel - 17.01.2025, 13:47

Forum Jump: