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.

DALI commands
#1
Hello!

Please give me full list available commands for DALI gateway.
This is very shortest list of commands: https://openrb.com/docs/dali.htm
Reply
#2
This is full list for the internal or RS485 dali gateway. If you use canX DALI then all commands are in the app.
What are you looking for?
------------------------------
Ctrl+F5
Reply
#3
DT8 commands are not documented there, number in brackets is DALI command number:
Code:
12345678910111213141516171819202122232425262728293031
setdtr1 (195) set dtr1, similar to setdtr setdtr2 (197) set dtr1, similar to setdtr setx (224) sety (225) activate (226) stepupx (227) stepdownx (228) stepupy (229) stepdowny (230) setcolortemp (231) colortempcooler (232) colortempwarmer (233) setprimarydimlevel (234) setrgbdimlevel (235) setwafdimlevel (236) setrgbwafcontrol (237) copyreport (238) storetyprimary (240) storexyprimary (241) storecolortemplimit (242) storegearfeatures (243) assigncolortolinked (245) startautocalibration (246) querygearfeatures (247) querycolorstatus (248) querycolorfeatures (249) querycolorvalue (250) queryrgbwafcontrol (251) queryassignedcolor (252)
All query commands expect a reply from the ballast. Refer to the DALI standard for more info on these commands.
Reply
#4
(14.12.2021, 09:58)Daniel Wrote: This is full list for the internal or RS485 dali gateway. If you use canX DALI then all commands are in the app.
What are you looking for?

Commands for lua scripts. Do these gateways have different commands?
CanX DALI have good app! But there are not all the possibilities.

(14.12.2021, 10:14)admin Wrote: DT8 commands are not documented there, number in brackets is DALI command number:
Code:
12345678910111213141516171819202122232425262728293031
setdtr1 (195) set dtr1, similar to setdtr setdtr2 (197) set dtr1, similar to setdtr setx (224) sety (225) activate (226) stepupx (227) stepdownx (228) stepupy (229) stepdowny (230) setcolortemp (231) colortempcooler (232) colortempwarmer (233) setprimarydimlevel (234) setrgbdimlevel (235) setwafdimlevel (236) setrgbwafcontrol (237) copyreport (238) storetyprimary (240) storexyprimary (241) storecolortemplimit (242) storegearfeatures (243) assigncolortolinked (245) startautocalibration (246) querygearfeatures (247) querycolorstatus (248) querycolorfeatures (249) querycolorvalue (250) queryrgbwafcontrol (251) queryassignedcolor (252)
All query commands expect a reply from the ballast. Refer to the DALI standard for more info on these commands.

Thanks! Have extended  DT1 (emergency test, battery status, etc) and DT6 & DT50,DT51,DT52 (Energy Reporting, diagnostics, etc) commands?
Reply
#5
No but you can send custom commands by using "raw" command. See these posts:
https://forum.logicmachine.net/showthread.php?tid=2737
https://forum.logicmachine.net/showthread.php?tid=1500
Reply
#6
One more question.

I have a mix of RS485 and canX DALI.
Is there any way to connect the DALI-2 panel that sends Input Notification?
Reply
#7
CANx-DALI sends all received bus telegrams which you can get capture via a script and parse as needed:
Code:
1234567891011121314151617181920212223
if not canx then   canx = require('applibs.canx')   canx.getlistener(1)   function parse(frame)     local hdr = frame:byte(1) or 0     local typ = bit.rshift(hdr, 4)     local len = bit.band(hdr, 0x3)     -- bus data frame type     if typ == 7 and len > 0 then       loghex(frame)     end   end end canx.step(function(msg)   -- message from CANx device 0.1   if msg.lineid == 0 and msg.nodeid == 1 and msg.objectid == 1     and msg.frombus and type(msg.data) == 'string' then     parse(msg.data)   end end)
Reply


Forum Jump: