Hi Vince Thanks for looking.
I have downloaded mqtt.py from the link you mentioned and installed it. Still syntax error at line 215 If you look at line 215, you have: *except KeyError, e:* and I think it should be *except KeyError as e:* under Python 3 Even if I change that line, I just get another error. So, I might do something wrong, but I can't see what. If you got this working, you must have done something differently Gert On Tuesday, March 17, 2020 at 10:50:41 PM UTC+1, Vince Skahan wrote: > > > Mar 17 22:05:25 weewx4Test weewx[7169] CRITICAL __main__: **** name >> 'queue' is not defined >> >> > > You're not working off the latest version on github it seems > > The top of the old file has a line saying simply "import queue". > The top of the new version has python3 and python2 supported > > Download the current file > https://raw.githubusercontent.com/matthewwall/weewx-mqtt/master/bin/user/mqtt.py > > and install it in place of your messed up one. It should work. > > > > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/a6fa5d8a-dd64-47ed-bf7a-1c7286f52499%40googlegroups.com.
