Sorry,  WeeWX is largely stateless. The database is the only persistent
store between report generations.

On Mon, Apr 1, 2019 at 2:18 PM <[email protected]> wrote:

> No, really what I want is to save a value in order to use it, if I need
> it, in one of the next iteration...
>
> Il giorno lunedì 1 aprile 2019 22:47:36 UTC+2, Thomas Keffer ha scritto:
>>
>> You would be "making up" data, which is very much against the philosophy
>> of WeeWX. Nevertheless, if you really want to do this, it is possible.
>> Basically, you do a database look up for the previous record. If you are
>> using a 60 second archive period (very short, BTW), it would look something
>> like this (NOT TESTED):
>>
>> #set $now = $current.dateTime.raw
>> #set $then = $now - 60
>>
>> <p>The temperature now is $current.outTemp; for the previous record it
>> was $current(timestamp=$then).outTemp </p>
>>
>> On Mon, Apr 1, 2019 at 1:02 PM <[email protected]> wrote:
>>
>>> My vantage vue station and weewx are set that they save the meteo values
>>> every minute.
>>>
>>> I there a way to "remember" a value from a previous iteration? e.g., say
>>> that windDir is N in the n-th data set, I want to use it in the next
>>> iteration, the following minute. Is it possible?
>>>
>>> --
>>> 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].
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-tk

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to