There's nothing to stop you from recording totalRain in the database. But,
of course, you won't know *when* that rain fell.

-tk

On Thu, Jan 12, 2017 at 2:31 PM, Louis De Lange <[email protected]> wrote:

> Tom,
>
> Initially I wanted to do exactly what you are proposing with the rain
> measurements - until I realized that if weewx / my server goes offline for
> a few days I will miss a chunk of incremental readings once I restart.  So
> it seemed a better route to read the last archived record and from there
> calculate the incremental value.
>
> I am missing something?
>
> On Thursday, 12 January 2017 08:31:29 UTC-8, Tom Keffer wrote:
>>
>> No problem with saving the cumulative data. What I'm wondering about is
>> your approach. Why mess with things like RecordBinder?
>>
>> Presumably, you're getting cumulative energy data off of some sensor,
>> using a driver. That's the place to take the differences.
>>
>> Very similar to the strategy that many weewx drivers use of deriving rain
>> from cumulative totalRain.
>>
>> -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.
>

-- 
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