On MQTT Topic
The On MQTT Topic Node.
On MQTT Topic is an Event Listener Node that executes when an MQTT Message (only for the specificed
Topics) is received.
Topicsare strings that act as filters for Messages and are hierarchical, meaning there are different levels. Remember, they are case sensitive.
The On MQTT Topic Node Attributes.
On MQTT Topic Example.
The above image shows what happens when an MQTT connection has been made in the Project Settings. The connection's name will appear under
Configuration. One or more
Topic Namescan be added, which appear as Output Pulses on the Node. It is possible to specify if they are binary or not. Each of these
Topicshave a corresponding
BodyString, which is the value in the MQTT key/value pair.