24.11.2020, 10:46
Hi, I had configured this resident script (0 sec) that worked until the LM 20200720 update. Should I change something?
Code:
require('user.dali')
for address = 0, 64 do
res = dalicmd('internal', 'queryactual', { addrtype = 'short', address = address })
if res then
value = res:byte()
value = math.floor(value / 2.54 + 0.5)
grp.checkupdate('40/0/' .. address, value)
end
os.sleep(1)
end