weewx stops at 00:00 after changing to vantage and weewx 3.9.1

75 views
Skip to first unread message

Geni

unread,
Jul 17, 2019, 6:35:36 AM7/17/19
to weewx-user
i used weewx with a FineOffset 1080 with a raspberry, everything works fine for round about 3 year. Now i bought a vantage pro2, i changed the configuration using wee_config with the --reconfigure option from FineOffsetUSB to Vantage.
I believe with weewx 3.8.1 everything went normal and the problems started after the update 3.9.1.
Now that, weewx stops after about 5 to 10 days at exactly 00:00.
After a weewx restart, it's back to normal for a couple of days

In /var/log/debug i found the following:

Jul 17 00:02:55 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/index.html
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: Running report 'RSYNC'
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: Cannot read skin configuration file /etc/weewx/skins/skin.conf for report 'RSYNC': Config file not found: "/etc/weewx/skins/skin.conf".
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: No generators specified for report 'RSYNC'
Jul 17 00:06:54 raspberrypi weewx[14915]: vantage: Requesting 200 LOOP packets.
Jul 17 00:06:54 raspberrypi weewx[14915]: vantage: Gentle wake up of console successful
Jul 17 00:10:00 raspberrypi weewx[14915]: engine: StdReport thread has been terminated
Jul 17 00:12:01 raspberrypi weewx[14915]: engine: Debug is 1
Jul 17 00:12:01 raspberrypi weewx[14915]: engine: Initializing engine
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Driver version is 3.1.1
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Gentle wake up of console successful
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #0
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #1
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #2
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #3

What can i do?

Greetings,
Geni

Thomas Keffer

unread,
Jul 17, 2019, 8:34:57 AM7/17/19
to weewx-user
A couple suggestions:

1. You did not post very much of the log. In particular, what happened at 00:00. Do you have any more?
2. Did you try the test in Establishing connectivity?

-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ea656dcb-1daf-45a2-b028-9426f431116b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Milner

unread,
Jul 17, 2019, 9:14:25 AM7/17/19
to weewx-user
I notice the logfile is called debug - does this mean you are running all the time with debug in weewx enabled?  Have you set the RPi to do log rotation and compression and create a weewx log in a seperate file?  Is it possible your sd card on the rpi is filling up - if you are running with debug enabled??

More log - as Tom says especially from 2355 - 0005 would shed more light on what is happening at midnight and possible cause of your problem.



On Wednesday, 17 July 2019 15:34:57 UTC+3, Thomas Keffer wrote:
A couple suggestions:

1. You did not post very much of the log. In particular, what happened at 00:00. Do you have any more?
2. Did you try the test in Establishing connectivity?

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Geni

unread,
Jul 17, 2019, 9:33:30 AM7/17/19
to weewx-user
The debug mode is one because of the error, compressed debugfiles are made.
The SD card has enough space, with me everything is written to a NAS.

Here is the desired log:

