Weewx Only Generates One Report

60 views
Skip to first unread message

tho...@gmail.com

unread,
Sep 18, 2021, 10:33:21 PM9/18/21
to weewx-user
Greetings,

I have Weewx running on a Pi Zero WH with the simulator and a DHT22/AM2302 sensor.  This setup is just to capture the temp/humidity data off the DHT22/AM2302.

It was working quite well for days and then stopped generating new reports.  When I restart the Pi, it will generate a new report.  When I try to restart just the Weewx service, another updated report may come through with a time 5 minutes after the first.  The index.html file's timestamp is being updated, but the content remains unchanged.

From the logs below, it appears that it just stops generating updated reports.  My html still shows 9:20 p.m. even though the log shows posted updates at 9:49 p.m.

pi@:~ $ service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Sat 2021-09-18 21:18:28 EDT; 27s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 371 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 877)
   CGroup: /system.slice/weewx.service
           └─440 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Sep 18 21:18:29 python3[440]: weewx[440] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Sep 18 21:18:29 python3[440]: weewx[440] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Sep 18 21:18:29 python3[440]: weewx[440] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Sep 18 21:18:29 python3[440]: weewx[440] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Sep 18 21:18:29 python3[440]: weewx[440] INFO __main__: Starting up weewx version 4.5.1
Sep 18 21:18:29 python3[440]: weewx[440] INFO weewx.engine: Clock error is -0.91 seconds (positive is fast)
Sep 18 21:18:29 python3[440]: weewx[440] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Sep 18 21:18:29 python3[440]: weewx[440] INFO weewx.manager: Starting backfill of daily summaries
Sep 18 21:18:29 python3[440]: weewx[440] INFO weewx.manager: Daily summaries up to date
Sep 18 21:18:30 python3[440]: weewx[440] INFO weewx.engine: Starting main packet loop.

pi@:~ $ service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Sat 2021-09-18 21:18:28 EDT; 57min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 371 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 877)
   CGroup: /system.slice/weewx.service
           └─440 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Sep 18 21:49:51 python3[440]: weewx[440] DEBUG weeutil.ftpupload: 70 ./font/OpenSans.woff 81974
Sep 18 21:49:52 python3[440]: weewx[440] DEBUG weeutil.ftpupload: Uploaded file /var/weewx/reports/font/OpenSans.woff to /htdocs/font/OpenSans.woff
Sep 18 21:49:52 python3[440]: weewx[440] DEBUG weeutil.ftpupload: 71 ./NOAA/NOAA-2021.txt 48df1
Sep 18 21:49:53 python3[440]: weewx[440] DEBUG weeutil.ftpupload: Uploaded file /var/weewx/reports/NOAA/NOAA-2021.txt to /htdocs/NOAA/NOAA-2021.txt
Sep 18 21:49:53 python3[440]: weewx[440] DEBUG weeutil.ftpupload: 72 ./NOAA/NOAA-2021-09.txt 5cd6
Sep 18 21:49:54 python3[440]: weewx[440] DEBUG weeutil.ftpupload: Uploaded file /var/weewx/reports/NOAA/NOAA-2021-09.txt to /htdocs/NOAA/NOAA-2021-09.txt
Sep 18 21:49:54 python3[440]: weewx[440] DEBUG weeutil.ftpupload: 73 ./NOAA/NOAA-2021-08.txt c51b
Sep 18 21:49:55 python3[440]: weewx[440] DEBUG weeutil.ftpupload: Uploaded file /var/weewx/reports/NOAA/NOAA-2021-08.txt to /htdocs/NOAA/NOAA-2021-08.txt
Sep 18 21:49:55 python3[440]: weewx[440] INFO weewx.reportengine: ftpgenerator: Ftp'd 74 files in 65.19 seconds
Sep 18 21:49:55 python3[440]: weewx[440] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.

pi@:~ $ date
Sat 18 Sep 2021 10:16:59 PM EDT



I have Weewx running on other Pi's (3B's) and have seen this happen before but I have been unable to figure-out what I did or didn't do to rectify the situation.

Any help would be greatly appreciated.

Thank you!

gjr80

unread,
Sep 19, 2021, 12:59:53 AM9/19/21
to weewx-user
Hi,

Impossible to say without seeing a more substantial log extract. I suggest you refer to the Help! posting to weewx user wiki article and follow The system log instructions to get a good log extract to post here.

Gary
Reply all
Reply to author
Forward
0 new messages