m5stack / uiflow-micropython

uiflow micropython project
https://uiflow2.m5stack.com
MIT License
53 stars 27 forks source link

MQTT issue #22

Closed coltonhugg closed 4 months ago

coltonhugg commented 4 months ago

Unlike version 1.0 when the device "applies for messaging" for MQTT no other action can be performed aka a button press this severely limits the use of MQTT with m5stack

lbuque commented 4 months ago

@coltonhugg This issue will be fixed in the next version.

felmue commented 4 months ago

Hello @coltonhugg

in the meantime maybe have a look at this Project Zone example: _M5Dial_WiFi_MQTTUIFlow2.0.1

The 'trick' is to use mqtt_client.check_msg() instead of mqtt_client.wait_msg().

Thanks Felix

lbuque commented 4 months ago

@coltonhugg @felmue This issue was resolved in 2.0.9.