Hi,
Following the wise advice of "pythoncoder" I have modified my software to use the asyncio module instead thread. I also use the MQTT protocol through the umqttsimple library and I have some problems, such as for example that I can publish but I cannot receive (subscribe).
Should I use a different library or is it just that I am using it wrong because I'm beginner?
Thanks
MQTT+ ASYNC programming
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: MQTT+ ASYNC programming
If you're already using uasyncio then you should use the async mqtt module from @pythoncoder https://github.com/peterhinch/micropython-mqtt
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode