Welcome to a new Voltlog, you might remember these two sensors from a previous mailbag, this is the MH-Z19B and this is the CCS811 both of these report CO2 levels but they measure this differently and I’ll explain this in a moment. I got these two sensors in order to monitor CO2 levels in my home, to determine if the levels rise too much at night, especially during the winter time when we tend to keep the windows closed most of the time. I live in an old apartment building where there isn’t much provision for ventilation and so I suspect the air I breath during sleep is high in CO2 levels as it builds up over night.
In this video I’m gonna show you how I built the monitoring system using an ESP32 board that reads the sensor data and then sends it over the network to an MQTT server running on my raspberry pi. I then use node-red to insert the data into InfluxDB and then finally Grafana to monitor all of this data in a nice graphical user interface. The beauty of this setup is that all of this software is free to use and open-source.