User Tools

Site Tools


how_tos:mqtt_configuration

MQTT Configuration

As of Firmware x.1311 onwards, we have added several more MQTT configuration parameters that can currently be configured through the INI located in /config/mqtt.ini.

In the [config] section you can set the following key/value pairs:

Key Value
enabled 1 or 0 to enable/disable MQTT
debug 1 or 0 to enable/disable debug logging
mqtt_keepalive Keepalive at connect - setting to 0 causes issues on some mosquitto installs
mqtt_timeout Connect timeout in seconds before raising an error
mqtt_port Remote port number (usually 1833)
mqtt_protocol Protocol shared during connect. Can be 3 for MQTT v3.0 or 311 for MQTT v3.1.1
enabled 1 or 0 to enable/disable TLS security
mqtt_id Connect ID. If it's blank the MAC address will be used
mqtt_server Server host name
mqtt_user MQTT connect username
mqtt_password MQTT connect password
how_tos/mqtt_configuration.txt · Last modified: 2024/04/05 05:05 by admin