The "WeeWX way" is to emit what the hardware offers, then let
StdWXCalculate determine whether to keep it or calculate a new value in
software.

Right now, it's fairly easy to extend StdWXCalculate to calculate new types
via the XTypes facility. Gary and I are working on a version that will make
it even easier.

On Sat, Sep 26, 2020 at 10:30 PM Graham Eddy <[email protected]> wrote:

> i was about to pinch john’s code for the AQI side of things - i get PM2.5
> values via gw1000 - when i see this new driver announced. (i have found
> ecowitt’s purported 24 hour average values very unreliable - drifting,
> random resets, etc - but the actual pm2.5 values seem fine → derive the
> averaged values myself)
>
> can i suggest that acquiring PMx.x values and deriving AQI values be kept
> as separate services? the AQI service would provide AQI xtype (mainly for
> cheetah) and convert PMx.x values in weewx packets to equivalent AQI values
> inserted into weewx packet (this is what i was going to implement).
> design-wise this would also allow support of AQI values derived from
> multiple pollution types (NO, etc) as well as abstracting the pollutant
> monitors
>
> On 27 Sep 2020, at 1:43 pm, John Kline <[email protected]> wrote:
>
> Hi Rich,
>
> I’ve created the github project here:
> https://github.com/chaunceygardiner/weewx-airlink
>
> I haven’t had any issues with the extension, but it’s not a priority for
> me until more is known about the AirLink.
>
> Cheers,
> John
>
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/1A05561B-6E18-4D13-B23C-7D3DCA5ADD69%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/1A05561B-6E18-4D13-B23C-7D3DCA5ADD69%40gmail.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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEATLW%2BWMaguZvAN0VULz%3DbyZWHUO8CHq6V%3DmVhG7nE-Sg%40mail.gmail.com.

Reply via email to