domneedham / pico-clock-green-python

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

MQTT #25

Open didi2sk opened 6 months ago

didi2sk commented 6 months ago

When I enable MQTT program crash.

didi2sk commented 6 months 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 6 months 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 6 months 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