CCS811 CO_2 and Volatile Organic Compound Sensor

Home Assistant automation projects, questions, etc. go here.
Post Reply
jhagdorn
LED-Curious
LED-Curious
Reactions:
Posts: 7
Joined: Sat Aug 07, 2021 7:46 pm

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
jaysal
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 75
Joined: Sat May 30, 2020 7:49 am

Are you trying to read the amount of carbon dioxide in a grow room?
jhagdorn
LED-Curious
LED-Curious
Reactions:
Posts: 7
Joined: Sat Aug 07, 2021 7:46 pm

I can read the values from the sensor, its just the first readings are very high.. Wanted to dropped those off..
jaysal
LED Enthusiast
LED Enthusiast
Reactions:
Posts: 75
Joined: Sat May 30, 2020 7:49 am

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.
Post Reply