03.06.2020, 03:32
(This post was last modified: 03.06.2020, 03:35 by phongvucba.)
I try! but...
Everyone let me ask! Why is my value not returning as current value? 11/1/3 other than 11/1/103 (status). 11/1/4 other than 11/1/104 (status). 30% and 51%, but it's 4% and 4%. Please help me!
-------------
require('user.dali')
res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 0 })
if res then
grp.checkupdate('11/1/103', res:byte())
end
res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 1 })
if res then
grp.checkupdate('11/1/104', res:byte())
end
Everyone let me ask! Why is my value not returning as current value? 11/1/3 other than 11/1/103 (status). 11/1/4 other than 11/1/104 (status). 30% and 51%, but it's 4% and 4%. Please help me!
-------------
require('user.dali')
res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 0 })
if res then
grp.checkupdate('11/1/103', res:byte())
end
res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 1 })
if res then
grp.checkupdate('11/1/104', res:byte())
end