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:
12345
require('user.dali')
res = dalicmd('internal', 'querylampfailure', { addrtype = 'short', address = 0 })
ifresthenalert(res)
end
Try using querystatus, the result will contain:
bit 0 - Status of ballast; 0 = OK
bit 1 – Lamp failure; 0 = OK
bit 2 – Lamp arc power on; 0 = OK
bit 3 - Query: Limit Error; "0" = Last requested arc power level is between MIN..MAX LEVEL or OFF
bit 4 – Fade ready; "0" = fade is ready; "1" = fade is running
bit 5 – Query: "RESET STATE"? "0" = "No"
bit 6 – Query: Missing short address? "0" = "No"
bit 7 – Query: "POWER FAILURE"? "0" = "No"; "RESET" or an arc power control command has been received after last power-on.
Hello, prompt, please, what command DALI given can be adjusted when the rate of rise of the lamp brightness?
dalicmd('internal', 'storefadetime ', { addrtype = 'short', address = 0 })
So it sets the minimum speed at once 254 ..... How will it change ???