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
#9
Tag all your switch (T/S) objects but not the status FB and create event script triggered by your tag.
Execution mode - Fist instance only
Code:
if event.sender ~= "se" then

value = event.getvalue()
status, found = string.gsub(grp.alias(event.dst), 'T/S', 'FB')


if grp.find(status) then
   
    if value ~= grp.getvalue(status) then
 
          os.sleep(0.5)
 
            grp.write(event.dst, not value) 
 
          os.sleep(0.5)
 
            grp.write(event.dst, value)
     
    end 
 
else
 
alert('Group address '..status ..' does not exist' )   
 
end 
 
end 
 
------------------------------
Ctrl+F5
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 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: