Johan is one of our customers. He bought an ATOM Lite and a CO2 sensor to find out one thing: is the bedroom ventilation good enough? The answer was clear after just a few nights, and something as simple as leaving the door ajar made a big difference. Here are his measurements, shared with his permission.
1,400 ppm
highest value with the door closed
1,050 ppm
highest value with the door half open
−350 ppm
lower peak during the night
⚡ In short
- Johan measures carbon dioxide in the bedroom with an ATOM Lite and the M5Stack CO2 Unit (Sensirion SCD40) in Home Assistant.
- With the door closed, the level was above the 1000 ppm guideline most of the night and reached about 1,400 ppm.
- With the door half open, the night stayed around 900 to 1,050 ppm.
- Everything runs over Wi-Fi, so no extra hub or gateway is needed.
The equipment
The sensor connects to the Grove port of the Atom board with a Grove cable. No soldering and no other parts needed.
Measurement 1: door closed

Johan's measurement, 1–3 November. The curve rises when the family goes to bed and only drops when the door opens in the morning.
During the day the bedroom stays around 500 to 800 ppm, but as soon as the door is closed in the evening the level starts to climb. Just after midnight it passes 1,300 ppm and stays high until morning. The Public Health Agency of Sweden uses 1000 ppm as the guideline for good ventilation, so here the air exchange was not enough.
Measurement 2: door half open

Johan's measurement, 11–12 November, same room with the door half open.
With the door half open it is much better. The night peaks stay around 1,000 ppm instead of 1,400, and the level falls faster in the morning. The curve also shows how sensitive the sensor is:
“A bit fun to see the peak after 18:00, when I read a bedtime story to our son for a while :)”
– Johan
💡 What the measurement tells us
Two people in a closed bedroom produce more carbon dioxide than the ventilation can remove. An open door gives the air a way out, and the peak was about 350 ppm lower. A free fix that shows up straight away in the graph.
How Johan built the meter
Johan is not a programmer, but used ChatGPT to get the ESPHome code and to get the graphs into Home Assistant.
“It went surprisingly smoothly actually, and it is a big advantage that it runs over Wi-Fi, so you do not need yet another system to talk to it.”
– Johan
Want to do the same? The full configuration is in our guide Build a CO2 meter for Home Assistant. It also shows how to make the Atom LED shine green, yellow or red depending on the level.
Next steps
- A nice case: Johan plans to 3D print an enclosure for the two modules, so the meter can stay in place permanently.
- Control by CO2: the dream is ventilation that follows the CO2 level. The house is old with natural ventilation, so there is not much to control yet. A phone reminder when the level passes 1000 ppm, or a small fan on a smart plug, are simple options in the meantime.
⚠️ Mind the placement
Put the sensor at breathing height a little away from the bed, and not right next to a window or a vent. The Atom board gets slightly warm, so let the cable give a few centimetres of distance if you also want to measure temperature.
Share your project
Have you built something with parts from Kopplo? We would love to hear about it. Email [email protected] with a few lines and ideally a picture or graph, and your project might be our next customer story.
Build the same CO2 meter as Johan
The ATOM Lite and CO2 Unit ship from our stock in Alingsås, Sweden.
Buy CO2 Unit

