Hmm, i see. I do also around 100 measuring before taking data. The code i use is close to yours in functionality.
In my graph the two curves are practically identical!! I don't let your code run yet but it seems to me the results will also follow more or less the humidity?!?
I don't get the physical correlation between air quality and humidity. The air can be bad if it's wet or dry, right? In my understanding these curves should be totally independent?!?
As i remember, the sensor has an internal memory for it's baseline so it can act his age. In general it seems to me that Bosch is hiding the clear function of the sensor and it's algorithms.
Why do we have to calculate IAQ anyway with code from unclear source?
Isn't that a IC with it's own logic? Why not just simple bme.getAirQuality(); ?
Your mentioned const baseline of 149598 is for this specific sensor or do you let the sensor run for three hours before calculating a IAQ?
Do you develop your code? On what base? Did i miss tech specs from Bosch?
In general or do you use a combination of sensors? What else is the bme680 for?
I don't get it with this sensor and it's lib.
Sorry my harsh questions but it's now the fourth time i re-code the bme IAQ function because i don't trust the results after furting into the sensor...
Don't get me wrong, i'm a little upset against Bosch, not you.
Thxs a bunch for your answers!