pycom / pycom-libraries

MicroPython libraries and examples that work out of the box on Pycom's IoT modules
334 stars 373 forks source link

mqtt subscribe not reciveing messages, but publish works good. #152

Open moinologics opened 3 years ago

moinologics commented 3 years ago

MicroPython v1.15 on ESP8266

nznobody commented 3 years ago

I've had issues using MQTT with Thingsboard. Potentially for this reason. I ended up digging into the issue and found problems with the MQTT / SSL interactions. In the end I added a lot of logging and had to change some function calls on the socket to being async (non-blocking) and handling that. This could be only SSL related. I'll raise my own issue around that soon.

nznobody commented 2 years ago

See: https://github.com/pycom/pycom-libraries/issues/147#issuecomment-1027277724