In post_loop definition, could I chage ._software_catchup()
to ._catchup(self.engine.console.genArchiveRecords) ?
[......]
if self.record_generation == 'software':
self._software_catchup()
elif self.record_generation == 'hardware':
# Otherwise, try to honor hardware generation. An exception
# will be raised if the console does not support it. In that
# case, fall back to software generation.
try:
self._catchup(self.engine.console.genArchiveRecords)
except NotImplementedError:
self._software_catchup()
On Wednesday, 5 November 2025 at 12:54:25 UTC-3 tomas wrote:
> I am not allowed to change the archive interval inside the console. It is
> safer to preserve data this way: weatherlink devices store 7200 packets, so
> one hour interval gives around 10 months storing memory.
>
> On Wednesday, 5 November 2025 at 11:51:58 UTC-3 Tom Keffer wrote:
>
>> I'm not following. Why not just change the archive interval
>> <https://www.weewx.com/docs/5.2/hardware/vantage/#vantage_archive_interval>
>> to something smaller?
>>
>>
>>
>> On Wed, Nov 5, 2025 at 6:11 AM tomas <[email protected]> wrote:
>>
>>> Hello, I have an instance of weewx attached to a weatherlink device, as
>>> usual. Archive_interval is set to one hour in the console.
>>>
>>> If I choose *record_generation = hardware*
>>> I get sticked to one hour interval.
>>>
>>> And if I choose *record_generation = software,*
>>> I cannot catch up with the console's database after a powerdown.
>>>
>>>
>>> Is there a way to increase frequency in my weewx database (and restful
>>> posts) and still catching up console's database when starting weewx?
>>>
>>>
>>>
>>> --
>>> 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 visit
>>> https://groups.google.com/d/msgid/weewx-user/4d9d3ec5-0683-4b45-ab0d-166f00edcaefn%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/4d9d3ec5-0683-4b45-ab0d-166f00edcaefn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
--
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 visit
https://groups.google.com/d/msgid/weewx-user/c3447c0b-aa07-491a-8d3e-6b13cedc0edan%40googlegroups.com.