There are studies that suggest there’s a correlation between a level of CO2 in the air and general feeling of tiredness. In my home there’s a full house ventillation system, that’s also hooked up to openHAB. But until recently it was working on a plain time schedule - the system was setting fan speed to higher values in the daytime, and lowered it after sunset.
Adding a CO2 sensor would allow me to set ventillation more accurately + maybe notify me to open windows in certain room.
I bought a MH-Z19B sensor and wired it up with a Wemos D1 Mini -
A small ESP8266-based board that has WiFi and is very well known in the makers community.
I flashed Tasmota to it (using Tasmotizer) and chose tasmota-sensors
version, as it contains a template for MH-Z19B
.
https://tasmota.github.io/docs/MH-Z19B/
Added a single Number
item that will receive MQTT messages from the sensor.
Having a openHAB persistence service in place (in my case it’s InfluxDB), it’s very convenient to visualize the data in Grafana chart: