Good, fair, poor: who drew the lines on an air monitor?
An air monitor turns readings into three words, and somebody had to decide where one word ends and the next begins. We open Atmos One's firmware and follow each line back to its source: public guidance, a sensor maker's example, or the product's own choice. Its own file says which sources were checked and which were written from memory, so we looked seven of them up.
An air monitor shows numbers. Next to the numbers it shows words: good, fair, poor. Most people read the words.
So somebody had to decide where one word ends and the next begins. Why is 990 ppm of CO₂ good and 1010 ppm fair? Who said so, and did anyone check?
[Atmos One](#/story/atmos-one), the desktop air monitor from our earlier stories, has to answer this in its firmware. It does it in a way we liked: every line is a setting, every setting has a written source, and every source has a note that says whether it was actually checked. This story follows those lines back. The project is designed and checked by tools, and nothing has been built or powered. The screens below come from its firmware simulator, and the readings on them are made up by that simulator. No room was measured.
The screen, and a simulated week

The picture on the device is the simulator's own output. The firmware's screen code runs on a desktop computer, and a small program feeds it a week of invented readings: an occupied room on five working days, two quiet days, a meeting each morning, some cooking at midday.
The top bar gives a verdict in one word, and names the reading that set it: fair, because of CO₂. The big figure is 1356 ppm.

For the film we worked the simulator's CO₂ formula again, without the few ppm of noise it adds, and drew the week as seven rows. Our redraw can be checked against the simulator's pictures. Ours ends at 1359 ppm, 48 minutes after crossing 1000 ppm. The screen says 1356 ppm and 48 minutes.
Two lines make three words

For most readings the firmware keeps two numbers. Below the first the reading is good. From the first it is fair. From the second it is poor. These are the defaults.
| Reading | Fair | Poor | | --- | --- | --- | | CO₂ | from 1000 ppm | from 1500 ppm | | PM2.5 | from 15 µg/m³ | from 35 µg/m³ | | PM10 | from 45 µg/m³ | from 105 µg/m³ | | VOC Index | from 150 | from 300 | | NOx Index | from 20 | from 40 | | Humidity | below 30 % or above 60 % | below 20 % or above 70 % | | Temperature | below 18 °C or above 26 °C | never |
Two details in the code are worth copying.
- Temperature can be fair but never poor. The comment in the code gives the reason: comfort temperature is a matter of preference, not of air quality.
- The verdict in the top bar looks only at CO₂, PM2.5, the two indices and humidity. A warm, loud or dark room does not make the air poor.
Where the lines come from

The project keeps a file that lists every default with the guidance behind it. Reading it, the lines fall into three kinds.
Public guidance. The 1000 ppm line for CO₂ is tied to a paper from a working group at Germany's Federal Environment Agency, published in 2008. The 15 µg/m³ line for PM2.5 is the WHO guideline level for a 24-hour mean, from 2021. The 35 µg/m³ line is the US 24-hour standard for outdoor air. The 60 % line for humidity comes from a US guide on mould.
A sensor maker's example. The VOC Index line at 150 and the NOx Index line at 20 come from the sensor maker's notes, where they are examples of when to switch on an air purifier. The file adds, in its own words, that this is an example for an action, not a health limit.
The product's own choice. The 1500 ppm line is the middle of the guideline's 1000 to 2000 ppm band, chosen so that the stronger word arrives before the band the guideline calls unacceptable. All the waiting times are choices as well.
The file is also plain about using guidance outside its home. The PM2.5 levels were written for the mean of a whole day, and one of them for outdoor air. The firmware applies them to a one-hour mean indoors, and the file calls that deliberately conservative.
Some numbers are not what they look like
The VOC Index and the NOx Index are not amounts of gas. They compare the air now with what the same sensor has seen recently: a VOC Index of 100 is the sensor's own recent average, and so is a NOx Index of 1. The file says they are never shown as ppb, ppm or µg/m³, and the screen that plots them carries a line saying what the number is not.
The noise figure is the same kind of case. It comes from a small microphone that has not been calibrated, so the screen labels it as an estimate, and the firmware stores no audio.
A line needs a clock

A line alone makes a nervous device. Breathe near the sensor and CO₂ jumps for a minute. So each rule has a clock, and a gap.
For CO₂ the rule reads like this.
- The event opens when CO₂ has stayed at or above the line for 15 minutes without a break.
- Once open, it counts from the moment of crossing, not from the moment it opened.
- It closes when CO₂ has stayed 50 ppm below the line for 5 minutes. For lines above 1000 ppm the gap is 5 % instead.
The film follows the simulated morning. By our redraw, the meeting pushes CO₂ across 1000 ppm at 10:11. Nothing happens. At 10:26 the event opens. At 11:58 the reading is back under 1000 ppm, and the event stays open. At 12:13, after five minutes under 950 ppm, it closes.
The project tests exactly these cases on a desktop computer. One test holds CO₂ at 1200 ppm and checks that nothing opens after 14 minutes and that one event opens a minute later. Later the same test flips the reading between 990 and 1010 ppm every 30 seconds, and checks that no new event opens.
Other readings get other clocks. Humidity has to stay outside its range for an hour, because a shower or a boiling pot needs no advice. The PM2.5 rule looks at the mean of the last hour.
What the screen then says

When an event is open, the device writes a sentence. The one in the simulator reads: CO₂ has been above 1000 ppm for 48 minutes (now 1356 ppm). Under it, in smaller type: Consider ventilating the room.
The sentence carries its own evidence: what was seen, for how long, and the value now. The project's note on the screens adds a rule we would keep in any product like this: a cause is never named. The device cannot know whether the room is full of people or the window is shut. It says what it measured.
Checked, from memory, or chosen
This is the part of the file we liked most. Every row ends with a status, and the file defines the words.
"Checked" means the number was read in the cited document while writing this file. "From memory, verify" means it was not checked against the source and must be verified before anyone relies on it.
The file has 20 rows. Three are marked as checked, and all three cite the sensor maker's documents. Nine are marked from memory. Seven are product choices. One is a calibration value that needs no source.
So the public guidance, the part a reader would trust most, is the part marked as not yet verified. That is an uncomfortable thing to write down, and a useful one.
For this article we looked up seven of the statements behind the rows marked from memory. This is our own spot check, not a standards review. Four of the seven we read on the publisher's own page. The two WHO air-quality levels and the housing temperature we know only through published summaries of the WHO documents, because we could not open the full texts.
| What the file says | What we found | | --- | --- | | German working group, 2008: CO₂ under 1000 ppm harmless, 1000 to 2000 ppm elevated, over 2000 ppm unacceptable | The same three bands, in the agency's own table | | WHO, 2021: 15 µg/m³ of PM2.5 as a 24-hour mean | 15 µg/m³ | | WHO, 2021: 45 µg/m³ of PM10 as a 24-hour mean | 45 µg/m³ | | US standard: 35 µg/m³ of PM2.5 over 24 hours | 35 µg/m³ in the agency's current table | | US mould guide: humidity below 60 %, ideally 30 to 50 % | The same sentence | | WHO housing guidelines, 2018: at least 18 °C indoors in cold seasons | 18 °C, for temperate and colder climates | | WHO community noise guidelines, 1999: 35 dB for classrooms and bedrooms | WHO's own summary gives under 35 dB(A) for classrooms and under 30 dB(A) for bedrooms at night |
Six agree with what we found. The seventh is right about classrooms and 5 dB off for bedrooms. No default depends on it: the noise line is 60 dB(A), which the file calls a product choice well above those indoor values, and that is still true with 30 in place of 35. But it is the kind of slip the mark was put there to catch.
We did not look up the rows that cite standards sold by their publishers. Those stay marked as they are.
These are the pages we read ourselves.
These are the documents we know through summaries.
Every line is a setting
The file opens by saying that rooms differ: a bedroom, an office, a workshop and a kitchen call for different targets. So none of these numbers is fixed in the code. Each one is a setting with a range and a step. The CO₂ line can sit anywhere from 400 to 5000 ppm, in steps of 50. The firmware refuses a pair where the fair line is not below the poor one.
The dashed lines on the history screens are drawn from the same settings, so the chart and the verdict cannot disagree.
How it arrived
Times are counted from the project's first commit.
| Time | What the commit adds | | --- | --- | | 0:25 | The code that turns a reading into good, fair or poor, and picks the overall word | | 0:32 | The event rules, with their clocks and gaps | | 0:34 | The tests for those rules | | 0:37 | The file of defaults, with a source and a status on every row | | 3:24 | The home screen as it is now, with CO₂ and PM2.5 in front |
The first four are commits that name Claude Opus 5.5 as co-author. The last names Claude Fable 5.2. [Firmware first](#/story/firmware-before-the-board) tells how that work was split.
What this does not show
The rules run, and their tests pass, on a desktop computer. The week is invented. The screens have not been seen on the real panel, and no sensor has been read. Whether 15 minutes is the right wait in a real room is a question for a real room.
The defaults are a starting point. They are not medical advice, and the file does not claim they are.
If you are making your own
- Write the source next to every threshold, in the same commit as the number.
- Mark what you read in the source and what you remembered. Remembered numbers are often right, and now and then off by five.
- Say when guidance is used outside its home: outdoor limits indoors, a day's mean applied to an hour.
- Give every line a clock and a gap, and test the reading that flips across it.
- Do not show an index as if it were a concentration.
- Let the device say what it measured. Leave the cause to the person in the room.
- Make every line a setting.
On EIN
None of this needs a factory. But firmware like this is written for a board and a case that somebody has to make. On EIN the board goes in as a PCB or PCBA request and the case as an Other Request, and makers answer with quotes. [Ten makers asked, six quotes in three minutes](#/story/files-to-quotes-three-minutes) shows that step.
In the film, the case is the project's model and the pictures on its screen are the simulator's output, enlarged. The week of CO₂ is the simulator's formula worked again by us without its noise. The times on the morning's curve come from that redraw.