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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change AQI scale for Bosch 8750001213 Twinguard #7313

Merged
merged 7 commits into from
Apr 2, 2024

Conversation

burmistrzak
Copy link
Contributor

As it turns out, the IAQ (indoor air quality) index used by the BME680 gas sensor, is not linear. Great... 馃憖

The first implementation #7286 assumed a linear relationship between IAQ level and TVOC density, and that obviously wasn't correct. This is an attempt to improve the overall accuracy of the conversion, and align the estimated TVOC density to its corresponding IAQ level.

We'll have to keep in mind, that we're dealing only with estimates here, and not with lab-grade sensor readings.

Expose raw IAQ (indoor air quality) levels as an AQI (air quality index) sensor. Might be useful for downstream applications doing their own calculations.
Add basic handling for the non-linear nature of the IAQ scale used by the BME680 gas sensor.
@Koenkk
Copy link
Owner

Koenkk commented Apr 2, 2024

Let me know once this is ready for merge.

@burmistrzak burmistrzak marked this pull request as ready for review April 2, 2024 18:37
@Koenkk Koenkk merged commit c6f18b4 into Koenkk:master Apr 2, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Apr 2, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants