Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Air Quality Index (AQI) 'sensor fusion' to the PM2.5 sensor #383

Open
tylerdcooper opened this issue Dec 6, 2022 · 4 comments
Open
Labels
enhancement New feature or request i2c

Comments

@tylerdcooper
Copy link
Member

Using the same setup as this guide, it would be nice if the PM2.5 sensor gave you the option to show AQI.

It is more human readable, and much easier to understand than a simple PM value. Would be nice to have both the AQI value and AQI category (Unhealthy, Healthy, etc).

@tylerdcooper tylerdcooper added the enhancement New feature or request label Dec 6, 2022
@brentru brentru added the i2c label Dec 6, 2022
@tyeth
Copy link
Contributor

tyeth commented Dec 8, 2022

I love the AQI, but as each metric is often required to be over a 24hr average, and related method varies per country, I'm not sure what makes sense. I'm from the UK, but previously was using the American model for a basic on-device webpage.

This bit highlights the issue for the USA AQI (the UK is just above and similar): https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI:~:text=For%20example%2C%20calculation%20of%20the%20ozone%20AQI%20requires%20computation%20of%20an%208%2Dhour%20average%20and%20computation%20of%20the%20PM2.5%20or%20PM10%20AQI%20requires%20a%2024%2Dhour%20average

I'm only chiming in because I'm about to want the same thing after buying the SEN55 (pm0.5, 1, 2.5, 4, 10) and was amused to see this recent ticket :)

@brentru
Copy link
Member

brentru commented Dec 8, 2022

@tyeth So, calculating an AQI without averaging will result in higher-than-expected AQI values compared to the 24-hour rolling average. If you and other users are OK with this, I don't mind adding it as a type.

Otherwise - we'd need to have this calculated by IO (as IO is storing the values) over the period.

@tyeth
Copy link
Contributor

tyeth commented Dec 8, 2022

Yeah to be honest as a "clean air guide" it's very useful, stick it on the list!

@tyeth
Copy link
Contributor

tyeth commented Nov 24, 2023

Update noting that there's an open PR waiting for changes on the PM25AQI repo, if no changes forthcoming I'll modify and merge. See adafruit/Adafruit_PM25AQI#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request i2c
Projects
None yet
Development

No branches or pull requests

3 participants