Skip to main content
Version: 5.5

MQTT Storage Read Transfer Object

Before configuring the transfer object, ensure that the MQTT plug-in is configured correctly and that the “Enable MQTT Data Storage” option is activated. Only then can you use this transfer object. To enable a connection, proceed [as described](../../../ faq/connection_projecting/connection_projecting_project.md).

After double-clicking on the transfer object, set the following properties:

Broker connection
TopicEnter the topic or topic pattern with wildcards.
Dynamic topicActivate if different topics are required. The topic can be defined variably via input.

You can then set additional filter options as needed to further optimize the output. To do this, use the optional include and exclude filters. OR applies to each list. A match in Include is included, a match in Exclude is excluded.

Filter field

TopicThe filter value is applied to the topics stored in the storage
PayloadThe filter value is applied to the payloads stored in the storage
DirectionThe filter value is applied to the directions stored in the storage
QoSThe filter value is applied to the service qualities stored in the storage
TimestampThe filter value is applied to the timestamps stored in the storage

Direction

PublishedThe last payload stored in the storage on a topic was sent from this instance.
ReceivedThe last payload stored in the storage on a topic was sent from another instance.

Filter type

ContainsThe filter value appears anywhere in the specified filter field.
MatchesThe filter value must be found exactly in the specified filter field.
RegexThe filter value can be filtered using a regular expression.

Filter value

ValueThe value with which the configured filter is to be applied.

Timestamp filter value

en_US[dd.MM.YYYY HH:mm:ss:fff]

Finally, you can configure how the transfer object should behave if no data is found.

ErrorThe transfer object reports an error and further execution of the connection is aborted.
CancelThe transfer object reports that no data could be read and execution of the connection is continued.
IgnoreThe transfer object reports successful execution even if no data could be read.
Confirm your entries with “OK.”