MQTT client (обновлено: 23 Feb 2024, 12:53:36)

MQTT Client. Works with Mosquitto broker, two way communication, sensors data publishing and subscriptions for control commands.


MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. For example, it has been used in sensors communicating to a broker via satellite link, over occasional dial-up connections with healthcare providers, and in a range of home automation and small device scenarios. It is also ideal for mobile applications because of its small size, low power usage, minimised data packets, and efficient distribution of information to one or many receivers.

Additional options:

MQTT Lite Mode - short tops, without the inclusion of topics settings will have a longer view text email/hostname/sensors/xxx and email/hostname/gpio/xxx

fix 2.05.16 - fix for stability MQTT work.


Status Connection MQTT

On the service tab, http://[ip_adr]/debug You can find the status of the connection to the server MQTT.

Example: MQTT IP: 192.81.221.198 State: 15/Errors: 1

That means the module is connected to the IP address 192.81.221.198 server. Status of connection 15, the number of reconnections - 1.

Status may take a few options:

15 - the connection is successful. The data to be transmitted.

6 - may not be a valid username/password

7.8 - Connection error, failure, usually corrected by restarting the module. A rare problem, but it is, for example, if the server was disconnected.

Restrictions MQTT

The Free version is impossible to control the device, sending interval is fixed at 600 seconds.

Limiting the length of the field login - 20 characters Password - 10 characters. Currently it is impossible to increase the length of the field.

If you change the settings MQTT server, username or password, the name of the device is recommended to restart the device.

Service MQTT team:

email/hostname/[set/]system/restart - restart of the module.

email/hostname/[set/]system/upd - update on the OTA.

email/hostname/[set/]system/aupd - Update on Auto OTA.

The topics need to send the data number 1.


MQTT servers:


Android applications are compatible with the project:

Mqtt IoT - Аuthor Dolfik WIKI.

Linear MQTT Dashboard - Аuthor Ravend WIKI.