I'm guessing by 4.9.2 you really meant 4.2.0? Support for StdWXCalculate 
calculation 
of deltas was added in v4.2.0, but the necessary XType was not loaded by 
weewx.conf (under a default install). This was corrected in v4.3.0.

I agree there is not much information describing the use of deltas in 
StdWXCalculate, I was looking for some information myself for another issue 
recently and all I found was the comments in the Delta XType declaration 
<https://github.com/weewx/weewx/blob/master/bin/weewx/wxxtypes.py#L588>. 
The comments agree with your understanding, though I must confess to not 
having actually used a delta as yet. I will look to include something on 
StdWXCalculate deltas somewhere in the documentation.

Gary
On Wednesday, 16 November 2022 at 23:18:13 UTC+10 bell...@gmail.com wrote:

> MQTTSubscribe has support for calculating the delta value of an 
> observation from the total. I know WeeWX added this support and want to 
> move people to use the built-in support (or at least have new users use 
> it). I wasn’t able to find much information on it, so just looking to 
> verify some information.
>
>    1. This was added in 4.9.2 (issue #491)
>    2. To use it, the following needs to be added to weewx.conf (with the 
>    correct ‘input name’).
>
>        [StdWXCalculate]
>
>              [[Delta]]
>
>                 [[[rain]]]
>
>                     input = totalRain
>
> Thanks. rich
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/aba80761-7028-4bef-a9c5-52226fc8cce3n%40googlegroups.com.

Reply via email to