To monitor the data points of an MQTT device or entity, you must add them to the
device or entity in Security Center.
Procedure
-
From the Config Tool home page,
open the Plugins task.
-
Select an MQTT device or entity.
-
In the Data points section, click Add a data
point ()
The
Add a data point dialog box opens.
-
Enter the following information:
- Name
- The name of the data point.
- MQTT topic
- The topic that the MQTT broker subscribes to for the JSON payload.
This payload is parsed to extract the value of the data point.
- JSON path
- The JSON path that will be used to extract the value from the JSON
payload in regards to the data point.
If the data point value does
not appear within a JSON payload sent to the plugin with the
correct topic, the data point value will not be
updated.
- Value type
- The type of information reported by the input (data point).
- Access level
- Indicates whether the selected data point is read-only or
read-write. This field is automatically displayed by the plugin
role.
- Unit name
- (Optional) The measurement unit of the data point.
- Unit symbol
- (Optional) The symbol representing the measurement unit.
-
Click Add to add another data point or click
Add and Close.
The data point is displayed in the Data points
section.
-
Click Apply.