Add an MQTT configuration
You can configure MQTT for a device group.
-
Access the Digi Axess Admin page. You must have Admin or Device User privileges to access this page.
-
From the Data Export section in the Admin dashboard, click Add next to the MQTT Configuration label. As an alternative, you can click MQTT Configuration from the dashboard pane to the left of the page and then click Add MQTT Configuration at the top of the page. The General Settings page displays.
-
Begin configuration in the General Settings page.
-
From the Device Group list box, select the device group for which you want to configure MQTT. This configuration is available for all devices in the device group.
-
In the Description field, enter a descriptive name for the configuration. The name must be unique for the device group.
-
-
Click the green arrow at the top of the page. The MQTT Configuration page displays.
-
Enable the MQTT service and continue with configuration in the MQTT Configuration page.
Field Description MQTT Enabled
Click MQTT Enabled to enable the MQTT service. The toggle button is green when the service is enabled.
MQTT Spec
Currently the only supported format is the standard MQTT format, with raw data being sent.
The MQTT on Device - No Formula Support option is selected by default.
Send Sample Date to Digi Axess
Enable Send Sample Date to Digi Axess if you want to send sample data to Digi Axess for further processing. This is disabled by default, and when it is disabled, no data is sent to Digi Axess.
QoS
Currently only one MQTT quality of service level is available.
The 0 - at most once option is selected by default.
MQTT topic prefix
In the MQTT topic prefix field, enter the MQTT topic prefix to use. The following variables are supported: $Model, $LocationName, and $SerialNumber.
The MQTT topic preview space previews what the topic will be when the variables are resolved and the postfix is added.
-
Click the green arrow at the top of the page. The MQTT Broker Configuration page displays.
-
Configure the MQTT broker.
Field Description MQTT Broker Host
Enter MQTT the broker host to which data is sent.
The MQTT broker host must be unique.
MQTT Broker Port
Enter the number of the MQTT Broker port to which data should be sent.
Username
Enter the user name to authenticate with the broker.
Password
Enter the password to authenticate with the broker.
Click the eye icon next to the field to toggle the password display.
TLS Enabled
Enable TLS.
TLS Cert Check
Enables checking the broker identity with a certificate.
-
Click Add. The MQTT configuration is saved. The MQTT Configuration page displays, and includes the new configuration.