Take a look at the section *Programming interface
<https://www.weewx.com/docs/5.0/custom/introduction/#programming-interface>* in
the documentation and see if that answers your question.

On Sun, Apr 21, 2024 at 9:17 AM carter.hu...@gmail.com <
carter.humphrey...@gmail.com> wrote:

> I have PM 2.5 data being feed into WeeWx via a custom service extension.
> What I want to do is calculate the air quality index (AQI) based on the
> PM2.5 data. The EPA references the correct way of doing this as using the
> 24-hour average PM2.5.
>
> So my question is, is there a way for an extension to access the weewx
> database a pull the average value of a variable over the last 24 hours?
>
> --
> 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/03f80a01-a1ab-4ee7-9ae1-244312a74115n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/03f80a01-a1ab-4ee7-9ae1-244312a74115n%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBEiF2KHNFBvzSmVWd_V%3DjmYbN7g4X4aNo%2Bm1kbJwtkqQ%40mail.gmail.com.

Reply via email to