Difference between hardware and software for the record_generation setting

368 views
Skip to first unread message

Henry Williams

unread,
Oct 20, 2013, 11:56:25 AM10/20/13
to weewx...@googlegroups.com
I've read the manual but not sure I understand the difference between hardware and software for the record_generation setting.

Am I right in saying that using the 'software' setting, weewx reads current data from the station and records its own logs; but using the 'hardware' setting, it just downloads the logs from the station?

If the 'software' setting is used and there's a power failure, will weewx fall back to downloading records from the station to fill in the gap during the power failure or will there just be a gap in the data?

Thomas Keffer

unread,
Oct 20, 2013, 9:33:58 PM10/20/13
to weewx-user
You pretty much have it right. See the manual for details.

If your station has a logger and you set to 'software' and there's a power failure, it will not fill in the gap.

-tk



--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

david murphy

unread,
Oct 21, 2013, 4:56:59 AM10/21/13
to weewx...@googlegroups.com
I have had my system (Raspi / Davis Vantage Pro 2) up and running for a week gathering data and I realised
that in my weewx.conf I was using 'software' as opposed to 'hardware' option. I know the Vantage Pro logs
the data so I really should use the hardware option. I made the change and now get this error. Both my weewx.conf & skin.conf are bog standard at the moment..Any idea why i'm getting this error?

Oct 21 19:49:32 raspberrypi weewx[2308]: stats: stats database up to date.
Oct 21 19:49:32 raspberrypi weewx[2308]: wxengine: Using stats database: stats_sqlite
Oct 21 19:49:32 raspberrypi weewx[2308]: register: one or more unusable parameters.
Oct 21 19:49:32 raspberrypi weewx[2308]: **** station_url is not defined
Oct 21 19:49:32 raspberrypi weewx[2308]: wxengine: Starting up weewx version 2.5.0b1
Oct 21 19:49:35 raspberrypi weewx[2308]: wxengine: Clock error is -0.87 seconds (positive is fast)
Oct 21 19:49:35 raspberrypi weewx[2308]: wxengine: Starting main packet loop.
Oct 21 19:50:22 raspberrypi weewx[2308]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 2.03 seconds
Oct 21 19:50:26 raspberrypi weewx[2308]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 4.23 seconds
Oct 21 19:50:42 raspberrypi weewx[2308]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 15.68 seconds
Oct 21 19:50:45 raspberrypi weewx[2308]: genimages: Generated 11 images in 3.27 seconds
Oct 21 19:55:20 raspberrypi weewx[2308]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 1.11 seconds
Oct 21 19:55:22 raspberrypi weewx[2308]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 2.68 seconds
Oct 21 19:55:25 raspberrypi weewx[2308]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 2.78 seconds
Oct 21 19:55:28 raspberrypi weewx[2308]: genimages: Generated 11 images in 3.24 seconds

gjr80

unread,
Oct 21, 2013, 5:23:27 AM10/21/13
to weewx...@googlegroups.com
David,
In weewx.conf under [Station] have you unintentionally uncommented the station_url setting? If intentionally uncommented is it set correctly?

Gary

david murphy

unread,
Oct 21, 2013, 6:01:30 AM10/21/13
to weewx...@googlegroups.com
Gary,

Thanks for the prompt reply..I don't have a web server so its commented out as in ' # station_url = http://www.threefools.org' .

My may concern is that data to my local host (192.168.1.20/weewx/) & http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=INEWSOUT246 are not getting refreshed. As stated only change was from software to hardware in weewx.conf . Would providing a debug=1 output help?

gjr80

unread,
Oct 21, 2013, 6:29:33 AM10/21/13
to weewx...@googlegroups.com
David,
Probably about reached my limit, just saw the **** log entry and thought.... Tom's standard answer when troubleshooting is set debug to 1, restart weewx and post the log so yes probably worth it. Would let it run for a few archive cycles first. Also worth posting your weewx.conf less any personal info/passwords.

Gary

Andrew Milner

unread,
Oct 21, 2013, 8:07:18 AM10/21/13
to weewx...@googlegroups.com
I don't have a station URL in the station section.  There is a server =  and path = to a URL in the FTP section though and the HTML_ROOT for the reports is in [stdReport] section.

david murphy

unread,
Oct 21, 2013, 8:23:34 AM10/21/13
to weewx...@googlegroups.com
I have also attached my weewx.conf file for viewing....nothing special other than wundergound info.. removed.
weewx.conf

gjr80

unread,
Oct 21, 2013, 8:50:13 AM10/21/13
to weewx...@googlegroups.com
David,

My bad, '**** station_url is not defined' is due to the [[StationRegistry]] settings in [StdRESTful] in weewx.conf. You have register_this_station set to true but have no URL for you station set. If your site is not available from the internet it seems there is little use in telling Weewx to register the station. I suspect if you comment out register_this_station that error will disappear.
Don't have any confidence though that it will fix your wunderground/local files are not being refreshed. I dont see any Archive: added archive record 2013-10-20 06:30:00 EST (1382214600) or similar entry which kicks off posting to wunderground and re-generating your files. What happened in the restart and debug=1 and a longer log? Maybe an issue with changing from software to hardware. Maybe this part is one for Tom.

