24.08.2017, 06:08
Hello,
I need to get feedback of DALI lamp and ballast status. I tried to get lamp failure it with code like this:
but it doesn't work, nothing appears in Alerts. Can someone help me with this?
I need to get feedback of DALI lamp and ballast status. I tried to get lamp failure it with code like this:
but it doesn't work, nothing appears in Alerts. Can someone help me with this?
Code:
require('user.dali')
res = dalicmd('internal', 'querylampfailure', { addrtype = 'short', address = 0 })
if res then
alert(res)
end