robert-hh / BME680-Micropython

Micropython driver for the BME680 sensor
34 stars 11 forks source link

IAQ #7

Open bradcar opened 4 days ago

bradcar commented 4 days ago

if you want, one thing that is often defined is something called "Indoor Air Quality" gas_kohms = bme.gas / 100 iaq_value = log(gas_kohms) + 0.04 * percent_humidity

Typical values for IAQ IAQ: (0- 50 low, 51-100 ave, 101-150 poor, 151-200 bad, 201-300 Very Bad, 301-500 dangerous)

robert-hh commented 4 days ago

This part of the driver was still due and an open ToDo for me. Thank you for the reference. Do you have a link to a document or source about the above formula? See issue #3.

bradcar commented 3 days ago

This is a reference, I thought I had another one, but can't find it now. Do you want me to do pull request to implement or would you rather just do it?

https://github.com/thstielow/raspi-bme680-iaq

bradcar commented 3 days ago

there is this discussion as well: https://forums.raspberrypi.com/viewtopic.php?t=293793

robert-hh commented 3 days ago

I#d be happy if you make a PR for it. Do you have a means to test it?