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
Default
192.168.0.1
Notes
Provide the string value for the host of the MQTT server.
Input
Password
string
Default
 
Notes
 
Input
Port
string
/ Required
Default
1883
Notes
The port of the MQTT server.
Input
Username
string
Default
 
Notes
 

Actions#

Publish Message#

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

InputDefaultNotesExample
Input
Host
string
/ Required
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
Default
 
Notes
Provide a string value to be sent to the MQTT topic.
Example
Message to Queue
Input
Connection
connection
/ Required
Default
 
Notes
 
Example
 
Input
Port
string
/ Required
Default
1883
Notes
Provide a string value for the port your broker server is exposing.
Example
1883
Input
Topic Name
string
/ Required
Default
 
Notes
Provide a string value for the name of the MQTT topic.
Example
myTopic