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.

Event Script BUS reset
#2
I'm not sure if I understand you correctly. If you want to check if object value is still the same after a short delay then you can use this script:
Code:
value = event.getvalue()

-- alarm triggered
if value == true then
  os.sleep(5)
  value = grp.getvalue(event.dst)

  -- alarm still triggered
  if value == true then
    -- do something here
  end
end
Reply


Messages In This Thread
Event Script BUS reset - by Frank68 - 15.10.2020, 08:46
RE: Event Script BUS reset - by admin - 15.10.2020, 14:08

Forum Jump: