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.

Source Distribution

micropython-mqtt-async-0.7b4.tar.gz (11.4 kB view details)

Uploaded Source

File details

Details for the file micropython-mqtt-async-0.7b4.tar.gz.

File metadata

File hashes

Hashes for micropython-mqtt-async-0.7b4.tar.gz
Algorithm Hash digest
SHA256 c10a8a34064adad629f71f7ea559f7070169ce13c180265509f68f58618eec2b
MD5 fe4ee89f854be279137fbed6d039b3f1
BLAKE2b-256 513121b11ca590df51ddd95b7e084239259c4d8bce369fb169cf9de82df4c4cc

See more details on using hashes here.

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