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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: micropython-mqtt-0.7b4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for micropython-mqtt-0.7b4.tar.gz
Algorithm Hash digest
SHA256 254a0af13d37cb92372538b6ded44c5f26e2e77c0d8b9b4e2d73c4f26f43e042
MD5 d15f48b4ef7351f6a0e570e7e2bf1f61
BLAKE2b-256 a6893beefb25462bf4af2d579e407f5aba37b4865017145ff0704303f597414a

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