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.

Script from specific part of a 6-byte?
#2
Add dalitest tag to all DALI test result group addresses. Create an event script, attach it to dalitest tag. Change 1/1/1 to your error status group address. Make sure that error status address is not tagged.

Code:
objects = grp.tag('dalitest')

err = false

for _, object in ipairs(objects) do
  ltrf = object.value.ltrf
  if ltrf == 3 or ltrf == 4 then
    err = true
    break
  end
end

grp.checkupdate('1/1/1', err)
Reply


Messages In This Thread
RE: Script from specific part of a 6-byte? - by admin - 11.02.2026, 11:36

Forum Jump: