Skip to main content

Reliable MQTT client using asyncio for MicroPython

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.

Source Distribution

micropython-mqtt-0.7b1.tar.gz (11.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page