domneedham / pico-clock-green-python

A MicroPython implementation of the Waveshare Pico-Clock-Green.
Apache License 2.0
10 stars 7 forks source link

MQTT #25

Open didi2sk opened 1 month ago

didi2sk commented 1 month ago

When I enable MQTT program crash.

didi2sk commented 1 month ago

Traceback (most recent call last): File "", line 35, in File "util.py", line 6, in getinstance File "mqtt.py", line 31, in init File "mqtt.py", line 45, in connect File "/lib/umqtt/simple.py", line 154, in subscribe File "/lib/umqtt/simple.py", line 173, in wait_msg OSError: -1

domneedham commented 1 month ago

Been a long time since I've looked at this. Might be a dependency issue where the version installed is too new?

didi2sk commented 1 month ago

Hi, yes there was problem width dependecy mqtt library and severeal other error. In critical peaces of code I use try: and make a lot other change. I reading temperature from external zigbee temp. sensors and show it on clock