MQTT variables

Add variables to the MQTT data source

Enter a name for the variable. Click on “Add” to create the variable.

The window remains open to create further variables. “Close” the window to end the input.

The variable can be created manually by entering a “Topic“.

It is easier if you click on “Search” to select the existing variables using the “Search topic” function.

The “Search Topic” works according to a tree structure. If only one “#” is entered, EVERYTHING is searched, which can take some time.

Enter the desired topic (*name of the topic* *slash* *#*) and click on “Refresh“. The topic is then searched for the variables (all variables are strings). Select the desired variables and click on “Import” to create the selected variables and close the window.

The variables for the MQTT data source have been successfully created and can now be used.


MQTT address syntax for quick entry

MQTT variables can also be added with a quick entry.

A variable with a single field entry can be created here using the correct syntax.

In general, the following syntax applies to MQTT addresses:

  • [Datentyp].[Topic]

Data types:

AbbreviationDescription
XBoolean
I1Byte
I2Short
I4Integer
I8Long
FFloat
DDouble
SString