Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
SNMP Agent / MQTT
Document code: MN67954_ENG Revision 1.000 Page 27 of 31
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
In the section “Set Communication” of the SW67954, it is possible to define a Template string for the MQTT messages. The template is
necessary in order to define the structure of the payload of the MQTT message and the info contained.
It is possible to have a simple text format or a JSON format.
The definition of the template can be done using Key words, used to link a specific information from/to SNMP. The key words used and their
meanings are:
VALUE: value of the SNMP data
TIME: date and time of the MQTT message
DESC: description of the message
Warning:
The key words must be defined between “$” chars in order to be recognized (Ex.: $VALUE$).