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-0.7b4.tar.gz (11.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page