I have created a second rain field in weewx. I see that when the rain 
packets come in, they properly post the amounts to MQTT as they happen, so 
I know that the fields are being extracted properly.

However, when the archive interval runs, rather than taking the sum of the 
fields over the archive period like I would like, it is instead taking the 
average (which I know is by design), which is skewing my data. How can I 
tell weewx to use the sum for this custom field rather than the average?

I see on the customization guide that it says the following, but no mention 
of how to customize this:

*LOOP packets may contain arbitrary data from the station/driver in the 
form of a Python dictionary. Each LOOP packet must contain a time stamp, 
and a unit system, in addition to any number of observations, such as 
temperature or humidity. For extensive types, such as rain, the packet 
contains the total amount of rain that fell during the observation period.*

-- 
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/692e5396-363e-4a80-8a00-9bfdb14c9181n%40googlegroups.com.

Reply via email to