A room that measures itself
When does the living room need fresh air?
The question
Danes air out. Windows open for five or ten minutes, a few times a day, even in November. It’s practically a national habit.
But we were doing it by feel. Morning, after cooking, before bed. Was that right?
So: when does the living room actually need fresh air?
What I built
A small box on the bookshelf:
- An ESP32 with a CO2, temperature and humidity sensor on a tiny printed bracket.
- A ring of 12 LEDs behind a frosted printed diffuser.
- A second sensor outside on the balcony, so the box knows how cold it is out there.
- A log that keeps a reading every minute, so I could see the whole week afterwards.
The design process
Problem. Not “show the air quality”. Nobody wants another number in the living room. The real problem was timing: open the window when it helps, and don’t freeze the room when it doesn’t.
Iterations.
- v1: a small screen with the CO2 number. Accurate and ignored. By day two nobody looked at it, me included.
- v2: traffic-light colours. Green, amber, red. Better, but amber was on most of the evening and it started to feel like nagging.
- v3: dark by default. The ring stays off until it’s time to air out, then glows a soft blue. The number of lit LEDs is the minutes to keep the window open, worked out from the outdoor temperature. Close the window and the ring fades.
Testing. One week of logging before the glow, one week after. Same household, same routines.
- Week one: CO2 went over 1,000 ppm on 6 of 7 evenings, mostly between dinner and bedtime.
- Our “by feel” airing mostly happened in the morning, when the room was already fine.
- Week two: evenings over 1,000 ppm dropped to 2 of 7.
- Average airing time went down from about 12 minutes to 7. Cold days need less time than we thought.
Design decisions.
- No numbers on the device. The log has the numbers for me. The room only gets the one thing it needs to know.
- Off is the normal state. A sensor that glows all the time becomes wallpaper.
- Tell people how long, not just when. “Open the window” leaves people guessing. Seven lit LEDs doesn’t.
What broke
The sensor reads high right after you breathe on it. Our two-year-old found this out quickly and turned it into a game. Moved the box up a shelf.
The outdoor sensor got rained on. Printed a little roof for it. It now looks like a birdhouse.
The first diffuser had hot spots. Reprinted it thicker, with a textured inside surface.
What I learned
The most useful thing in the data wasn’t the CO2. It was when. We were airing out at the wrong time of day, by habit.
And again: the calm version won. A sensor that only speaks when it matters gets listened to. One that always speaks gets ignored.