responses with a json packet so OWM with my API key is working.
However, in syslog, I have this when weewx builds its data and I can't get a forecast in weewx:
Aug 13 22:26:00 raspberrypi weewxd: forecast: OWMThread: OWM: download forecast from 'http://api.openweathermap.org/data/2.5/forecast?APPID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX7041&lat=XXXX&lon=XXXX'
Aug 13 22:26:01 raspberrypi weewxd: forecast: OWMThread: OWM: got 40 forecast records
Aug 13 22:26:01 raspberrypi weewxd: forecast: OWMThread: OWM: saving 40 forecast records
Aug 13 22:26:01 raspberrypi weewxd: forecast: OWMThread: OWM: forecast failure: addRecord() got an unexpected keyword argument 'log_level'
Aug 13 22:26:01 raspberrypi weewxd: forecast: OWMThread: OWM: terminating thread
Here's the log at weewx start with relevant info:
Aug 13 22:37:03 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Aug 13 22:37:03 raspberrypi weewx[28703] INFO __main__: Initializing weewx version 4.1.1
Aug 13 22:37:03 raspberrypi weewx[28703] INFO __main__: Using Python 2.7.16 (default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Aug 13 22:37:03 raspberrypi weewx[28703] INFO __main__: Platform Linux-4.19.118-v7+-armv7l-with-debian-10.4
Aug 13 22:37:03 raspberrypi weewx[28703] INFO __main__: Locale is 'en_GB.UTF-8'
Aug 13 22:37:03 raspberrypi weewx[28703] INFO __main__: PID file is /var/run/weewx.pid
Aug 13 22:37:03 raspberrypi weewx[28707] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Aug 13 22:37:03 raspberrypi weewx[28707] INFO __main__: Debug is 0
Aug 13 22:37:03 raspberrypi weewx[28691]: Starting weewx weather system: weewx.
Aug 13 22:37:03 raspberrypi systemd[1]: Started LSB: weewx weather system.
To temporarily fix it, I modified /usr/share/weewx/user/forecast.py as such to fixed the error and I'm now generating forecasts.
Hi,
Just added the forecast module to my one month old installation of weewx on a Raspberry Pi 3 running a current version of Rasbian.
Running manually
http://api.openweathermap.org/data/2.5/forecast?APPID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX7041&lat=XXXX&lon=XXXX'
responses with a json packet so OWM with my API key is working.
However, in syslog, I have this when weewx builds its data and I can't get a forecast in weewx:
Here's the log at weewx start with relevant info:
To temporarily fix it, I modified /usr/share/weewx/user/forecast.py as such to fixed the error and I'm now generating forecasts.
Thanks.