Skip to main content

Reliable MQTT client for MicroPython using asyncio

Project description

MQTT client for Micropython using asyncio. The implementation requires the new (in 2020) uasyncio built into Micropython. It provides an MQTTClient class that operates in the background (using the asyncio loop) and makes callbacks for incoming messages. MQTTClient supports QoS 0 and QoS messages, and it supports non-blocking publishing of messages to improve streaming performance. MQTTClient automatically reconnects if the connection to the broker fails and also automatically connects and reconnects Wifi should it drop. The API is largely compatible with Peter Hinch’s mqtt_as.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for micropython-mqtt, version 0.7b4
Filename, size File type Python version Upload date Hashes
Filename, size micropython-mqtt-0.7b4.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page