Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
DALI / MQTT
Document code: MN67941_ENG Revision 1.100 Page 41 of 45
DALI WRITING
In order to send the DALI commands it is necessary to use a specific MQTT payload.
In this way, the converter can get all the info ned and compose the DALI command. It is necessary to use a JSON format, described below:
{
"channel": $CHANNEL$,
"value": $VALUE$,
"command": $COMMAND$
}
Where:
CHANNEL: ID of the DALI ballast (*)
VALUE: value of the ADV or command
COMMAND: DALI command to send
(*)
The DALI ID can have different value in relation to the ADV to manage:
0 to 63 (0x00 to 0x3F) to manage a single DALI node;
64 to 79 (0x40 to 0x4F) to manage the Groups;
80 (0x50) for broadcast.
Note:
In order to control the ADV (brightness of the DALI ballast), it is necessary to remove the “command” line. The JSON command will
look like this:
{
"channel": $CHANNEL$,
"value": $VALUE$
}