MQTT
Last updated
Last updated
Skysens AgPM can be connect your MQTT broker and subscribes a topic to receive data.
For Adding A MQTT source, select MQTT on add new source menu.
Adding a MQTT source is three-step process: Source Information, Topic Information and Field Information.
Source Information
To begin receiving device data, we must first establish a connection to an MQTT broker. This broker acts as the central hub, routing messages between the device and our system.
Name: Descriptive name for your MQTT device
Url: MQTT broker's public host name or IP address
Port: MQTT broker's port number
If your broker have some authentication method then select "Use Authentication" and enter the details.
Topic Information
Topic is a string-based address used by the broker to route messages between publishers and subscribers, enabling organized, decoupled communication via a hierarchical structure and optional wildcards.
Field Information
Field Name: An identifier for MQTT data object
Field Key: Key name on MQTT data object
Unit: Reading data's unit
Format: Data format. Such as: int32, float