DL-300 Data Logger User Manual Version 1.1.0 Aug. 2015
- 35 -
For example, to set the attribute for displaying message by publishing a MQTT
message:
1. Topic name:
EtherIO/Attr
(Module Topic Name + Message Attribute Sub Topic Name)
2. Message content: 0, 0, 0, 8394, 0, FFFFFF, 0, FFFFFF, 0, FFFFFF, 0, FFFFFF, 0,
FFFFFF, 0, FFFFFF
It sets the attributes for displaying message with no beep sound, no acknowledge
button, no time limit, background , all the lines are left-aligned and white text
color.
Note
: the message attribute needs be passed before the message published to take
the settings effect.
- Message Sub Topic Name: sets the sub topic name for the message displayed on the
screen. When a MQTT message published to “Module Topic Name + Message Sub
Topic Name” for a DL-300 logger, the logger will displayed the message.
Note
: A message can have a maximum of 6 lines and 14 half-width characters or 7
full-width characters maximum each line. “\r” (0Dh) is used to do a new line.
The example for publishing a MQTT message to display on the DL-300:
1. Topic name:
EtherIO/Msg
(Module Topic Name + Message Sub Topic Name)
2. Message content: Turn on the ventilation fan.