Check MQTT devices and query data points

The integrated test function enables an easy check of the configured MQTT connections and their data points.

This allows the communication with the MQTT broker to be tested and the correct configuration of the created MQTT data points to be verified.

Using the data points, you can directly check whether the configured topic and the settings for QoS, transformer type, and data type deliver the expected values – without any additional effort.

This allows configurations to be validated quickly and potential sources of error to be ruled out at an early stage.


Function

The two buttons “Update status” and “Test changes” are available for the test function.

Only one of these two buttons is active at a time.

The difference between the two functions is that “Update status” checks the currently saved configuration and updates the status of the MQTT connection as well as the values of the existing MQTT data points.

With “Test changes”, on the other hand, changes to the configuration that have not yet been saved can be checked. This allows modified parameters to be tested directly without first having to save the configuration and activate the logic group.

This makes it easier to try out different settings and speeds up commissioning.


Testing the MQTT connection

This function can be used to check the connection to and availability of the MQTT broker.

The system checks whether the MQTT broker is reachable via the network. In addition, it shows whether the MQTT connection is currently connected, i.e. whether it is being used by an active logic group.

The number of data points configured for this MQTT connection is also displayed.

image-20260708-201026.png

The test can be run again at any time using the “Refresh status” button.

If the test is not successful, changed connection parameters, such as broker address, port, protocol, or credentials, can be checked using the “Test changes” function without having to save the entire MQTT configuration.


Testing MQTT data points

This function can be used to check the values of the MQTT data points configured for an MQTT connection.

The system checks whether MQTT messages can be received or sent via the configured topic. It also shows whether the MQTT connection is currently connected and how many data points have been configured for this connection.

The test requires a saved MQTT device. Invalid device settings, missing certificates, or invalid data point settings prevent the test from being performed. The result shows at least:

  • the test feedback

  • the read value or multiple values

  • the duration

For long plaintext values, the full value can be shown and hidden. Copyable plaintext or JSON values can be copied directly using the copy icon.

image-20260708-201426.png


Use “Update status” to load the current status of the saved data point. The status is only available if the associated MQTT device is saved, connected, and reachable. The last known values are displayed. If no value is available, this is reported accordingly.

In order for the values to be queried, a logic group with these data points must also be activated.

If the test is not successful or the received value does not meet expectations, changed parameters, such as topic, QoS, transformer type, or data type, can be checked again using the “Test changes” function.

This allows changes to be tested without having to save the entire MQTT configuration.


///