I was able to find the issue. I am using now this MQTT driver and this is working https://github.com/weewx/weewx/wiki/mqtt
joh....@googlemail.com schrieb am Sonntag, 13. September 2020 um 08:34:06 UTC+2: > Hi, > > I am setting up a new Weewx Installation based on the latest release of > Python3 and Weewx. > > Unfortunatly I am not able to get MQTT running. > > This is how I have it installed: > > *wget -qO - http://weewx.com/keys.html <http://weewx.com/keys.html> | sudo > apt-key add -* > *wget -qO - http://weewx.com/apt/weewx-python3.list > <http://weewx.com/apt/weewx-python3.list> | sudo tee > /etc/apt/sources.list.d/weewx.list* > *sudo apt install python3-configobj python3-pil python3-serial python3-usb > python3-pip python3-cheetah python3-ephem python3-paho-mqtt sqlite nginx* > > *sudo apt install weewx* > *sudo wget > http://lancet.mit.edu/mwall/projects/weather/releases/weewx-mqtt-0.19.tgz > <http://lancet.mit.edu/mwall/projects/weather/releases/weewx-mqtt-0.19.tgz>* > *sudo wee_extension --install weewx-mqtt-0.19.tgz* > > I am getting this error when starting weewx > > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** self.loadServices(config_dict) > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** obj = weeutil.weeutil.get_object(svc)(self,config_dict) > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in > get_object > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** mod = __import__(module) > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** File "/usr/share/weewx/user/mqtt.py", line 197 > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** except KeyError, e: > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** ^ > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** SyntaxError: invalid syntax > Sep 13 08:29:56 weewx-test python3[693]: weewx[693] CRITICAL __main__: > **** Exiting. > > Any Ideas? > > Br, > Johannes > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20611e3b-1839-4913-aace-fa28026e3ec8n%40googlegroups.com.