adafruit / adafruit/Adafruit_CircuitPython_PyPortal
PyPortal mqtt integration with UI example
- Dominant language
- Python
- Stars
- 46
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
Hello all!
For a few months, I've been trying to integrate mqtt with the PyPortal UI example (https://learn.adafruit.com/making-a-pyportal-user-interface-displayio). @makermelissa and @brubell have been wonderful in getting mqtt to work on the PyPortal. Believing I had a clear path, the issue is that the workaround code on this page (https://forums.adafruit.com/viewtopic.php?f=56&t=177198&start=15) does not use the pyportal = PyPortal() protocol. I thought that solved my problem, but when I integrate that into the UI example, it fails because the UI **does** use pyportal = PyPortal().
On the page, Make It Your Own (https://learn.adafruit.com/making-a-pyportal-user-interface-displayio/make-it-your-own), it challenges us to integrate the mqtt into the UI... which is where I started on this long journey.
I don't know if there are plans to remedy this or if it's better to pull that Make It Your Own page down. I would LOVE to see this resolved though, as my project was designed to rely on this. Thank you for your time and effort and please contact me with any questions.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the PyPortal UI example and its “Make It Your Own” page with the MQTT workaround in the linked forum thread, focusing on their different PyPortal initialization patterns. Done means the documentation provides a working MQTT integration with the UI example, or clearly removes or revises the challenge if that integration is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100