Skip to main content

MQTT Component

Interact with an MQTT Queue

Component key: mqtt

Description#

Message Queuing Telemetry Transport (MQTT) is a light-weight, efficient publish-subscribe network protocol for sending messages between devices. This component allows you to publish messages to an MQTT queue topic.

MQTT Connections#

MQTT Connection#

InputDefaultNotes
Input
Host
string
/ Required
Hidden Field
host
Default
192.168.0.1
Notes
Provide the string value for the host of the MQTT server.
Input
Password
string
password
Default
 
Notes
 
Input
Port
string
/ Required
port
Default
1883
Notes
The port of the MQTT server.
Input
Username
string
username
Default
 
Notes
 

Actions#

Publish Message#

Publish a message to a MQTT topic. | key: publish

InputDefaultNotesExample
Input
Host
string
/ Required
host
Default
 
Notes
An MQTT broker is a server that receives all messages from the clients and then routes the messages to the appropriate destination clients.
Example
192.168.0.1
Input
Message
string
/ Required
message
Default
 
Notes
Provide a string value to be sent to the MQTT topic.
Example
Message to Queue
Input
Connection
connection
/ Required
mqttConnection
Default
 
Notes
 
Example
 
Input
Port
string
/ Required
port
Default
1883
Notes
Provide a string value for the port your broker server is exposing.
Example
1883
Input
Topic Name
string
/ Required
topicName
Default
 
Notes
Provide a string value for the name of the MQTT topic.
Example
myTopic