To be fair, it seems the addition of those new commands did not make it 
into the changelog, I'll take the wrap over the knuckles for that one.

Gary

On Thursday, 13 January 2022 at 12:01:49 UTC+10 vk3...@gmail.com wrote:

> I am using WeeWx V4 but my brain was stuck in V3-land - I didn't realise 
> the --from and --to options existed.
> Moral - always read the appropriate docuementation.
> Thanks everyone.
> Susan
>
> On Wednesday, 12 January 2022 at 1:18:26 pm UTC+11 gjr80 wrote:
>
>> Perhaps I'm not understanding the issue properly but if the 
>> console/driver is not emitting records then I would expect that WeeWX 
>> should not be adding any records to database (archive or daily summaries).
>>
>> Also, not a solution to the underlying problem but if you only need 
>> rebuild part of your daily summaries (which it sounds is the case) then if 
>> you are using WeeWX v4.0 or later you should be able to use --date or 
>> --from/--to with wee_database 
>> <http://weewx.com/docs/utilities.htm#wee_database_utility> to rebuild a 
>> single day only or a number of days. 
>>
>> Gary
>> On Wednesday, 12 January 2022 at 12:01:04 UTC+10 vk3...@gmail.com wrote:
>>
>>> Sometimes when we get a power failure, by WeeWx system recovers but the 
>>> HP1000 console doesn't. This means that the WeeWx app carries on trying to 
>>> access the console and also producing other reports, summary items etc., 
>>> especially if the console is not recovered until after midnight. (At least 
>>> this is how I interpret the situation.)
>>> What this means is that there is a gap in the data in the data base: 
>>> when access to the console is restored, WeeWx thinks that it records have 
>>> been added even when they have not.
>>> The solution is to delete all records after the last valid one before 
>>> the power failure occurred but this also requires that all daily summary 
>>> records be deleted (a la the various instructors such as at 
>>> https://groups.google.com/g/weewx-user/c/ZXjuqhLz0UY). In y case I have 
>>> 4 years worth of data in the database and therefore the '--rebuild-daily' 
>>> takes forever.
>>> Is there a faster way so that I can:
>>> - delete the latest records after the gap
>>> - do some magic step here that resets a date to say when the last valid 
>>> record was 
>>> - have WeeWx recover from there
>>> (By the way, my HP1000 driver looks at the last entry in the database 
>>> for the date from which to recover, even if the last record is 'junk' - 
>>> while this may the the root cause of my problem, I don't know of a better 
>>> way.)
>>> Susan
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4ef438ea-a2d2-4268-93ea-7d9ad14a51c4n%40googlegroups.com.

Reply via email to