Page 1 of 1

CCS811 CO_2 and Volatile Organic Compound Sensor

Posted: Sat Aug 07, 2021 7:54 pm
by jhagdorn
I have an issue when this sensor first reads it has VERY HIGH values, is there a way that I can limit it to returning the 2nd value? I have tired to use:

https://esphome.io/components/sensor/ccs811.html

filters:
- median:
window_size: 11
send_every: 6
send_first_at: 3

Might be that -median might be unavailable for this sensor?

If not via "-median:", then maybe a "- lambda:" function could filter this out?

ty,
j

Re: CCS811 CO_2 and Volatile Organic Compound Sensor

Posted: Tue Aug 17, 2021 2:20 am
by jaysal
Are you trying to read the amount of carbon dioxide in a grow room?

Re: CCS811 CO_2 and Volatile Organic Compound Sensor

Posted: Tue Aug 17, 2021 11:08 am
by jhagdorn
I can read the values from the sensor, its just the first readings are very high.. Wanted to dropped those off..

Re: CCS811 CO_2 and Volatile Organic Compound Sensor

Posted: Thu Aug 19, 2021 10:54 pm
by jaysal
The reason I ask is because that sensor is not the best for reading CO2, it reads "eCO2" equivalent calculated carbon-dioxide.

I would recommend an NDIR (non-dispersive infrared) sensor like the MH-Z19 or this one https://atlas-scientific.com/probes/co2-sensor/

I have played around with sensors like the CCS811 and found then to be very erratic and not very useful to read real CO2 levels.