MQTT Provider
The MQTT Provider connects to a MQTT broker and receives or stores data.
MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT).
Tip
|
We provide an open MQTT broker for free data interchange at mqtt.tyckr.io . |
Configuration
-
Host
The IP or URL of the MQTT broker to connect to. -
Port
The port number of the MQTT broker, default port is1883
. -
Use SSL
Enable to use SSL transport encryption, disable for no SSL encryption. -
Protocol Version
Use MQTT version 3 or version 5. Version 5 is default. -
Keep Alive Interval
Keep alive interval time like60s
,3m
or1h
to keep the connection to the broker alive and validate it.
0
disables the keep alive feature.CautionThe keep alive mechanism is important to validate the session and connection. It should be disabled only for a good reason.
3m
is a good default value. -
Username
Set the Username if authentication is required, leave empty if authentication is not necessary. -
Password
Set the Password if authentication is required, leave empty if no Password is required.ImportantAuthentication can only be used, if the Master Password is set up in Configuration/Password on the device AND in the App.
A green lock is visible next to Username and Password when this is set up correctly. -
Topic
Subscription topics in form oftesttopic/1
orheater/temp/value
.
Query
-
Status
Get the MQTT connection status.Text Numeric N/A
0
No connection to the broker.
Excellent
1
Connected to the broker.
-
Topic
The subscription topic of the configuration liketesttopic/1
-
Param 1
Subscription index starting from0
.
-
-
Message
The plain Message content of the according subscription topic.-
Param 1
Subscription index starting from0
.
-
-
JSON Message
The message content of the according subscription topic is encoded in JSON format.
Param 2 sets the JSON path to the data.-
Param 1
Subscription index starting from0
. -
Param 2
A valid JsonPath expression like$.store.book[*].author
to decode a value from the message.
-
-
ID
String representation of the Client Identifier.
This has the formattyckr-XXXXXXXX-YYYYYYYY
where X is a fixed 8 letter device ID and Y the 8 letter provider ID.