Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
DALI / MQTT
Document code: MN67941_ENG Revision 1.000 Page 36 of 40
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 Modbus request. It is necessary to use a JSON format, described below:
{
"channel": $CHANNEL$,
"value":"$VALUE$"
}
Where:
CHANNEL: ID of the DALI node (*)
VALUE: value of the ADV (hex format)
(*)
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:
If a field is missing or wrong JSON is sent, the Modbus writing request is not sent by the converter.