Jul 16 23:51:06 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/barometer.html
Jul 16 23:51:07 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/index.html
Jul 16 23:51:07 raspberrypi weewx[14915]: reportengine: Running report 'RSYNC'
Jul 16 23:51:07 raspberrypi weewx[14915]: reportengine: Cannot read skin configuration file /etc/weewx/skins/skin.conf for report 'RSYNC': Config file not found: "/etc/weewx/skins/skin.conf".
Jul 16 23:51:07 raspberrypi weewx[14915]: reportengine: No generators specified for report 'RSYNC'
Jul 16 23:56:52 raspberrypi weewx[14915]: vantage: Requesting 200 LOOP packets.
Jul 16 23:56:52 raspberrypi weewx[14915]: vantage: Gentle wake up of console successful
Jul 17 00:00:16 raspberrypi weewx[14915]: vantage: Requesting 200 LOOP packets.
Jul 17 00:00:16 raspberrypi weewx[14915]: reportengine: Running reports for latest time in the database.
Jul 17 00:00:16 raspberrypi weewx[14915]: reportengine: Running report 'StandardReport'
Jul 17 00:00:16 raspberrypi weewx[14915]: vantage: Rude wake up of console successful
Jul 17 00:00:17 raspberrypi weewx[14915]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report 'StandardReport'
Jul 17 00:00:17 raspberrypi weewx[14915]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jul 17 00:00:20 raspberrypi weewx[14915]: manager: Daily summary version is 2.0
Jul 17 00:00:37 raspberrypi weewx[14915]: manager: Daily summary version is 2.0
Jul 17 00:02:13 raspberrypi weewx[14915]: manager: Daily summary version is 2.0
Jul 17 00:02:13 raspberrypi weewx[14915]: GaugeGenerator: windSpeed reading = 6.64523822529 km_per_hour
Jul 17 00:02:14 raspberrypi weewx[14915]: GaugeGenerator: windGust reading = 11.2654640002 km_per_hour
Jul 17 00:02:15 raspberrypi weewx[14915]: GaugeGenerator: windDir reading = 242.218698495 degree_compass
Jul 17 00:02:16 raspberrypi weewx[14915]: GaugeGenerator: windRose reading = 242.218698495 degree_compass
Jul 17 00:02:22 raspberrypi weewx[14915]: reportengine: Running report 'FTP'
Jul 17 00:02:22 raspberrypi weewx[14915]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Jul 17 00:02:22 raspberrypi weewx[14915]: ftpupload: Attempting secure connection to 192.168.56.1
Jul 17 00:02:24 raspberrypi weewx[14915]: ftpupload: Secure data connection to 192.168.56.1
Jul 17 00:02:25 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daybarometer.png
Jul 17 00:02:25 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayinhum.png
Jul 17 00:02:26 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayinside.png
Jul 17 00:02:26 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayouthum.png
Jul 17 00:02:27 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daypond.png
Jul 17 00:02:27 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayradiation.png
Jul 17 00:02:27 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayrain.png
Jul 17 00:02:28 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daytempchill.png
Jul 17 00:02:28 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daytempdew.png
Jul 17 00:02:29 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/dayuv.png
Jul 17 00:02:29 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daywind.png
Jul 17 00:02:30 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daywinddir.png
Jul 17 00:02:30 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/daywindvec.png
Jul 17 00:02:31 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthbarometer.png
Jul 17 00:02:31 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthinside.png
Jul 17 00:02:31 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthouthum.png
Jul 17 00:02:32 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthpond.png
Jul 17 00:02:32 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthradiation.png
Jul 17 00:02:33 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthrain.png
Jul 17 00:02:33 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthtempchill.png
Jul 17 00:02:33 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthtempdew.png
Jul 17 00:02:34 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthuv.png
Jul 17 00:02:34 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthwind.png
Jul 17 00:02:35 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthwinddir.png
Jul 17 00:02:35 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/monthwindvec.png
Jul 17 00:02:35 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekbarometer.png
Jul 17 00:02:36 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekinside.png
Jul 17 00:02:36 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekouthum.png
Jul 17 00:02:37 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekpond.png
Jul 17 00:02:37 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekradiation.png
Jul 17 00:02:38 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekrain.png
Jul 17 00:02:38 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weektempchill.png
Jul 17 00:02:38 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weektempdew.png
Jul 17 00:02:39 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekuv.png
Jul 17 00:02:39 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekwind.png
Jul 17 00:02:40 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekwinddir.png
Jul 17 00:02:40 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/weekwindvec.png
Jul 17 00:02:41 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/windDirGauge.png
Jul 17 00:02:41 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/windGustGauge.png
Jul 17 00:02:41 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/windRoseGauge.png
Jul 17 00:02:42 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/windSpeedGauge.png
Jul 17 00:02:42 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearbarometer.png
Jul 17 00:02:43 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearhilow.png
Jul 17 00:02:43 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearinside.png
Jul 17 00:02:44 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearouthum.png
Jul 17 00:02:44 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearpond.png
Jul 17 00:02:44 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearradiation.png
Jul 17 00:02:45 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearrain.png
Jul 17 00:02:45 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yeartempchill.png
Jul 17 00:02:46 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yeartempdew.png
Jul 17 00:02:46 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearuv.png
Jul 17 00:02:47 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearwind.png
Jul 17 00:02:47 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearwinddir.png
Jul 17 00:02:47 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/yearwindvec.png
Jul 17 00:02:48 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/week.html
Jul 17 00:02:48 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/mobile.html
Jul 17 00:02:49 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/month.html
Jul 17 00:02:49 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/year.html
Jul 17 00:02:49 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/index.html
Jul 17 00:02:50 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/NOAA/NOAA-2019.txt
Jul 17 00:02:50 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/NOAA/NOAA-2019-07.txt
Jul 17 00:02:51 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/RSS/weewx_rss.xml
Jul 17 00:02:51 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/temp_outside.html
Jul 17 00:02:52 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/sun_mond.html
Jul 17 00:02:53 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/radar.html
Jul 17 00:02:53 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/wind.html
Jul 17 00:02:54 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/rain.html
Jul 17 00:02:54 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/barometer.html

