MQTT properties
Use these parameters to configure MQTT broker properties and MQTT client credentials.
Note
You can configure MQTT properties on these hardware boards:
Arduino® MKR WiFi 1010
Arduino MKR 1000
Arduino Nano 33 IoT
ESP32-WROOM (Arduino Compatible)
ESP32-WROVER (Arduino Compatible)
Broker service
Select the MQTT broker service provider that receives, filters, and sends messages to the clients.
ThingSpeak
— When you specify this option, the MQTT access to your channels is handled by a ThingSpeak™ MQTT broker.Other
— Specify this option when the MQTT access to your channels is handled by other MQTT public brokers such as HiveMQ®, Mosquitto™, and so on.
Settings
Default:
ThingSpeak
Other
Broker address
Enter the web address associated with the MQTT broker. When you set
Broker address to ThingSpeak
,
the block sets the broker address to mqtt3.thingspeak.com
. To
enter the address of a different broker, set Broker service to
Other
.
Settings
Default:
mqtt3.thingspeak.com
Port
Enter the port number associated with the MQTT broker. When you set
Broker address to ThingSpeak
,
the block sets the port number to 1883
. To enter the port number
of a different broker, set Broker service to
Other
.
Settings
Default:
1883
Username
Enter user name of the MQTT client to establish a connection with the MQTT broker.
Settings
Default: <empty>
Password
Enter password of the MQTT client to establish a connection with the MQTT broker.
Settings
Default: <empty>
Client ID
Enter identification number of the MQTT client to establish a connection with the MQTT broker.
Settings
Default: <empty>