SmartSwarm 300 Series
:
74
The published Payload data will have all of the enrichment data included.
You then specify HOW you want the data to be published. For example, on what MQTT topic, with what QOS, etc.
The Rules and Topics screen is visible as a Tab in the editor for each slave. For example:
By default, only one event is displayed for each available register.
To add another event, click the ‘+’ sign on the required register. This will add a duplicate row for that register.
Edit the event details and click
Save Rules
.
When saving rules, an error message will be displayed if any required parameters for an event are missing.
Once rules have been saved, click
Push Rules
to apply the rules to the device.
The following fields are editable in the Rules and Topics tab:
Item
Description
Event
Select the event type from a dropdown menu
Payload
Select what to publish from a dropdown menu
QOS
Quality of Service
Retain
Instructs the broker to retain the last published message on this topic
MQTT Topic
Topic to publish on
Default Topic
The default topic will always be
Swarm_ID/Device_ID/Port_ID/Slave_ID/Register_Type/Event
E.g. 0/700000/1/1/HR/SCHEDULING. This can be turned on or off
–
Delete this rule
+
Add a new rule to this register
Table 24. Rules and Topics fields