Jul 17 00:02:55 raspberrypi weewx[14915]: ftpupload: Uploaded file /web/wetter/smartphone/index.html
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: Running report 'RSYNC'
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: Cannot read skin configuration file /etc/weewx/skins/skin.conf for report 'RSYNC': Config file not found: "/etc/weewx/skins/skin.conf".
Jul 17 00:02:55 raspberrypi weewx[14915]: reportengine: No generators specified for report 'RSYNC'
Jul 17 00:06:54 raspberrypi weewx[14915]: vantage: Requesting 200 LOOP packets.
Jul 17 00:06:54 raspberrypi weewx[14915]: vantage: Gentle wake up of console successful
Jul 17 00:10:00 raspberrypi weewx[14915]: engine: StdReport thread has been terminated
Jul 17 00:12:01 raspberrypi weewx[14915]: engine: Debug is 1
Jul 17 00:12:01 raspberrypi weewx[14915]: engine: Initializing engine
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Driver version is 3.1.1
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: Gentle wake up of console successful
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #0
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #1
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #2
Jul 17 00:12:01 raspberrypi weewx[14915]: vantage: _determine_hardware; retry #3

Regards
Geni

Geni

unread,
Jul 17, 2019, 9:35:48 AM7/17/19
to weewx-user
If the error occurs this is always at 00: 00h

gjr80

