On Saturday, September 24, 2022 at 9:31:33 p.m. UTC-3 Tom Keffer wrote: > That's correct. > > Before weewx starts asking for LOOP packets it figures out what the start > and end of the archive interval will be. It uses this information to figure > out when to stop asking for LOOP packets and, instead, ask for an archive > record. See the call to _get_console_time() on line 594 > <https://github.com/weewx/weewx/blob/9c5f105af5c5c77b0a5f060794dee21f60325bf9/bin/weewx/engine.py#L594> > > in the function pre_loop(), which is expected to return a wall clock time. > > An alternative would be to delay figuring this information out until the > first LOOP packet has been received. >
Gah, on further thought, this concept seems to be fighting against the design of weewx. Might be better to put everything, including weewx, on a machine that is backed up by battery. [image: Screenshot from 2022-09-25 15-46-30.png] Move the last 3 bubbles from PC to a raspberry pi or old screenless laptop? -- 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/8a02f1c1-be66-45de-b1b2-f1f58d754f41n%40googlegroups.com.
