interesting. i have been running gw1000.py b12 since its release, and stopped watching closely as it was all working fine (no weewx losses - apart from pm2.5 sensors, which is different story). now that i go back to logs (debug==1), i see gw1000 service reported about 24 errors over last 36 hours at apparently random intervals (5 mins to 5 hours). service recovers cleanly, so i hadn’t noticed. but it shows how critical the recovery function is to the gw1000 service - who know what evil lurks under the “WS View” phone app provided...
mostly gw1000 service reports a single timeout. Sep 7 11:34:19 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds Sep 7 11:34:41 dizzy weewx[7853] DEBUG user.gw1000: Failed to obtain response to attempt 1 to send command 'CMD_GW1000_LIVEDATA': timed out Sep 7 11:34:52 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds occasionally it is a "connection reset" - presumably just happens to catch the GW1000 controller while it is failing. Sep 7 02:27:41 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds Sep 7 02:28:02 dizzy weewx[7853] DEBUG user.gw1000: Failed attempt 1 to send command 'CMD_READ_SENSOR_ID': [Errno 104] Connection reset by peer Sep 7 02:28:13 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds Sep 7 02:28:21 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds Sep 7 02:28:21 dizzy weewx[7853] INFO user.gw1000: Lightning counter wraparound detected: new=0 last=1 Sep 7 02:28:41 dizzy weewx[7853] DEBUG user.gw1000: Next update in 20 seconds in my case, it is not a DHCP issue as the ipaddr doesn’t change, the period between failures is far too short for lease expiries, and it is assigned ipaddr by mac address anyway. prime facie the GW1000 controller (or at least its wifi interface) is resetting itself at random intervals. has this behaviour been seen elsewhere? now i bring in my pm2.5 sensors reporting to the GW1000 controller. i have two. they both reset sporadically (losing state, so it is not just interface reset), and often at the same time. this interval appears to be several days, not 1½ hours like above. i wonder if it is related to the apparent GW1000 controller resets > On 7 Sep 2020, at 7:47 am, gjr80 <[email protected]> wrote: > > The error you were seeing above resulted from the driver incorrectly > discovering/re-establishing contact following lost contact with the GW1000. > It was not clear as to the cause of the lost contact, it could any of a > multitude of causes, but it did seem to recur regularly. I would set debug = > 1 and run the driver as normal. Any failure to re-establish contact (causing > WeeWX to exit) after a lost contact means I still don’t have it right. If you > experience lost contact and the driver successfully re-establishes contact > then maybe I have it right. I would be monitoring your logs for a few days to > see if there is any lost contact and successful re-established contact. If > after a few days there have been some successful recoveries from lost contact > and there have been no WeeWX exits due to lost contact I would set debug = 0 > and consider it fixed. > > Gary > > On Monday, 7 September 2020 at 07:20:13 UTC+10 [email protected] wrote: > Ok, so im trying to install the new realease and heres what happens. > > pi@raspberrypi:~ $ wee_extension --install=/var/tmp/gw1000-0.1.0b12.tar.gz > Request to install '/var/tmp/gw1000-0.1.0b12.tar.gz' > Extracting from tar archive /var/tmp/gw1000-0.1.0b12.tar.gz > Traceback (most recent call last): > File "/usr/share/weewx/wee_extension", line 88, in <module> > main() > File "/usr/share/weewx/wee_extension", line 80, in main > ext.install_extension(options.install) > File "/usr/share/weewx/weecfg/extension.py", line 123, in install_extension > self.install_from_dir(extension_dir) > File "/usr/share/weewx/weecfg/extension.py", line 181, in install_from_dir > shutil.copy(source_path, destination_path) > File "/usr/lib/python3.7/shutil.py", line 245, in copy > copyfile(src, dst, follow_symlinks=follow_symlinks) > File "/usr/lib/python3.7/shutil.py", line 121, in copyfile > with open(dst, 'wb') as fdst: > PermissionError: [Errno 13] Permission denied: > '/usr/share/weewx/user/gw1000.py' > > > On Saturday, September 5, 2020 at 5:59:11 PM UTC-4 gjr80 wrote: > Yes, the b12 release was notified here > <https://groups.google.com/g/weewx-user/c/xzMGr3HXNYQ>. Just install b12 over > the top of your current version. > > Gary > > On Sunday, 6 September 2020 at 07:11:18 UTC+10 [email protected] <> > wrote: > Have you go the new GW1000 driver ready to download yet? If so, how can I do > it? Sorry for all the trouble! > > > On Friday, August 28, 2020 at 3:45:47 PM UTC-4, Luke Marcum wrote: > Ok, thanks! > > On Thursday, August 27, 2020 at 9:15:27 AM UTC-4, gjr80 wrote: > Thanks Luke, I have a logic error in the code that sends commands direct to > the GW1000 API. Under certain circumstances the code incorrectly signals that > it needs to shutdown which for a driver causes WeeWX to shutdown. I am > working through problem now and should have fix in a day or so. > > Gary > > On Thursday, 27 August 2020 at 05:58:11 UTC+10 [email protected] <> > wrote: > Here's the log: > > Aug 26 13:47:52 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:48:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:49:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record > 2020-08-26 13:50:00 EDT (1598464200) to database 'weewx.sdb' > Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record > 2020-08-26 13:50:00 EDT (1598464200) to daily summary in 'weewx.sdb' > Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record > 2020-08-26 13:50:00 EDT (1598464200) to database 'weewxwd.sdb' > Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record > 2020-08-26 13:50:00 EDT (1598464200) to daily summary in 'weewxwd.sdb' > Aug 26 13:50:53 raspberrypi weewx[1528] INFO weewx.manager: Added record > 2020-08-26 13:50:00 EDT (1598464200) to database 'wdsupp.sdb' > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > reports for latest time in the database. > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'SeasonsReport' > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/Seasons/skin.conf for report > 'SeasonsReport' > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Using > search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', > 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', > 'weewx.cheetahgenerator.Extras'] > Aug 26 13:50:53 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:54 raspberrypi weewx[1528] DEBUG weewx.restx: Wunderground-PWS: > Failed upload attempt 1: HTTP Error 401: Unauthorized > Aug 26 13:50:54 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: > Generated 8 files for report SeasonsReport in 0.85 seconds > Aug 26 13:50:54 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.imagegenerator: Generated > 15 images for report SeasonsReport in 0.50 seconds > Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.reportengine: Copied 0 > files to /var/www/html/weewx > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report > 'SmartphoneReport' not enabled. Skipping. > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report > 'MobileReport' not enabled. Skipping. > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report > 'StandardReport' not enabled. Skipping. > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'wdPWS' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/PWS/skin.conf for report 'wdPWS' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Using > search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', > 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', > 'weewx.cheetahgenerator.Extras', ''] > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: > Generated 1 files for report wdPWS in 0.04 seconds > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'wdStackedWindRose' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/StackedWindRose/skin.conf for report > 'wdStackedWindRose' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:55 raspberrypi weewx[1528] INFO user.stackedwindrose: Generated > 1 images for wdStackedWindRose in 0.05 seconds > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'wdTesttags' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/Testtags/skin.conf for report 'wdTesttags' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Using > search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', > 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', > 'weewx.cheetahgenerator.Extras', 'user.wdsearchlist.WdMonthStats', > 'user.wdsearchlist.WdLastRainTags', 'user.wdsearchlist.WdTimeSpanTags', > 'user.wdsearchlist.WdAvgWindTags', 'user.wdsearchlist.WdSundryTags', > 'user.wdsearchlist.WdSkinDict', 'user.wdsearchlist.WdMonthlyReportStats', > 'user.wdsearchlist.WdWindRunTags', 'user.wdsearchlist.WdHourRainTags', > 'user.wdsearchlist.WdGdDays', 'user.wdsearchlist.WdForToday', > 'user.wdsearchlist.WdRainThisDay', 'user.wdsearchlist.WdRainDays', > 'user.wdastro.MoonApsis', 'user.wdastro.Eclipse', 'user.wdastro.EarthApsis', > 'user.wdastro.ChineseNewYear', 'user.wdsearchlist.WdYestAlmanac', > 'user.wdsearchlist.WdTaggedStats', 'user.wdsearchlist.WdTaggedArchiveStats', > 'user.wdsearchlist.WdManualAverages'] > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:55 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: > Generated 1 files for report wdTesttags in 0.59 seconds > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'wdClientraw' > Aug 26 13:50:55 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/Clientraw/skin.conf for report > 'wdClientraw' > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Using > search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', > 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', > 'weewx.cheetahgenerator.Extras', 'user.wdsearchlist.WdMonthStats', > 'user.wdsearchlist.WdLastRainTags', 'user.wdsearchlist.WdTimeSpanTags', > 'user.wdsearchlist.WdSundryTags', 'user.wdsearchlist.WdSkinDict', > 'user.wdsearchlist.WdWindRunTags', 'user.wdsearchlist.WdYestAlmanac', > 'user.wdsearchlist.WdTaggedStats', 'user.wdsearchlist.WdTaggedArchiveStats', > 'user.wdsearchlist.WdRainDays', 'user.wdsearchlist.WdManualAverages'] > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.manager: Daily summary > version is 2.0 > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Skip > 'clientrawextra.txt': last_mod=1598463954.7997284 age=301.32956314086914 > stale=600 > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Skip > 'clientrawhour.txt': last_mod=1598463955.0897214 age=301.04062151908875 > stale=600 > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.cheetahgenerator: Skip > 'clientrawdaily.txt': last_mod=1598463955.2897165 age=300.8416323661804 > stale=600 > Aug 26 13:50:56 raspberrypi weewx[1528] INFO weewx.cheetahgenerator: > Generated 1 files for report wdClientraw in 0.14 seconds > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.reportengine: Running > report 'FTP' > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weewx.reportengine: Found > configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Attempting > connection to ekyrrgweather.com <http://ekyrrgweather.com/> > Aug 26 13:50:56 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Connected to > ekyrrgweather.com <http://ekyrrgweather.com/> > Aug 26 13:50:57 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayhum.png to /ekyrrgweather.com/dayhum.png > <http://ekyrrgweather.com/dayhum.png> > Aug 26 13:50:58 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayrain.png to /ekyrrgweather.com/dayrain.png > <http://ekyrrgweather.com/dayrain.png> > Aug 26 13:50:58 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayuv.png to /ekyrrgweather.com/dayuv.png > <http://ekyrrgweather.com/dayuv.png> > Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daybarometer.png to > /ekyrrgweather.com/daybarometer.png > <http://ekyrrgweather.com/daybarometer.png> > Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weewx.restx: Wunderground-PWS: > Failed upload attempt 2: HTTP Error 401: Unauthorized > Aug 26 13:50:59 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/index.html to /ekyrrgweather.com/index.html > <http://ekyrrgweather.com/index.html> > Aug 26 13:51:00 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daytempin.png to /ekyrrgweather.com/daytempin.png > <http://ekyrrgweather.com/daytempin.png> > Aug 26 13:51:01 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayrx.png to /ekyrrgweather.com/dayrx.png > <http://ekyrrgweather.com/dayrx.png> > Aug 26 13:51:01 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daytempdew.png to /ekyrrgweather.com/daytempdew.png > <http://ekyrrgweather.com/daytempdew.png> > Aug 26 13:51:02 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/statistics.html to > /ekyrrgweather.com/statistics.html <http://ekyrrgweather.com/statistics.html> > Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daywindvec.png to /ekyrrgweather.com/daywindvec.png > <http://ekyrrgweather.com/daywindvec.png> > Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daywinddir.png to /ekyrrgweather.com/daywinddir.png > <http://ekyrrgweather.com/daywinddir.png> > Aug 26 13:51:03 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daytemp.png to /ekyrrgweather.com/daytemp.png > <http://ekyrrgweather.com/daytemp.png> > Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daytempfeel.png to > /ekyrrgweather.com/daytempfeel.png <http://ekyrrgweather.com/daytempfeel.png> > Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weewx.restx: Wunderground-PWS: > Failed upload attempt 3: HTTP Error 401: Unauthorized > Aug 26 13:51:04 raspberrypi weewx[1528] ERROR weewx.restx: Wunderground-PWS: > Failed to publish record 2020-08-26 13:50:00 EDT (1598464200): Failed upload > after 3 tries > Aug 26 13:51:04 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/daywind.png to /ekyrrgweather.com/daywind.png > <http://ekyrrgweather.com/daywind.png> > Aug 26 13:51:05 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayradiation.png to > /ekyrrgweather.com/dayradiation.png > <http://ekyrrgweather.com/dayradiation.png> > Aug 26 13:51:05 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/rss.xml to /ekyrrgweather.com/rss.xml > <http://ekyrrgweather.com/rss.xml> > Aug 26 13:51:06 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayhumin.png to /ekyrrgweather.com/dayhumin.png > <http://ekyrrgweather.com/dayhumin.png> > Aug 26 13:51:06 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/dayvolt.png to /ekyrrgweather.com/dayvolt.png > <http://ekyrrgweather.com/dayvolt.png> > Aug 26 13:51:07 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/tabular.html to /ekyrrgweather.com/tabular.html > <http://ekyrrgweather.com/tabular.html> > Aug 26 13:51:07 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/celestial.html to /ekyrrgweather.com/celestial.html > <http://ekyrrgweather.com/celestial.html> > Aug 26 13:51:08 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/telemetry.html to /ekyrrgweather.com/telemetry.html > <http://ekyrrgweather.com/telemetry.html> > Aug 26 13:51:08 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/WD/daywindrose.png to > /ekyrrgweather.com/WD/daywindrose.png > <http://ekyrrgweather.com/WD/daywindrose.png> > Aug 26 13:51:09 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/WD/testtags.php to > /ekyrrgweather.com/WD/testtags.php <http://ekyrrgweather.com/WD/testtags.php> > Aug 26 13:51:09 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/WD/clientraw.txt to > /ekyrrgweather.com/WD/clientraw.txt > <http://ekyrrgweather.com/WD/clientraw.txt> > Aug 26 13:51:10 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/WD/weewx_pws.xml to > /ekyrrgweather.com/WD/weewx_pws.xml > <http://ekyrrgweather.com/WD/weewx_pws.xml> > Aug 26 13:51:10 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/NOAA/NOAA-2020-08.txt to > /ekyrrgweather.com/NOAA/NOAA-2020-08.txt > <http://ekyrrgweather.com/NOAA/NOAA-2020-08.txt> > Aug 26 13:51:11 raspberrypi weewx[1528] DEBUG weeutil.ftpupload: Uploaded > file /var/www/html/weewx/NOAA/NOAA-2020.txt to > /ekyrrgweather.com/NOAA/NOAA-2020.txt > <http://ekyrrgweather.com/NOAA/NOAA-2020.txt> > Aug 26 13:51:11 raspberrypi weewx[1528] INFO weewx.reportengine: > ftpgenerator: Ftp'd 27 files in 15.08 seconds > Aug 26 13:51:11 raspberrypi weewx[1528] DEBUG weewx.reportengine: Report > 'RSYNC' not enabled. Skipping. > Aug 26 13:51:53 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:52:56 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed > attempt 1 to send command 'CMD_GW1000_LIVEDATA': timed out > Aug 26 13:53:08 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed > attempt 2 to send command 'CMD_GW1000_LIVEDATA': timed out > Aug 26 13:53:20 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Failed > attempt 3 to send command 'CMD_GW1000_LIVEDATA': timed out > Aug 26 13:53:20 raspberrypi weewx[1528] ERROR gw1000: user.gw1000: Failed to > send command 'CMD_GW1000_LIVEDATA' after 3 attempts > Aug 26 13:53:20 raspberrypi weewx[1528] INFO gw1000: user.gw1000: Attempting > to re-discover GW1000... > Aug 26 13:53:22 raspberrypi weewx[1528] INFO gw1000: user.gw1000: GW1000 was > found at 192.168.100.101:45000 <http://192.168.100.101:45000/> > Aug 26 13:53:22 raspberrypi weewx[1528] INFO gw1000: user.gw1000: GW1000 at > address 192.168.100.101:45000 <http://192.168.100.101:45000/> will be used > Aug 26 13:53:22 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Unable to > obtain live data > Aug 26 13:53:22 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: Next > update in 60 seconds > Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG gw1000: user.gw1000: > Gw1000Collector thread has been terminated > Aug 26 13:53:23 raspberrypi weewx[1528] INFO weewx.engine: Main loop exiting. > Shutting engine down. > Aug 26 13:53:23 raspberrypi weewx[1528] INFO weewx.engine: Shutting down > StdReport thread > Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG weewx.engine: StdReport thread > has been terminated > Aug 26 13:53:23 raspberrypi weewx[1528] DEBUG weewx.restx: Shut down > Wunderground-PWS thread. > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: Caught > unrecoverable exception: > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** > Gw1000Collector needs to shutdown > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** > Traceback (most recent call last): > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** File > "/usr/share/weewx/weewxd", line 154, in main > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** > engine.run() > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 188, in run > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** for > packet in self.console.genLoopPackets(): > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** File > "/usr/share/weewx/user/gw1000.py", line 1499, in genLoopPackets > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** > raise GW1000IOError("Gw1000Collector needs to shutdown") > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** > user.gw1000.GW1000IOError: Gw1000Collector needs to shutdown > Aug 26 13:53:23 raspberrypi weewx[1528] CRITICAL __main__: **** Exiting. > Aug 26 13:56:21 raspberrypi rngd[346]: stats: bits received from HRNG source: > 80064 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: bits sent to kernel pool: 34336 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: entropy added to kernel pool: > 34336 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2 successes: 4 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2 failures: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) Monobit: > 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) Poker: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) Runs: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) Long > run: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS 140-2(2001-10-10) > Continuous run: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: HRNG source speed: > (min=108.054; avg=181.075; max=501.882)Kibits/s > Aug 26 13:56:21 raspberrypi rngd[346]: stats: FIPS tests speed: (min=5.796; > avg=9.849; max=15.685)Mibits/s > Aug 26 13:56:21 raspberrypi rngd[346]: stats: Lowest ready-buffers level: 2 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: Entropy starvations: 0 > Aug 26 13:56:21 raspberrypi rngd[346]: stats: Time spent starving for > entropy: (min=0; avg=0.000; max=0)us > Aug 26 14:17:01 raspberrypi CRON[2517]: (root) CMD ( cd / && run-parts > --report /etc/cron.hourly) > Aug 26 14:56:21 raspberrypi rngd[346]: stats: bits received from HRNG source: > 120064 > Aug 26 14:56:21 raspberrypi rngd[346]: stats: bits sent to kernel pool: 64096 > Aug 26 14:56:21 raspberrypi rngd[346]: stats: entropy added to kernel pool: > 64096 > > On Wednesday, August 26, 2020 at 12:51:42 PM UTC-4 Luke Marcum wrote: > Ok, I just had the error happen again last night. I will post the log > extract here, I've been a little busy lately so its taken me a little bit to > work on this! > > > On Saturday, August 22, 2020 at 10:17:07 PM UTC-4, gjr80 wrote: > Hi, > > Long story short but part of the GW1000 driver wants to shutdown. To try and > work out why we need a bit more info. Could you edit weewx.conf, set debug = > 1, save weewx.conf and restart WeeWX. Let WeeWX run for a couple of archive > intervals and then take a log extract from when you restarted WeeWX through > until the couple of archive intervals have passed. Post the log extract here. > If no errors such as the above are in the extract let WeeWX continue to run > and when you next find an error in the log take a log extract from around > five minutes before the error through until a couple of minutes after the > error and post that extract. > > Would also help to see you [GW1000] stanza from weewx.conf. > > Gary > > On Sunday, 23 August 2020 at 11:48:47 UTC+10 [email protected] <> wrote: > How can I fix this? What is happening? > > > On Saturday, August 22, 2020 at 9:48:24 PM UTC-4 Luke Marcum wrote: > Here's what it says in the log around the time it stopped reporting. This > seems top be what is happening. > > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: Caught > unrecoverable exception: > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** > Gw1000Collector needs to shutdown > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** > Traceback (most recent call last): > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** File > "/usr/share/weewx/weewxd", line 154, in main > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** > engine.run() > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 188, in run > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** for > packet in self.console.genLoopPackets(): > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** File > "/usr/share/weewx/user/gw1000.py", line 1499, in genLoopPackets > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** > raise GW1000IOError("Gw1000Collector needs to shutdown") > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** > user.gw1000.GW1000IOError: Gw1000Collector needs to shutdown > Aug 22 19:02:56 raspberrypi weewx[1533] CRITICAL __main__: **** Exiting. > > On Saturday, August 22, 2020 at 8:32:37 PM UTC-4 [email protected] <> wrote: > Hard to say what's going on without the log. See the wiki article Help! > Posting to weewx-user > <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>. > > On Sat, Aug 22, 2020 at 5:01 PM Luke Marcum <[email protected] <>> > wrote: > So, I've recently set up weewx to run on my pi. It was running fine the > first few days but now on the file:///var/www/html/weewx/index.html page with > graphs and current conditions it has stopped updating twice today. The first > time it stopped updating, it didn't update for around two hours so I decided > to restart my pi and it started updating again. This lead to there being a > spot in the graphs where there is no data. Now it has done it again for the > second time today. Is there any way I can fix it from doing this? I am > using my GW1000 to upload data to weewx. > > -- > 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/4aeb0619-7dea-49d0-8fe3-a46e3edca5f1o%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/4aeb0619-7dea-49d0-8fe3-a46e3edca5f1o%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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/80bde180-f57b-4bff-b855-bdd0ac6fea42n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/80bde180-f57b-4bff-b855-bdd0ac6fea42n%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/087CD889-3A15-4076-8F72-D1FF1101F130%40gmail.com.
