Gary - thanks for that good description of when backfilling occurs although 
I have a feeling that the original poster had to restore an old copy of the 
database in order for backfilling to occur - hence my suspicion about a 
rogue dateTime in the database which would not backfill.



On Wednesday, 7 August 2019 16:14:31 UTC+3, gjr80 wrote:
>
> Hi, 
>
> The backfill behaviour you are seeing is expected behaviour for the 
> current codebase, in a nutshell WeeWX only attempts to download historical 
> records when WeeWX starts. 
>
> Explanation. Drivers for stations that have the ability to store archive 
> records may implement a genStartupRecords method. When called this method 
> emits any records held in the station memory that are newer than the last 
> record held in the WeeWX archive. WeeWX calls the genStartupMethod (if it 
> exists) once during WeeWX startup, once WeeWX has started genStartupRecords 
> is not called again unless WeeWX is restarted. The ws28xx driver has a a 
> genStartupRecords method, which is called during WeeWX startup; however, 
> the loss of communications you are experiencing does not cause WeeWX to 
> restart so hence the archive records stored in the station are not 
> downloaded when the connection returns to normal. 
>
> Looking at the ws28xx driver, the comments in the driver state: 
>
> “The station console sends a broadcast on the hour.  If the transceiver 
> responds, the station console may continue to broadcast data, depending on 
> the transceiver response and the timing of the transceiver response.” 
>
> This may explain why you are seeing activity on the hour and nothing in 
> between. For some unknown reason communication is eventually properly 
> restored and normal 5 minute archive operation returns. 
>
> In short, given the current way stored records are backfilled by WeeWX and 
> the operation of the ws28xx driver, I don’t think you have any other option 
> for backfilling stored records. You may find that resynchronising with the 
> station helps return normal operation earlier, but it won’t cause 
> historical records to be downloaded. 
>
> Matthew or a ws28xx guru may have better advice. 
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ba08b31e-9cb3-450d-9969-dc04da7e1725%40googlegroups.com.

Reply via email to