unread,
Jul 17, 2019, 9:44:19 AM7/17/19
to weewx-user
Hmm, no archive records being generated/saved at 23:55, 00:00, 00:05 and most likely 00:10. I’d say there is a more fundamental problem here rather than ‘just at midnight’. Given this is a reconfigured system now using a Davis station, I would be stopping WeeWX, doing a logger memory dump then clearing the logger; in other words following the steps for corrupt station memory (http://weewx.com/docs/usersguide.htm#Corrupt_station_memory).

Gary

Thomas Keffer

unread,
Jul 17, 2019, 9:52:17 AM7/17/19
to weewx-user
I agree with Gary, although I wonder why weewx did not even try to download from the logger?

What archive interval is your logger using? You can find out by taking a look in your log when weewx starts up. You'll see something like:

Jul 17 06:49:46 nuc weewx[7131]: engine: Loading service weewx.engine.StdArchive
Jul 17 06:49:46 nuc weewx[7131]: engine: Archive will use data binding wx_binding
Jul 17 06:49:46 nuc weewx[7131]: engine: Record generation will be attempted in 'hardware'
Jul 17 06:49:46 nuc weewx[7131]: engine: Using archive interval of 300 seconds (specified by hardware)
Jul 17 06:49:46 nuc weewx[7131]: engine: Use LOOP data in hi/low calculations: 1
Jul 17 06:49:46 nuc weewx[7131]: manager: Daily summary version is 1.0
Jul 17 06:49:46 nuc weewx[7131]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jul 17 06:49:46 nuc weewx[7131]: manager: Starting backfill of daily summaries
Jul 17 06:49:46 nuc weewx[7131]: engine: Finished loading service weewx.engine.StdArchive



On Wed, Jul 17, 2019 at 6:44 AM gjr80 <gjrod...@gmail.com> wrote:
Hmm, no archive records being generated/saved at 23:55, 00:00, 00:05 and most likely 00:10. I’d say there is a more fundamental problem here rather than ‘just at midnight’. Given this is a reconfigured system now using a Davis station, I would be stopping WeeWX, doing a logger memory dump then clearing the logger; in other words following the steps for corrupt station memory (http://weewx.com/docs/usersguide.htm#Corrupt_station_memory).

Gary

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9580fb2e-8308-4486-b4f5-86ebd6ffc6d1%40googlegroups.com.

Geni

unread,
Jul 17, 2019, 9:54:03 AM7/17/19
to weewx-user
Here's the whole debugfile since the last reboot


Am Mittwoch, 17. Juli 2019 12:35:36 UTC+2 schrieb Geni:
debug.zip

Geni

unread,
Jul 17, 2019, 10:10:48 AM7/17/19
to weewx-user
In which log should this be? My syslog gets no entries.


Am Mittwoch, 17. Juli 2019 15:52:17 UTC+2 schrieb Thomas Keffer:
I agree with Gary, although I wonder why weewx did not even try to download from the logger?

What archive interval is your logger using? You can find out by taking a look in your log when weewx starts up. You'll see something like:

Jul 17 06:49:46 nuc weewx[7131]: engine: Loading service weewx.engine.StdArchive
Jul 17 06:49:46 nuc weewx[7131]: engine: Archive will use data binding wx_binding
Jul 17 06:49:46 nuc weewx[7131]: engine: Record generation will be attempted in 'hardware'
Jul 17 06:49:46 nuc weewx[7131]: engine: Using archive interval of 300 seconds (specified by hardware)
Jul 17 06:49:46 nuc weewx[7131]: engine: Use LOOP data in hi/low calculations: 1
Jul 17 06:49:46 nuc weewx[7131]: manager: Daily summary version is 1.0
Jul 17 06:49:46 nuc weewx[7131]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jul 17 06:49:46 nuc weewx[7131]: manager: Starting backfill of daily summaries
Jul 17 06:49:46 nuc weewx[7131]: engine: Finished loading service weewx.engine.StdArchive



On Wed, Jul 17, 2019 at 6:44 AM gjr80 <gjrod...@gmail.com> wrote:
Hmm, no archive records being generated/saved at 23:55, 00:00, 00:05 and most likely 00:10. I’d say there is a more fundamental problem here rather than ‘just at midnight’. Given this is a reconfigured system now using a Davis station, I would be stopping WeeWX, doing a logger memory dump then clearing the logger; in other words following the steps for corrupt station memory (http://weewx.com/docs/usersguide.htm#Corrupt_station_memory).

Gary

--
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 weewx...@googlegroups.com.

Geni

unread,
Jul 17, 2019, 10:39:05 AM7/17/19
to weewx-user
the answer from wee_device --info is 600 (seconds) and
the archive_interval is 600.

Am Mittwoch, 17. Juli 2019 12:35:36 UTC+2 schrieb Geni:

Thomas Keffer

unread,
Jul 18, 2019, 8:21:31 AM7/18/19
to weewx-user
Your system log is very unusual. Lots of information is missing.
  • Have you modified rsyslog to change what gets logged?
  • Be sure that debug=1 in weewx.conf.
  • Stop, then restart weewx. Wait 10 minutes. Post the log.
-tk


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4b73f414-6428-483f-86e3-b87804661282%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages