matthewwall / weewx-netatmo

weewx driver for netatmo weather station
GNU General Public License v3.0
7 stars 15 forks source link

Error in netatmo client #23

Closed WiggyToo closed 8 months ago

WiggyToo commented 8 months ago

Hi - this may or may not be related to the clocks changing here in the UK this weekend, I started seeing this error

netatmo-client: exception in netatmo-client: 'time_utc'

It ran OK at 04:57, then failed on the next run at 05:02 and is failing after a restart.

Any ideas?

Thanks, Gav

WiggyToo commented 8 months ago

May have been fixed in the branch here

https://github.com/Buco7854/weewx-netatmo

Just testing now.

Regards

WiggyToo commented 8 months ago

That fixed it - although I had to make this change to netatmo.py as it was throwing an exception on line 28, commented out line 28 import queue to allow it to fo the try \ except.

# import queue
import sys

try:
    import queue as Queue  # Python 3
except:
    import Queue  # Python 2