What does the log say? It will tell you what was/was not written to 
database during the wee_device —dump runs. I can’t recall the exact console 
output from wee_device —dump, but wee_device just causes the archive 
records to be downloaded from the logger, it doesn’t actually know whether 
they are saved to database or not. I would take the reported figure from 
wee_device as the number of records downloaded. The log will tell you 
exactly how many were actually saved to database.

The only ways I am aware of to obtain records from the logger are:

1.  normal WeeWX operation (using hardware record generation)
2. automatic download of new records during WeeWX startup (only records 
newer than the most recent database record are downloaded)
3. wee_device —dump

Gary
On Saturday, 6 February 2021 at 19:27:23 UTC+10 Richard G wrote:

> I have had a Davis Vantage Pro2 and weewx running on a Pi for several 
> years now. I had some issues last year and have a few weeks of data which I 
> can browse on the Davis console but are not in the weewx database. I had 
> assumed that running
>
> wee_device --dump
>
> Would go through all the archive records stored in the Davis console and 
> then dump them into weewx but that doesn't appear to work. I was expecting 
> loads of duplicate key entries but I get none and it only seems to go back 
> 1 month and says added 2560 records. If I run the command again then it 
> does exactly the same thing and says added 2560 records.
>
> Firstly I wasn't expecting any recent records to be added as they are unto 
> date.
> Secondly I would have though the first run would have imported the data 
> and the 2nd run would have resulted in duplicates but it doesn't.
> Is there any other way of importing the missing data?
>
> Any help appreciated.
>
>

-- 
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/d5d4d89c-b790-4f94-8e21-511fa5ff3b27n%40googlegroups.com.

Reply via email to