Gary

david murphy

unread,
Oct 21, 2013, 9:11:34 AM10/21/13
to weewx...@googlegroups.com
Gary,

The messages file straddles the times when all was well and when I started modding the weewx.conf file with software/hardware option. I did this as to capture and show as much data as I could, and yes debug was set to 1 - not exactly sure but after 20.30 hrs.

david murphy

unread,
Oct 21, 2013, 9:29:38 AM10/21/13
to weewx...@googlegroups.com
Gary,

Sounds like some database issue to me..just don't have the knowledge to fault find...other than delete existing database and start again. i'll give it some time before I revert to such drastic actions.

gjr80

unread,
Oct 21, 2013, 9:38:54 AM10/21/13
to weewx...@googlegroups.com
David,

Maybe I have misunderstood. So you restarted Weewx after setting debug=1? Can you post the log after the restart, it should be pretty chatty, moreso than the fragment you posted above.

Andrew Milner

unread,
Oct 21, 2013, 10:00:34 AM10/21/13
to weewx...@googlegroups.com
Unless I misread the conf file, you appeared to have it set for both mysql and sqlite3 - surely one should be commented out, and one left uncommented?

gjr80

unread,
Oct 21, 2013, 10:15:07 AM10/21/13
to weewx...@googlegroups.com
Having both in [Databases] is fine, [StdArchive] sets the database(s) in use.

Thomas Keffer

unread,
Oct 21, 2013, 10:17:32 AM10/21/13
to weewx-user
It would help if we knew what we were trying to debug here. Is it that that weewx is not posting to Wunderground?

If so, we need to see the part of the log where weewx starts up. Set debug=1, restart weewx, then send us the log from startup. It will show the reason why a service was not started.

-tk



david murphy

unread,
Oct 21, 2013, 10:35:55 AM10/21/13
to weewx...@googlegroups.com
Tom,

Neither My local data (192.168.1.20/weewx/) or wunderground data is getting up dated. I have no errors as such but something strange is happening. Using Davis Vantage (connecting fine with that) and Raspi.

I have previously attached a messages & weewx.conf file. The /var/log/messages file contained data with debug=1 (as well as data pre & post software / hardware mod). I will attach another as requested.
2013 oct weewx messges.txt

david murphy

unread,
Oct 21, 2013, 10:41:28 AM10/21/13
to weewx...@googlegroups.com
Tom,

Attached is the o/p from 192.168.1.20/weewx as u can see last time it was updated was Oct 21 20.05. this is when I changed from software to hardware....I have changed back and forth a few times since. Once in software mode all is working fine. In hardware mode no real errors but not data updates either !!!


On Tuesday, 22 October 2013 01:17:32 UTC+11, Tom Keffer wrote:
2013 Oct weewx status.jpg

Thomas Keffer

unread,
Oct 21, 2013, 10:51:29 AM10/21/13
to weewx-user
There are two possibilities:
  1. See the section of the manual "Weewx generates HTML pages, but it does not update them"
  2. The console and your computer have a large difference in what they think the time is.
-tk



david murphy

unread,
Oct 21, 2013, 11:01:21 AM10/21/13
to weewx...@googlegroups.com
Tom,

Raspi & Davis Console are within a minute of each other. Will clear console memory and hopefully that will sort the issue. Thanks once again to everyone for your help. Will report back after I get some sleep.

david murphy

unread,
Oct 21, 2013, 11:15:56 AM10/21/13
to weewx...@googlegroups.com
Tom,

Rebooted Davis console and no effect, also noticed my weewx.sdb file has not been updated since Oct 21 20.05 (when I started my adventure). Will look into clearing console memory tomorrow via weewx utility.


On Tuesday, 22 October 2013 01:51:29 UTC+11, Tom Keffer wrote:

Henry Williams

unread,
Oct 21, 2013, 1:57:02 PM10/21/13
to weewx...@googlegroups.com
Thanks for that.

Is there a way to combine the best of both worlds, by reproducing the regular updates (as per the display on the station) but also recording the archive logs that the station records every 5 mins?

Thomas Keffer

unread,
Oct 21, 2013, 2:29:47 PM10/21/13
to weewx...@googlegroups.com

I'm not exactly following your question, but I've found that leaving in at hardware usually gives the best results.

-tk
Fat-fingered from my smartphone.

Henry Williams

unread,
Oct 21, 2013, 2:39:22 PM10/21/13
to weewx...@googlegroups.com
Sorry I wasn't very clear. The weather station updates its display every minute or so but only records every 5 minutes, meaning weewx updates every 5 minutes. Is there a way to make weewx use the data that gets updated every minute, whilst also keeping an archive of the data downloaded from the station?

Thomas Keffer

