adafruit / adafruit/Adafruit_CircuitPython_MiniMQTT

RFE: asyncio support

Open
#251 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Folks:

I’m in the process of setting up animated LED lighting for the family's Lego winter village using a Feather ESP32-S2 and asyncio tasks and, naturally, I’d like the LED lights to also show up in Home Assistant as first-class, individually-controllable devices. This is working great using MiniMQTT, except for the fact that the animation stops during calls to MQTT.loop(). Any plans to provide an async version of the latter?

Won’t somebody please think of the Legos?
Tim

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the implementation of MQTT.loop() and how it is used with asyncio tasks on the Feather ESP32-S2. Determine the requirements for an async version that does not stop animation during MQTT processing; done means the MQTT client can be used asynchronously without blocking those tasks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.