Off the top of my head, the one area of concern is that on startup the
archiving process does check the wall time clock to figure out the bounds
of the archive record it is working on. It might be possible to change that
to using the timestamp of the first LOOP packet, but there's also likely to
be lots of unattended consequences to doing so.

Still, if the effort to set things up is not too expensive, I'd say, "Try
it!"

The normal way of doing a catch up is through genArchiveRecords() but, of
course, that would require that you do your own archive record generation
--- not an easy task.

On Sat, Sep 24, 2022 at 3:50 PM [email protected] <[email protected]>
wrote:

> We're just recovering from Hurricane Fiona here. My weewx server was off
> for 14 hours becasue of the power outage.
>
> I'm thinking of caching readings in my DIY Moteino based weather station,
> or the base station which accepts data from it via 915MHz radios, and then
> bursting them to weewx when it has recovered.
>
> Both weather station and base station are relatively low power. The
> weather station is already battery powered. I should be able to hack up a
> UPS for the base station so it will continue to receive data.
>
> If I send time-stamped records to weewx well after the observation time
> has passed, will genLoopPacket() put the packets in the right archive
> record?
>
> For example, my station sends a data record every 15 seconds. If weewxd is
> unavailable for 14*3600=50400 seconds, it will cache about 3000 packets.
> When weewx comes back, and runs genLoopPacket() on those 3000 packets as
> fast as possible, will the resulting archive records span the 14 hour gap
> in data? Or wil the data be squished into (depending on processing speed)
> one archive?
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" 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-development/55b54cc3-051d-45a9-bcf0-f5c5b5ffb11an%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/55b54cc3-051d-45a9-bcf0-f5c5b5ffb11an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/CAPq0zEDxnHgs%3DZ1KCSAp%3DEG8mY0Fe9OjjpbxgT8%3DfY73fUnOMw%40mail.gmail.com.

Reply via email to