unread,
Oct 21, 2013, 4:52:47 PM10/21/13
to weewx-user
It could still have been a clock problem. They may be close together in time now, but not immediately after an RPi reboot. See user Matthew's thorough analysis.

-tk



Thomas Keffer

unread,
Oct 21, 2013, 5:01:00 PM10/21/13
to weewx-user
Henry,

I think the confusion may be that I was under the impression that you had a Vantage station, which update continuously (every couple seconds or so), but log once a minute or longer. 

What type of station do you have?

In any case, weewx generally only shows you data from the last archive interval. It does not do realtime updates. There are a couple of users who are working on this (most notably, Peter Finley's meso project), and there's an experimental Rapidfire implementation in the development section of SourceForge, but that's about it.

-tk



Henry Williams

unread,
Oct 21, 2013, 5:20:04 PM10/21/13
to weewx...@googlegroups.com
Ah, I see. I have a Fine Offset station.

mwall

unread,
Oct 21, 2013, 6:35:01 PM10/21/13
to weewx...@googlegroups.com
On Monday, October 21, 2013 5:20:04 PM UTC-4, Henry Williams wrote:
Ah, I see. I have a Fine Offset station.


the fine offset console collects data from the sensors every 48 seconds, and every 60 seconds if you have the uv (in the 3080 series).

the factory setting for the console saves data to console memory every 30 minutes.

you can use wee_config_fousb to change this interval.  for example, to set it to 5 minutes (which matches the weewx default archive interval of 300 seconds):

sudo wee_config_fousb --set-interval=5
 

david murphy

unread,
Oct 21, 2013, 6:48:25 PM10/21/13
to weewx...@googlegroups.com
Tom,

Went for the shotgun approach this morning and did the following - 

Terminated weewx and moved databases from /weewx/archive directory (going to start from scratch)
Powered down Raspi & Davis console (removed batteries for a few minutes) and executed a clear command on the console (Wind then 2ND hold CLEAR etc.)
Powered all back up again..and running weewx used the wee_config_vantage utility to clear console (just to be sure) and set time on console.

Here is what I get - (arg !!!)
Oct 22 09:38:08 raspberrypi weewx[2794]: wxengine: Initializing weewx version 2.5.0b1
Oct 22 09:38:08 raspberrypi weewx[2794]: wxengine: Using Python 2.7.3 (default, Jan 13 2013, 11:20:46) #012[GCC 4.6.3]
Oct 22 09:38:08 raspberrypi weewx[2794]: wxengine: pid file is /var/run/weewx.pid
Oct 22 09:38:08 raspberrypi weewx[2796]: wxengine: Using configuration file /home/weewx/weewx.conf
Oct 22 09:38:08 raspberrypi weewx[2796]: wxengine: Loading station type Vantage (weewx.drivers.vantage)
Oct 22 09:38:09 raspberrypi weewx[2796]: wxengine: StdConvert target unit is 0x1
Oct 22 09:38:09 raspberrypi weewx[2796]: wxengine: Using station hardware archive interval of 300
Oct 22 09:38:09 raspberrypi weewx[2796]: wxengine: Record generation will be attempted in 'hardware'
Oct 22 09:38:09 raspberrypi weewx[2796]: archive: Created and initialized database table 'archive'.
Oct 22 09:38:09 raspberrypi weewx[2796]: wxengine: Using archive database: archive_sqlite
Oct 22 09:38:16 raspberrypi weewx[2796]: stats: Created schema for statistical database
Oct 22 09:38:16 raspberrypi weewx[2796]: stats: stats database up to date.
Oct 22 09:38:16 raspberrypi weewx[2796]: wxengine: Using stats database: stats_sqlite
Oct 22 09:38:16 raspberrypi weewx[2796]: wxengine: Starting up weewx version 2.5.0b1
Oct 22 09:38:17 raspberrypi weewx[2796]: wxengine: Clock error is 0.10 seconds (positive is fast)
Oct 22 09:38:17 raspberrypi weewx[2796]: wxengine: Starting main packet loop.
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: skipping report SummaryByMonth: cannot find start time
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: generated 0 'SummaryByMonth' files for StandardReport in 0.04 seconds
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: skipping report SummaryByYear: cannot find start time
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: generated 0 'SummaryByYear' files for StandardReport in 0.02 seconds
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: skipping report ToDate: cannot find start time
Oct 22 09:40:16 raspberrypi weewx[2796]: cheetahgenerator: generated 0 'ToDate' files for StandardReport in 0.02 seconds
Oct 22 09:40:19 raspberrypi weewx[2796]: genimages: Generated 11 images in 2.58 seconds

david murphy

unread,
Oct 21, 2013, 7:46:52 PM10/21/13
to weewx...@googlegroups.com
Tom,

Modded weewx.conf again to use software and all works like a dream.. (as below).

If I delete the *.sdb databases from the /weewx/archive directory and clear data from Davis console am I not going back to a virgin state? Do I need to let the Davis Console generate a number of records before I can start weewx in hardware mode...Something very subtle going on here. Happy to help troubleshoot but pulling my hair?

Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: Initializing weewx version 2.5.0b1
Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: Using Python 2.7.3 (default, Jan 13 2013, 11:20:46) #012[GCC 4.6.3]
Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: pid file is /var/run/weewx.pid
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using configuration file /home/weewx/weewx.conf
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Loading station type Vantage (weewx.drivers.vantage)
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: StdConvert target unit is 0x1
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using station hardware archive interval of 300
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Record generation will be attempted in 'software'
Oct 22 10:30:31 raspberrypi weewx[2407]: archive: Created and initialized database table 'archive'.
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using archive database: archive_sqlite
Oct 22 10:30:32 raspberrypi weewx[2407]: stats: Created schema for statistical database
Oct 22 10:30:32 raspberrypi weewx[2407]: stats: stats database up to date.
Oct 22 10:30:32 raspberrypi weewx[2407]: wxengine: Using stats database: stats_sqlite
Oct 22 10:30:32 raspberrypi weewx[2407]: wxengine: Starting up weewx version 2.5.0b1
Oct 22 10:30:33 raspberrypi weewx[2407]: wxengine: Clock error is -0.20 seconds (positive is fast)
Oct 22 10:30:33 raspberrypi weewx[2407]: wxengine: Starting main packet loop.
Oct 22 10:35:15 raspberrypi weewx[2407]: Archive: added archive record 2013-10-22 10:35:00 EST (1382398500)
Oct 22 10:35:16 raspberrypi weewx[2407]: restful: Published record 2013-10-22 10:35:00 EST (1382398500) to Wunderground station INEWSOUT246
Oct 22 10:35:18 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 1.41 seconds
Oct 22 10:35:22 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 3.82 seconds
Oct 22 10:35:37 raspberrypi weewx[2407]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 15.16 seconds
Oct 22 10:36:00 raspberrypi weewx[2407]: genimages: Generated 45 images in 23.07 seconds
Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: Initializing weewx version 2.5.0b1
Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: Using Python 2.7.3 (default, Jan 13 2013, 11:20:46) #012[GCC 4.6.3]
Oct 22 10:30:30 raspberrypi weewx[2405]: wxengine: pid file is /var/run/weewx.pid
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using configuration file /home/weewx/weewx.conf
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Loading station type Vantage (weewx.drivers.vantage)
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: StdConvert target unit is 0x1
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using station hardware archive interval of 300
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Record generation will be attempted in 'software'
Oct 22 10:30:31 raspberrypi weewx[2407]: archive: Created and initialized database table 'archive'.
Oct 22 10:30:31 raspberrypi weewx[2407]: wxengine: Using archive database: archive_sqlite
Oct 22 10:30:32 raspberrypi weewx[2407]: stats: Created schema for statistical database
Oct 22 10:30:32 raspberrypi weewx[2407]: stats: stats database up to date.
Oct 22 10:30:32 raspberrypi weewx[2407]: wxengine: Using stats database: stats_sqlite
Oct 22 10:30:32 raspberrypi weewx[2407]: wxengine: Starting up weewx version 2.5.0b1
Oct 22 10:30:33 raspberrypi weewx[2407]: wxengine: Clock error is -0.20 seconds (positive is fast)
Oct 22 10:30:33 raspberrypi weewx[2407]: wxengine: Starting main packet loop.
Oct 22 10:35:15 raspberrypi weewx[2407]: Archive: added archive record 2013-10-22 10:35:00 EST (1382398500)
Oct 22 10:35:16 raspberrypi weewx[2407]: restful: Published record 2013-10-22 10:35:00 EST (1382398500) to Wunderground station INEWSOUT246
Oct 22 10:35:18 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 1.41 seconds
Oct 22 10:35:22 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 3.82 seconds
Oct 22 10:35:37 raspberrypi weewx[2407]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 15.16 seconds
Oct 22 10:36:00 raspberrypi weewx[2407]: genimages: Generated 45 images in 23.07 seconds
Oct 22 10:40:15 raspberrypi weewx[2407]: Archive: added archive record 2013-10-22 10:40:00 EST (1382398800)
Oct 22 10:40:16 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 0.47 seconds
Oct 22 10:40:16 raspberrypi weewx[2407]: restful: Published record 2013-10-22 10:40:00 EST (1382398800) to Wunderground station INEWSOUT246
Oct 22 10:40:19 raspberrypi weewx[2407]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 2.29 seconds
Oct 22 10:40:21 raspberrypi weewx[2407]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 2.43 seconds

Thomas Keffer

unread,
Oct 21, 2013, 8:00:43 PM10/21/13
to weewx-user
Well, I just tried taking a spare VP2 I have lying around, clearing its memory, deleting the database, then starting up weewx. It worked fine. This is v2.5.0b3.

Because you are not running in debug mode, it's hard to tell why weewx is not downloading anything from the console. Could you set debug=1, then restart weewx?

-tk




david murphy

unread,
Oct 21, 2013, 8:12:51 PM10/21/13
to weewx...@googlegroups.com
Tom,

I stopped weewx, modified the weewx.conf file to debug=1 and changed software to 'hardware'. Here is o/p of /var/log/syslog file.

(Did not delete databases or clear Davis)

Oct 22 11:03:29 raspberrypi weewx[2407]: wxengine: Terminating weewx version 2.5.0b1
Oct 22 11:04:21 raspberrypi weewx[2461]: wxengine: Initializing weewx version 2.5.0b1
Oct 22 11:04:21 raspberrypi weewx[2461]: wxengine: Using Python 2.7.3 (default, Jan 13 2013, 11:20:46) #012[GCC 4.6.3]
Oct 22 11:04:21 raspberrypi weewx[2461]: wxengine: pid file is /var/run/weewx.pid
Oct 22 11:04:21 raspberrypi weewx[2463]: wxengine: Using configuration file /home/weewx/weewx.conf
Oct 22 11:04:21 raspberrypi weewx[2463]: wxengine: Loading station type Vantage (weewx.drivers.vantage)
Oct 22 11:04:21 raspberrypi weewx[2463]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:04:21 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdConvert
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: StdConvert target unit is 0x1
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdConvert
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdCalibrate
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdCalibrate
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdQC
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdQC
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdArchive
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Using station hardware archive interval of 300
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Record generation will be attempted in 'hardware'
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Use LOOP data in hi/low calculations: 1
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Using archive database: archive_sqlite
Oct 22 11:04:22 raspberrypi weewx[2463]: stats: Schema exists with 16 elements
Oct 22 11:04:22 raspberrypi weewx[2463]: stats: Backfilling stats database.
Oct 22 11:04:22 raspberrypi weewx[2463]: stats: stats database up to date.
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Using stats database: stats_sqlite
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdArchive
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdTimeSynch
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdTimeSynch
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdPrint
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdPrint
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdRESTful
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Data will be posted to Wunderground
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Data will not be posted to PWSweather
Oct 22 11:04:22 raspberrypi weewx[2463]:     **** required parameter ''station'' is not specified
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Data will not be posted to CWOP
Oct 22 11:04:22 raspberrypi weewx[2463]:     **** required parameter ''station'' is not specified
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Data will not be posted to StationRegistry
Oct 22 11:04:22 raspberrypi weewx[2463]:     **** required parameter ''register_this_station'' is not specified
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Started thread for RESTful upload sites.
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdRESTful
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Loading service weewx.wxengine.StdReport
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Finished loading service weewx.wxengine.StdReport
Oct 22 11:04:22 raspberrypi weewx[2463]: wxengine: Starting up weewx version 2.5.0b1
Oct 22 11:04:22 raspberrypi weewx[2463]: VantagePro: Getting archive packets since 2013-10-22 11:00:00 EST (1382400000)
Oct 22 11:04:22 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:04:24 raspberrypi weewx[2463]: VantagePro: Retrieving 513 page(s); starting index= 2
Oct 22 11:04:24 raspberrypi weewx[2463]: VantagePro: empty record page 0; index 2
Oct 22 11:04:25 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:04:25 raspberrypi weewx[2463]: wxengine: Clock error is -0.81 seconds (positive is fast)
Oct 22 11:04:25 raspberrypi weewx[2463]: wxengine: Starting main packet loop.
Oct 22 11:04:25 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:04:25 raspberrypi weewx[2463]: VantagePro: Requesting 200 LOOP packets.
Oct 22 11:04:26 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:05:15 raspberrypi weewx[2463]: VantagePro: Getting archive packets since 2013-10-22 11:00:00 EST (1382400000)
Oct 22 11:05:16 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:05:18 raspberrypi weewx[2463]: VantagePro: Retrieving 513 page(s); starting index= 3
Oct 22 11:05:18 raspberrypi weewx[2463]: VantagePro: empty record page 0; index 3
Oct 22 11:05:18 raspberrypi weewx[2463]: reportengine: Running reports for latest time in the database.
Oct 22 11:05:18 raspberrypi weewx[2463]: reportengine: Running report StandardReport
Oct 22 11:05:18 raspberrypi weewx[2463]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
Oct 22 11:05:19 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:05:19 raspberrypi weewx[2463]: VantagePro: Requesting 200 LOOP packets.
Oct 22 11:05:19 raspberrypi weewx[2463]: stats: Schema exists with 16 elements
Oct 22 11:05:20 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:05:21 raspberrypi weewx[2463]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 1.39 seconds
Oct 22 11:05:24 raspberrypi weewx[2463]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 3.75 seconds
Oct 22 11:05:40 raspberrypi weewx[2463]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 15.32 seconds
Oct 22 11:05:50 raspberrypi weewx[2463]: genimages: Generated 22 images in 10.40 seconds
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: copied 9 files to /home/weewx/public_html
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: Running report FTP
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: FTP upload not requested. Skipped.
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: Running report RSYNC
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC
Oct 22 11:05:50 raspberrypi weewx[2463]: reportengine: rsync upload not requested. Skipped.
Oct 22 11:10:15 raspberrypi weewx[2463]: VantagePro: Getting archive packets since 2013-10-22 11:00:00 EST (1382400000)
Oct 22 11:10:16 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:10:18 raspberrypi weewx[2463]: VantagePro: Retrieving 513 page(s); starting index= 4
Oct 22 11:10:18 raspberrypi weewx[2463]: VantagePro: empty record page 0; index 4
Oct 22 11:10:18 raspberrypi weewx[2463]: reportengine: Running reports for latest time in the database.
Oct 22 11:10:18 raspberrypi weewx[2463]: reportengine: Running report StandardReport
Oct 22 11:10:18 raspberrypi weewx[2463]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
Oct 22 11:10:18 raspberrypi weewx[2463]: stats: Schema exists with 16 elements
Oct 22 11:10:19 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:10:19 raspberrypi weewx[2463]: VantagePro: Requesting 200 LOOP packets.
Oct 22 11:10:19 raspberrypi weewx[2463]: cheetahgenerator: generated 1 'SummaryByMonth' files for StandardReport in 0.47 seconds
Oct 22 11:10:19 raspberrypi weewx[2463]: VantagePro: successfully woke up console
Oct 22 11:10:21 raspberrypi weewx[2463]: cheetahgenerator: generated 1 'SummaryByYear' files for StandardReport in 2.31 seconds
Oct 22 11:10:24 raspberrypi weewx[2463]: cheetahgenerator: generated 12 'ToDate' files for StandardReport in 2.43 seconds
Oct 22 11:10:34 raspberrypi weewx[2463]: genimages: Generated 22 images in 10.53 seconds
Oct 22 11:10:34 raspberrypi weewx[2463]: reportengine: copied 0 files to /home/weewx/public_html
Oct 22 11:10:34 raspberrypi weewx[2463]: reportengine: Running report FTP
Oct 22 11:10:34 raspberrypi weewx[2463]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
Oct 22 11:10:34 raspberrypi weewx[2463]: reportengine: FTP upload not requested. Skipped.
Oct 22 11:10:34 raspberrypi weewx[2463]: reportengine: Running report RSYNC

Thomas Keffer

unread,
Oct 21, 2013, 8:15:44 PM10/21/13
to weewx-user
Very simple explanation: your computer thinks it's tomorrow. It also thinks DST is not in effect. It also (probably) has the wrong time. It should be around 20:15, not 11:XX

-tk



david murphy

unread,
Oct 21, 2013, 8:23:47 PM10/21/13
to weewx...@googlegroups.com
Tom,

I'm lost ..both computer and console have the correct time (Sydney, Australia). Are u saying the weewx software is confused?

Thomas Keffer

unread,
Oct 21, 2013, 8:31:02 PM10/21/13
to weewx-user
Oh! My apologies! I saw "EST" and I was thinking "Eastern Standard Time." I forgot there was another EST! OK, let's try that again!

Just to clarify: the log file you posted is after clearing the memory, right? That is, you did the command

  ./bin/wee_config_vantage weewx.conf --clear

(adjusting paths as necessary).

I ask because the log shows that it is attempting to download all 512 pages of memory, despite clearing memory. 

So, if you have cleared the memory, then this suggests a faulty logger.

If you have not cleared the memory, then stop weewx, clear it, then restart weewx.

Apologies again for being so US-centric!

-tk





david murphy

unread,
Oct 21, 2013, 8:47:22 PM10/21/13
to weewx...@googlegroups.com
Tom,

No worries on the EST...

Ok cleared logger (via weewx utility and on console plus deleted databases) and o/p attached. It would appear that the looger is not getting cleared..as weewx is still Retrieving 513 page(s); starting index= 2 etc. etc.

I have just had this unit returned from the USA, it had a fault concerning the PLL..now the logger is faulty?

Oct 22 11:34:07 raspberrypi wee_config_vantage[2497]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:34:08 raspberrypi wee_config_vantage[2497]: VantagePro: successfully woke up console
Oct 22 11:34:16 raspberrypi wee_config_vantage[2497]: VantagePro: successfully woke up console
Oct 22 11:34:16 raspberrypi wee_config_vantage[2497]: VantagePro: Archive memory cleared.
Oct 22 11:34:20 raspberrypi wee_config_vantage[2498]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:34:21 raspberrypi wee_config_vantage[2498]: VantagePro: successfully woke up console
Oct 22 11:34:23 raspberrypi wee_config_vantage[2498]: VantagePro: successfully woke up console
Oct 22 11:34:23 raspberrypi wee_config_vantage[2498]: VantagePro: Archive memory cleared.
Oct 22 11:34:44 raspberrypi wee_config_vantage[2499]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:34:44 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:34:45 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:34:46 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:34:47 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:34:47 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:34:48 raspberrypi wee_config_vantage[2499]: VantagePro: successfully woke up console
Oct 22 11:38:38 raspberrypi wee_config_vantage[2505]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:38:39 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:38:40 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:38:41 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:38:42 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:38:42 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:38:43 raspberrypi wee_config_vantage[2505]: VantagePro: successfully woke up console
Oct 22 11:39:02 raspberrypi weewx[2516]: wxengine: Initializing weewx version 2.5.0b1
Oct 22 11:39:02 raspberrypi weewx[2516]: wxengine: Using Python 2.7.3 (default, Jan 13 2013, 11:20:46) #012[GCC 4.6.3]
Oct 22 11:39:02 raspberrypi weewx[2516]: wxengine: pid file is /var/run/weewx.pid
Oct 22 11:39:02 raspberrypi weewx[2518]: wxengine: Using configuration file /home/weewx/weewx.conf
Oct 22 11:39:02 raspberrypi weewx[2518]: wxengine: Loading station type Vantage (weewx.drivers.vantage)
Oct 22 11:39:02 raspberrypi weewx[2518]: VantagePro: Opened up serial port /dev/ttyAMA0, baudrate 19200
Oct 22 11:39:03 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdConvert
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: StdConvert target unit is 0x1
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdConvert
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdCalibrate
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdCalibrate
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdQC
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdQC
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdArchive
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Using station hardware archive interval of 300
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Record generation will be attempted in 'hardware'
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Use LOOP data in hi/low calculations: 1
Oct 22 11:39:03 raspberrypi weewx[2518]: archive: Created and initialized database table 'archive'.
Oct 22 11:39:03 raspberrypi weewx[2518]: wxengine: Using archive database: archive_sqlite
Oct 22 11:39:04 raspberrypi weewx[2518]: stats: Created schema for statistical database
Oct 22 11:39:04 raspberrypi weewx[2518]: stats: Schema exists with 16 elements
Oct 22 11:39:04 raspberrypi weewx[2518]: stats: Backfilling stats database.
Oct 22 11:39:04 raspberrypi weewx[2518]: stats: stats database up to date.
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Using stats database: stats_sqlite
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdArchive
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdTimeSynch
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdTimeSynch
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdPrint
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdPrint
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdRESTful
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Data will be posted to Wunderground
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Data will not be posted to PWSweather
Oct 22 11:39:04 raspberrypi weewx[2518]:     **** required parameter ''station'' is not specified
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Data will not be posted to CWOP
Oct 22 11:39:04 raspberrypi weewx[2518]:     **** required parameter ''station'' is not specified
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Data will not be posted to StationRegistry
Oct 22 11:39:04 raspberrypi weewx[2518]:     **** required parameter ''register_this_station'' is not specified
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Started thread for RESTful upload sites.
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdRESTful
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Loading service weewx.wxengine.StdReport
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Finished loading service weewx.wxengine.StdReport
Oct 22 11:39:04 raspberrypi weewx[2518]: wxengine: Starting up weewx version 2.5.0b1
Oct 22 11:39:04 raspberrypi weewx[2518]: VantagePro: Getting all archive packets
Oct 22 11:39:04 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:39:04 raspberrypi weewx[2518]: VantagePro: Retrieving 513 page(s); starting index= 1
Oct 22 11:39:04 raspberrypi weewx[2518]: VantagePro: empty record page 0; index 1
Oct 22 11:39:05 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:39:05 raspberrypi weewx[2518]: wxengine: Clock error is -0.78 seconds (positive is fast)
Oct 22 11:39:05 raspberrypi weewx[2518]: wxengine: Starting main packet loop.
Oct 22 11:39:05 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:39:05 raspberrypi weewx[2518]: VantagePro: Requesting 200 LOOP packets.
Oct 22 11:39:06 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:40:16 raspberrypi weewx[2518]: VantagePro: Getting all archive packets
Oct 22 11:40:16 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:40:16 raspberrypi weewx[2518]: VantagePro: Retrieving 513 page(s); starting index= 2
Oct 22 11:40:16 raspberrypi weewx[2518]: VantagePro: empty record page 0; index 2
Oct 22 11:40:16 raspberrypi weewx[2518]: reportengine: Running reports for latest time in the database.
Oct 22 11:40:16 raspberrypi weewx[2518]: reportengine: Running report StandardReport
Oct 22 11:40:16 raspberrypi weewx[2518]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
Oct 22 11:40:17 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:40:17 raspberrypi weewx[2518]: VantagePro: Requesting 200 LOOP packets.
Oct 22 11:40:18 raspberrypi weewx[2518]: stats: Schema exists with 16 elements
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: skipping report SummaryByMonth: cannot find start time
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: generated 0 'SummaryByMonth' files for StandardReport in 0.02 seconds
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: skipping report SummaryByYear: cannot find start time
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: generated 0 'SummaryByYear' files for StandardReport in 0.01 seconds
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: skipping report ToDate: cannot find start time
Oct 22 11:40:18 raspberrypi weewx[2518]: cheetahgenerator: generated 0 'ToDate' files for StandardReport in 0.01 seconds
Oct 22 11:40:18 raspberrypi weewx[2518]: VantagePro: successfully woke up console
Oct 22 11:40:20 raspberrypi weewx[2518]: genimages: Generated 11 images in 2.53 seconds
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: copied 9 files to /home/weewx/public_html
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: Running report FTP
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: FTP upload not requested. Skipped.
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: Running report RSYNC
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: Found configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC
Oct 22 11:40:20 raspberrypi weewx[2518]: reportengine: rsync upload not requested. Skipped.



--
You received this message because you are subscribed to a topic in the Google Groups "Weewx user's group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/4t-C_E9WTMg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Regards,

Dave Murphy

Thomas Keffer

unread,
Oct 21, 2013, 9:13:01 PM10/21/13
to weewx-user
Well, it's not clearing the logger. 

I mean, I assume you typed in the command and it said "Archive records cleared", right?

There might be a way of manually clearing the console using the buttons on the front panel, but, if there is, I'm not aware of it. The normal "Clear" button just clears the high/lows and graphs, not the logger.

Try removing the logger and reseating it.

I have no reason to suspect the utility wee_config_vantage, but you can try clearing the log using the raw protocol. It's actually pretty simple. Here's how:

Use the minicom terminal emulator. Then type

minicom -b 19200 -D /dev/ttyUSB0    (substitute the correct port)

To make sure you have connectivity, type TEST (upper case letters; they will not echo) then enter. It should now echo "TEST".

If that works, then type CLRLOG (again, upper case letters; they will not echo). After a second it will echo an unprintable character (this is a binary acknowledgement). 

That's about the best I can offer. Sorry, man!

-tk




david murphy

unread,
Oct 21, 2013, 9:17:50 PM10/21/13
to weewx...@googlegroups.com
Tom,

Really appreciate all your help.....will look into this later tonight and see what I can come up with. Once again thanks....and i will report back.

david murphy

unread,
Oct 22, 2013, 1:57:37 AM10/22/13
to weewx...@googlegroups.com
Tom,

I am a fool or at least I rushed into this exercise with doing the number 1 thing we all should do RTFM.....I have a Davis Vantage Pro2 wireless connected directly to the Raspi via a rs-232 mod put together by Torkel (http://www.wxforum.net/index.php?topic=18110.50 ) I have no data logger. For some reason I thought the Davis Console did the logging of the data. I guess this explains my problem and leaves me feeling very very silly. Apologies to all and the time I wasted.

What is my penance ?


On 22 October 2013 12:13, Thomas Keffer <tke...@gmail.com> wrote:



--
Regards,

Dave Murphy

Thomas Keffer

unread,
Oct 22, 2013, 9:01:06 AM10/22/13
to weewx-user
Owning up to it is all the penance I need! Usually RTFM culprits just slink into the night.

I had not realized that there are now workarounds for using 3rd party data loggers on "green dot" consoles. Thanks for that link. The document Torkel put together is an amazing read!  

I, too, wish Davis was more open about their data logger. On the other hand, it's their system and they're free to do with it as they wish. Torkel is being unfair to them. The Davis system is far more open and well documented than any other weather station out there. If he thinks Davis is opaque, he should try Oregon Scientific!

-tk




mwall

unread,
Oct 29, 2013, 9:41:29 AM10/29/13
to weewx...@googlegroups.com
On Sunday, October 20, 2013 9:33:58 PM UTC-4, Tom Keffer wrote:
If your station has a logger and you set to 'software' and there's a power failure, it will not fill in the gap.

tom,

this is not quite correct.  on startup, weewx will try to get archive records from the station whether record_generation is software or hardware.  take a look at the startup method of StdArchive.

i think this is a good thing.

m

Henry Williams

unread,
Nov 3, 2013, 7:27:28 AM11/3/13
to weewx...@googlegroups.com
So to clarify:

1. If I have weewx set to software record generation, this will record a record every minute (or whatever it is set to) based on the current readings on the weather station?
2. If there is a power failure, weewx will fill in the gaps when power is restored (or will it download ALL archive data from the station)?

Thanks

mwall

unread,
Nov 3, 2013, 7:42:31 AM11/3/13
to weewx...@googlegroups.com
On Sunday, November 3, 2013 7:27:28 AM UTC-5, Henry Williams wrote:

1. If I have weewx set to software record generation, this will record a record every minute (or whatever it is set to) based on the current readings on the weather station?

correct.  when record_generation is software, weewx creates an archive record from loop data every archive_interval.  when record_generation is hardware and the driver supports it (i.e., the driver implements genArchiveRecord), weewx creates an archive record from the station's logger/archive every archive_interval.  if the weewx archive_interval does not match the stations logging interval, weewx uses the stations' logging interval (and you will see a message about this in the log when weewx starts up).

 
2. If there is a power failure, weewx will fill in the gaps when power is restored (or will it download ALL archive data from the station)?


correct.  if the station supports 'catchup', i.e., the driver implements genArchiveRecords, when weewx starts up it will read data from the station since the latest entry in the weewx archive database.

as of weewx 2.5.0, only the vantage and fousb drivers support 'catchup'.

m
Reply all
Reply to author
Forward
0 new messages