Check the version of your gw1000 driver. It's in the comment section near the top of the file gw1000.py.
You want v0.4.2. I think Gary fixed this a couple weeks ago. On Sat, Mar 26, 2022 at 1:36 PM Larry <[email protected]> wrote: > I am now wondering if this issue may have been caused when I rebooted my > router a few days ago or possibly when I blew a dc fuse that supplies > GW1000 power. ( was having another issue with a Tasmota mqtt device ) > I restarted weewx and will see if all is well . > Thank you everyone for helping me learn a new skill on how to debug. And > also to make sure I check all devices when working on router or power > failures. > Larry > > On Saturday, March 26, 2022 at 3:23:26 PM UTC-5 Larry wrote: > >> Vince - >> I found the logs - this is from the logs at the point in time where the >> weewx webpage is locked up. >> I guess I need to look into the GW1000 since that might be the issue. >> I will restart Weewx and see if that fixes issue in the long term. >> Thanks for the help on how to find log history. >> Larry >> >> Mar 23 08:10:17 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:10:00 CDT (1648041000) to database 'weewx.sdb' >> Mar 23 08:10:17 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:10:00 CDT (1648041000) to daily summary in 'weewx.sdb' >> Mar 23 08:10:19 weewx weewx[531] INFO weewx.restx: CWOP: Published record >> 2022-03-23 08:10:00 CDT (1648041000) >> Mar 23 08:10:30 weewx weewx[531] INFO weewx.cheetahgenerator: Generated 8 >> files for report SeasonsReport in 12.35 seconds >> Mar 23 08:10:36 weewx weewx[531] INFO weewx.imagegenerator: Generated 17 >> images for report SeasonsReport in 6.30 seconds >> Mar 23 08:10:36 weewx weewx[531] INFO weewx.reportengine: Copied 0 files >> to /var/www/html/weewx >> Mar 23 08:15:20 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:15:00 CDT (1648041300) to database 'weewx.sdb' >> Mar 23 08:15:20 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:15:00 CDT (1648041300) to daily summary in 'weewx.sdb' >> Mar 23 08:15:34 weewx weewx[531] INFO weewx.cheetahgenerator: Generated 8 >> files for report SeasonsReport in 12.49 seconds >> Mar 23 08:15:40 weewx weewx[531] INFO weewx.imagegenerator: Generated 17 >> images for report SeasonsReport in 6.38 seconds >> Mar 23 08:15:40 weewx weewx[531] INFO weewx.reportengine: Copied 0 files >> to /var/www/html/weewx >> Mar 23 08:17:01 weewx CRON[6249]: (root) CMD ( cd / && run-parts >> --report /etc/cron.hourly) >> Mar 23 08:20:24 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:20:00 CDT (1648041600) to database 'weewx.sdb' >> Mar 23 08:20:24 weewx weewx[531] INFO weewx.manager: Added record >> 2022-03-23 08:20:00 CDT (1648041600) to daily summary in 'weewx.sdb' >> Mar 23 08:20:27 weewx weewx[531] INFO weewx.restx: CWOP: Published record >> 2022-03-23 08:20:00 CDT (1648041600) >> Mar 23 08:20:37 weewx weewx[531] INFO weewx.cheetahgenerator: Generated 8 >> files for report SeasonsReport in 12.42 seconds >> Mar 23 08:20:44 weewx weewx[531] INFO weewx.imagegenerator: Generated 17 >> images for report SeasonsReport in 6.34 seconds >> Mar 23 08:20:44 weewx weewx[531] INFO weewx.reportengine: Copied 0 files >> to /var/www/html/weewx >> Mar 23 08:21:50 weewx weewx[531] ERROR user.gw1000: Failed to obtain >> response to command 'CMD_READ_SENSOR_ID_NEW' after 3 attempts >> Mar 23 08:21:50 weewx weewx[531] INFO user.gw1000: Attempting to >> re-discover GW1000... >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> Traceback (most recent call last): >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3587, in get_sensor_id >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> return self.send_cmd_with_retries('CMD_READ_SENSOR_ID_NEW') >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3740, in send_cmd_with_retries >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> raise GW1000IOError(_msg) >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> user.gw1000.GW1000IOError: Failed to obtain response to command >> 'CMD_READ_SENSOR_ID_NEW' after 3 attempts >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** During >> handling of the above exception, another exception occurred: >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> Traceback (most recent call last): >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3024, in run >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> self.client.collect_sensor_data() >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 2476, in collect_sensor_data >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> queue_data = self.get_live_sensor_data() >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 2525, in get_live_sensor_data >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> self.update_sensor_id_data() >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 2538, in update_sensor_id_data >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> sensor_id_data = self.station.get_sensor_id() >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3591, in get_sensor_id >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** if >> not self.rediscover(): >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3928, in rediscover >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> gw1000_str = ', '.join([':'.join(['%s:%d' % b]) for b in device_list]) >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** File >> "/usr/share/weewx/user/gw1000.py", line 3928, in <listcomp> >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> gw1000_str = ', '.join([':'.join(['%s:%d' % b]) for b in device_list]) >> Mar 23 08:21:56 weewx weewx[531] CRITICAL user.gw1000: **** >> TypeError: not enough arguments for format string >> Mar 23 08:44:17 weewx rngd[348]: stats: bits received from HRNG source: >> 2540064 >> Mar 23 08:44:17 weewx rngd[348]: stats: bits sent to kernel pool: 2492288 >> Mar 23 08:44:17 weewx rngd[348]: stats: entropy added to kernel pool: >> 2492288 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2 successes: 127 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2 failures: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2(2001-10-10) Monobit: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2(2001-10-10) Poker: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2(2001-10-10) Runs: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2(2001-10-10) Long run: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: FIPS 140-2(2001-10-10) Continuous >> run: 0 >> Mar 23 08:44:17 weewx rngd[348]: stats: HRNG source speed: (min=167.551; >> avg=706.343; max=848.890)Kibits/s >> >> On Saturday, March 26, 2022 at 3:03:58 PM UTC-5 Larry wrote: >> >>> Peter this is what I see with that command - so maybe problem is with >>> driver ? >>> I will read up on how to get better debug report >>> Thanks -Larry >>> pi@weewx:~ $ /etc/init.d/weewx status -1 >>> ● weewx.service - LSB: weewx weather system >>> Loaded: loaded (/etc/init.d/weewx; generated) >>> Active: active (running) since Sat 2022-03-19 21:44:27 CDT; 6 days >>> ago >>> Docs: man:systemd-sysv-generator(8) >>> Process: 261 ExecStart=/etc/init.d/weewx start (code=exited, >>> status=0/SUCCESS) >>> Tasks: 3 (limit: 415) >>> CPU: 6h 6min 9.621s >>> CGroup: /system.slice/weewx.service >>> └─531 python3 /usr/share/weewx/weewxd --daemon >>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf >>> >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** self.update_sensor_id_data() >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** File "/usr/share/weewx/user/gw1000.py", line 2538, in >>> update_sensor_id_data >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** sensor_id_data = self.station.get_sensor_id() >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** File "/usr/share/weewx/user/gw1000.py", line 3591, in get_sensor_id >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** if not self.rediscover(): >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** File "/usr/share/weewx/user/gw1000.py", line 3928, in rediscover >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** gw1000_str = ', '.join([':'.join(['%s:%d' % b]) for b in >>> device_list]) >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** File "/usr/share/weewx/user/gw1000.py", line 3928, in <listcomp> >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** gw1000_str = ', '.join([':'.join(['%s:%d' % b]) for b in >>> device_list]) >>> Mar 23 08:21:56 weewx python3[531]: weewx[531] CRITICAL user.gw1000: >>> **** TypeError: not enough arguments for format string >>> >>> On Saturday, March 26, 2022 at 1:46:08 PM UTC-5 [email protected] >>> wrote: >>> >>>> That log snippet doesn't tell us anything. It's all normal, successful >>>> operation of things that are not associated with Weewx. Is Weewx even >>>> running? >>>> >>>> what does >>>> /etc/init.d/weewx status >>>> show when you type it in at the command line? >>>> >>>> >>>> On Sat, Mar 26, 2022 at 11:29 AM Larry <[email protected]> wrote: >>>> >>>>> I have weewx running on dedicated raspberry pi zero W and has been >>>>> very stable no problems for long time. I am using a Ecowitt GW1002 that >>>>> uses GW1000 and I have the gw1000 api driver installed. It was running on >>>>> previous raspbian buster . >>>>> The last update to Weewx 4.7 really messed everything up. I think it >>>>> was mainly the skins section. I tried to get it all sorted out but finally >>>>> started all over with fresh Bullseye minimal, Weewx , apache, gw1000 >>>>> driver >>>>> etc. It would run for a few days but then quit reporting. I hadn't gotten >>>>> the real time clock module configured at that time, but finally got that >>>>> all sorted out in Bullseye. >>>>> Weewx ran good for a few days but now I am getting same thing that >>>>> seems to have stopped it before. >>>>> Below is the log . Any suggestions ? Thanks >>>>> Mar 26 13:08:54 weewx systemd[9210]: Listening on GnuPG cryptographic >>>>> agent and passphrase cache (access for web browsers). >>>>> Mar 26 13:08:54 weewx systemd[9210]: Listening on GnuPG cryptographic >>>>> agent and passphrase cache (restricted). >>>>> Mar 26 13:08:54 weewx systemd[9210]: Listening on GnuPG cryptographic >>>>> agent (ssh-agent emulation). >>>>> Mar 26 13:08:54 weewx systemd[9210]: Listening on GnuPG cryptographic >>>>> agent and passphrase cache. >>>>> Mar 26 13:08:54 weewx systemd[9210]: Reached target Sockets. >>>>> Mar 26 13:08:54 weewx systemd[9210]: Reached target Basic System. >>>>> Mar 26 13:08:54 weewx systemd[1]: Started User Manager for UID 1000. >>>>> Mar 26 13:08:54 weewx systemd[9210]: Reached target Main User Target. >>>>> Mar 26 13:08:54 weewx systemd[9210]: Startup finished in 1.176s. >>>>> Mar 26 13:08:54 weewx systemd[1]: Started Session 178 of user pi. >>>>> >>>>> -- >>>>> 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 [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/61cd1d1f-c96b-4fd2-9b3b-688f27367af4n%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/61cd1d1f-c96b-4fd2-9b3b-688f27367af4n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> >>>> >>>> -- >>>> Peter Quinn >>>> (415)794-2264 <(415)%20794-2264> >>>> >>> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/052d2e95-ea70-440c-8881-7460ac9b7bb6n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/052d2e95-ea70-440c-8881-7460ac9b7bb6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBWSiU0p%3DC0JtrycyqGvDrmmFT5unkMZL1phBRc8GYvMA%40mail.gmail.com.
