Hi, Whilst it's true the vantage driver will backfill records generated during a WeeWX outage there are some conditions/limitations. Firstly, in weewx.conf under [StdArchive] option no_catchup must either not exist or must be set to False otherwise the hardware record catchup will not be attempted (the no_catchup option is not included in weewx.conf for a default install so likely it will not exist on your system). Secondly, and what probably prevents most catchups occurring, is that the catchup only downloads those records that are newer/younger/more recent than the timestamp of the last good archive record in your database. Whilst your missing data may well be in the data logger it could be the you have a record in your archive that is timestamped after the logger data of interest. In this case the easiest solution is to stop WeeWX and use the wee_device utility with --dump <http://weewx.com/docs/hardware.htm#vantage_dumping_the_logger_memory> to dump all of the archive records stored in the logger to WeeWX. You can check the WeeWX log to see what records were downloaded during the dump. --dump will download all stored archive records but only those not already saved in the WeeWX archive will be saved, those already in the archive will generate a duplicate key error which can be ignored.
Just for completeness there is one other situation where backfill of logged data did not occur. WeeWX v3.9.0 introduced a change whereby backfill was only attempted on startup if hardware record generation was in use. This behaviour was changed as of v3.9.1 and backfill is now attempted irrespective of whether hardware or software archive record generation is used. Gary On Wednesday, 14 October 2020 12:39:48 UTC+10, [email protected] wrote: > > Have a raspberry pi 3b running weewx 4.1 (thank you for a great program > and so much hard work and the online support), but am curious as to why the > data which should be up to 8 days for the data logger was not uploaded > automatically when restarting the raspberry pi. There is a gap of 3 days > that I don't understand if the logger keeps 8 days in memory. Apparently > there is a setting that needs to be changed but am unsure of this setting. > thank you for your time. > -- 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/5b6df708-e1b8-4f84-a9d9-f09152b2e0c8o%40googlegroups.com.
