Hello Bill, Thanks for the wxMesh.py file. I have copied this file unchanged to / home / weewx / bin / user. With sudo chmod 777 wxMesh.py rights changed. Subsequently, with the Python 2 IDLE formatting error sought and removed. When checking with the IDLE: Run / Check Module -> "There's an error in your program: *** 'yield' outside funcion (wxMesh.py, line 124). Maybe wxMesh.py is not compatible with weewx-3.8.0. Enclosed the current log file. Thanks again for your effort! Franz —— pi@raspberrypi ~ $ sudo /etc/init.d/weewx start [ ok ] Starting weewx (via systemctl): weewx.service. pi@raspberrypi ~ $ sudo /etc/init.d/weewx status -l ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: active (exited) since Di 2018-05-22 16:04:18 CEST; 3s ago Process: 2524 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS) Process: 2636 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
Mai 22 16:04:18 raspberrypi weewx[2650]: **** File "/home/weewx/bin/weewx/engine.py", line 71, in __init__ Mai 22 16:04:18 raspberrypi weewx[2650]: **** self.setupStation(config_dict) Mai 22 16:04:18 raspberrypi weewx[2650]: **** File "/home/weewx/bin/weewx/engine.py", line 95, in setupStation Mai 22 16:04:18 raspberrypi weewx[2650]: **** __import__(driver) Mai 22 16:04:18 raspberrypi weewx[2650]: **** File "/home/weewx/bin/user/wxMesh.py", line 124 Mai 22 16:04:18 raspberrypi weewx[2650]: **** yield _packet Mai 22 16:04:18 raspberrypi weewx[2650]: **** SyntaxError: 'yield' outside function Mai 22 16:04:18 raspberrypi weewx[2650]: **** Exiting. Mai 22 16:04:18 raspberrypi systemd[1]: Started LSB: weewx weather system. Mai 22 16:04:18 raspberrypi weewx[2636]: Starting weewx weather system: weewx. Hint: Some lines were ellipsized, use -l to show in full. pi@raspberrypi ~ $ sudo /etc/init.d/weewx stop [ ok ] Stopping weewx (via systemctl): weewx.service. pi@raspberrypi ~ $ Am Dienstag, 22. Mai 2018 14:05:36 UTC+2 schrieb Bill Morrow: > > I am guessing that you still have some problems with how wxMesh.py was > copied in to place. > > Try copying wxMesh.py as simple text by going to this link > > > https://raw.githubusercontent.com/bonjour81/ESP8266-MQTT-WEEWX/master/weewx/wxMQTT.py > > right-click and "Save As" to your .../bin/user/wxMesh.py file. > > .. when I examine the code, it looks like there are some errors, though. > You could try the attached copy, where I have fixed some indentation. I > have not tested it myself. > > > > >