Lurker News
Hi HN!

I’ve been working on an air quality measuring device called Air Lab for the past three years. It measures CO2, temperature, relative humidity, air pollutants (VOC, NOx), and atmospheric pressure. You can log and analyze the data directly on the device — no smartphone or laptop needed.
To better show what the device can do and how it feels like, I spent the past week developing a web-based simulator using Emscripten. It runs the stock firmware with most features available except for networking. Check it out and let me know what you think!
The firmware will be open-source and available once the first batch of devices ships. We’re currently finishing up our crowdfunding campaign on CrowdSupply. If you want to get one, now is the time to support the project: https://www.crowdsupply.com/networked-artifacts/air-lab
We started building the Air Lab because most air quality measuring devices we found were locked-down or hard to tinker with. Air quality is a growing concern, and we’re hoping a more open, playful approach can help make the topic more accessible. It is important to us that there is a low bar for customizing and extending the Air Lab. Until we ship, we plan to create rich documentation and further tools, like the simulator, to make this as easy as possible.
The technical: The device is powered by the popular ESP32S3 microcontroller, equipped with a precise CO2, temperature, and relative humidity sensor (SCD41) as well as a VOC/NOx (SGP41) and atmospheric pressure sensor (LPS22). The support circuitry provides built-in battery charging, a real-time clock, an RGB LED, buzzer, an accelerometer, and capacitive touch, which makes Air Lab a powerful stand-alone device. The firmware itself is written on top of esp-idf and uses LVGL for rendering the UI.
If you seek more high-level info, here are also some videos covering the project: - https://www.youtube.com/watch?v=oBltdMLjUyg (Introduction) - https://www.youtube.com/watch?v=_tzjVYPm_MU (Product Update)
Would love your feedback — on the device, hardware choices, potential use cases, or anything else worth improving. If you want to get notified on project updates, subscribe on Crowd Supply.
Happy to answer any questions!

Comments (186) 66 threads

Earlier comments
Timot051 reply#
Nice kickstand!
256dpi#
Thanks! Our engineer invested a lot of time to get the feeling just perfect! :-)
tremarley1 reply#
The website is broken
256dpi#
Sorry to hear that! I'm happy to investigate if you let me know your browser/platform.
flawn#
love this!
voxlax5 replies#
You can get the same measurements and even more from AirGradient. Those are a bit cheaper and much more solid devices. Not so focused on design, but rather on accuracy: https://www.airgradient.com

I´m not affiliated with them in any way, but I´m using their indoor and outdoor sensors since a few years by now, and I am very satisifed. Btw. their HW is opensource and you can choose between their SW or can flash anything else. The measurement data of my outdoor sensor is publicly available: https://explore.openaq.org/?location=2070168#13.21/48.22244/...

esskay#
Another vote for AirGradient's devices which are great IMO, got a few of them now and they've been very easy to integrate into my setup.
badmorale#
AirGradient is fantastic!
technotarek8 replies#
A sincere question : In a home environment, what information do devices like this provide that you regularly act upon and how? Can you give some examples? I’m trying to understand the use case given I already have a thermostat with humidity readings and look at the weather for air quality. Is it more than after cooking, the PPMs are high, open the window or turn on the vent fan (which I do out of habit anyways)?

I self imposed a rule when I went through the process of having a child — to avoid (negative) information that I couldn’t or wouldn’t really act upon (e.g. learning about genetic markers/hints that couldn’t be prevented and wouldn’t make me think about extreme measures, such as blindness). For me it’s an issue of anxiety management.

technotarek#
Not a fan of my own medical example there. If I knew my kid was going to be blind, there are lots of actions I would take: Educating myself, potentially preparing the home environment etc.
joker991 reply#
Not the OP, but my airgradients are part of my home assistant setup. They measure the temperature and humidity, and the values are used for controlling the radiators and the humidifiers. Whenever the co2 or ppm count is too high, I flash some leds red to remind whoever is in the room to open a window - which is extremely important because a lot of people don’t have a natural reflex for getting fresh air. This is especially important when we have guests over, in our small living room, the air goes bad fast.

I was able to improve my sleep because I found out that my waking up in the night was correlated with high co2 values. Same thing with performance in my home office. It’s a small room and the reminder to open a window while I’m in the flow is just amazing.
But: my airgradient devices were anything but “rock solid“. Constant reboots, hung ESPs, I had to swap out the senseair sensors because apparently they go bad, etc.

kiliankoe1 reply#
> I was able to improve my sleep because I found out that my waking up in the night was correlated with high co2 values.

What did you change? I assume it's non-trivial to automatically open windows based on sensor data? Or do you mean you've been able to improve it by knowing about it and opening a window before going to sleep, which now that I write it sounds much more sensible :D

Continue this thread — 1 reply

m4r1k#
I'm also an AirGradient user. AirGradient prioritizes accuracy and it's fully OSS. The sensors are fully replaceable; not if but when they eventually lose accuracy. I'd argue that monitoring PM2.5 levels indoors is even more crucial than outdoors. In our home, we have good air recirculation and HEPA filters in every room. Since we began keeping indoor air clean, our spring allergies (and general allergy issues throughout the year) have become much less severe. IMO AirGradient is the best way verify current levels and ultimately ensure the filtration works. https://imgur.com/a/UIkkANL
jvanderbot1 reply#
During wildfire season (which was never a thing for most the USA, but now is thanks to Canadian wildfires and climate change), it's really helpful to get instant particle counts indoors and outdoors. Indoors, you can mitigate with "circulation" mode on your hvac system (to filter through the furnace fitler), or by running air purifiers. Outdoors you can just avoid exposure by coming inside / avoiding trips.
dylan6041 reply#
That seems like at strange dig at Canada. Since I was a kid, we’ve known about California wildfires even though I’m not from California. Your comment makes it sound like Americans have never had to deal with wildfire smoke pollution until Canada caught fire. That’s just not true

Continue this thread — 1 reply

Modified30191 reply#
I mostly use mine just for monitoring humidity (I use a humidifier, but don’t want the humidity going up past 60% or bad things can start to grow) and CO2 which I try to keep below 800-ish PPM by keeping the window slightly open (except during pollen season, which is now)

There was an initial effort of doing things and seeing the effects and eventually finding a nice equilibrium. I now have a feel for what’s needed and it’s not something I put any thought into. I basically check it when the seasons change. Rather than contributing to anxiety, I am now relieved of unknowns.
I’m quite allergic to pollen, and very sensitive to things like smoke, so I’ve already someone more focused on managing my environment than a normal person. A wick based humidifier (don’t use ultrasonic, those breed bacteria and launch them into the air) and large air filter with a big but quiet fan are the most important things in my room. Yes, even the bed.
These devices can also be a good way to catch localized air pollution that exceeds safety limits, though where I live that’s not an issue. Citizens capable of checking air and water quality is a positive in my opinion.

dylan6042 replies#
>I use a humidifier, but don’t want the humidity going up past 60%

out of curiosity, what part of the globe do you live (or when was your home built) that you need a humidifier? I have a dehumidifier as it is quite often > 50% humidity in my home, easily as much as 65%, but that's due to the high humidity outside where it can easily be 85%. Just looked at my sensor, it is currently 81% outside and 55% inside. That 55% is where it really starts to become uncomfortable. I struggle to keep it <50% inside. At these indoor humidity levels, it limits some of the things that I can do indoors as it has a negative affect on things I make/do. So adding humidity is just one of those things that makes me tilt my head sideways and go huh? like a dog because it is so out of my experience.

Continue this thread — 2 replies

strogonoff#
Among the probably most important and universally relevant measurements offered by air quality monitors is carbon dioxide/monoxide. Humans are not really built for realising when these are elevated, other than feeling sleepy and generally experiencing reduced mental capacity, which by its self-referential nature is not conducive to understanding that you are experiencing reduced mental capacity or being motivated to take measures about it (such as opening windows).

These are all of the ways in which air monitoring information is actionable for me:
— Excessive carbon dioxide: as mentioned, it’s a call to open windows and possibly doors, depending on wind direction and window/door configuration in the flat and the building. It can reach surprising, and in my case unsafe by at least one country’s standards, levels overnight if your flat has decent insulation and little airflow. Besides, it just feels nice to have more oxygen knocking about your internals.
— Excessive (which should really mean non-zero, but in today’s ecology let’s say “elevated”) PM2.5 means I should close windows (usually this pollution comes from outside) and ramp up air filtering, and potentially postpone exercise while particulate matter is too high. I have a separate cheap air filter but lately it turned out that a Mitsubishi dehumidifier does a great job at this—which, by the way, I have realized only thanks to an air monitor.
— If both carbon dioxide and particulate matter are high, I’d most likely open the windows first to lower the former then close the windows and run air filtering while hanging out at the office or having a walk (potentially with an N95 mask on if it’s really bad outside).
— VOC, which often originate from chemicals used in furniture or flooring, if your monitor measures those, could probably be addressed by adding activated carbon layer to your air filter (and by opening windows). I think they are filtered slowly and this might take months, but my monitor did not measure VOCs so I don’t have first-hand experience. An air quality monitor could help you understand whether you are wrong or right in thinking your new floor made your air full of VOCs when all you can go by otherwise is just a vague chemical smell.
— Elevated background radiation means you should probably just move, usually it is building materials or something not easily removable anyway.
I would say that with these numbers available there is a danger you’d stress over and min/max them. It’s probably better to just use the measurements to understand the patterns and see if something is really out of ordinary or elevated for prolonged periods of time. I did that first (and did not expect to see how quickly carbon dioxide builds up, how quickly everything deteriorates with any cooking, including when done by a neighbour if I open windows and the wind blows the wrong way, the speed with which outside pollution permeates the indoor space, how effective my air filtering is, etc.), now my air monitor is broken and I am not overly concerned until I have to move to a new place.

markasoftware#
If you live in a part of the country where wildfire smoke is common, you can use a PM2.5 sensor (which airgradient has -- and air lab does not) to determine if you're effectively keeping the smoke out of your home and can help you determine whether or not to eg use air purifiers.
voxlax1 reply#
I´m living in the middle of a city, and PM2.5 levels get very high at times. We are way above the yearly 5ug/m3 recommendation. So I just bought a lot of air purifiers (just HEPA, everything else commercially available is useless) and they get switched on if the levels get high (via HomeAssistant). I have a device in the garden and another inside, so I am monitoring the difference on a regular basis. I optimize (manually, no fancy data crunching) for low noise produced by the filters and low <2-3ug/m3 PM2.5 values indoors. I don´t have forced ventilation, so I need to know how much do I open the windows to get humidity and VOCs down, while not letting in too much smog. Sounds more complicated than it really is.
ajolly#
If you want quiet, look into a diy computer fan based corsirosenthal box. Also ends up being far cheaper
RivieraKid1 reply#
I have AirGradient but this product seems appealing too. It's smaller, portable, doesn't need external power supply and looks better. I also like how the UI looks, it's clearly designed by someone with a visual / artistic taste, the UX could be improved though.

The big question is accuracy, that's possibly a major advantage of AirGradient.

256dpi1 reply#
Thanks! AirGradient is great! They do a very good job and served as an inspiration to us!

On CO2-Sensor Accuracy: Based on AirGradients own research[1], the SCD41 (which Air Lab uses) and SenseAir S8 (which AirGradient uses), compare well indoors. In outdoor environments, the AirGradients sensor is generally better. As the Air Lab is primarily focused on indoor environments, we chose the smaller SCD41 to fit the portable design. But yes, If you're looking for an outdoor air quality monitor, AirGradient will be more accurate.
[1]: https://www.airgradient.com/blog/co2-sensors-photo-acoustic-...

RivieraKid#
How about temperature accuracy? AirGradient did a bunch of tests and adjustments to mitigate effects of insufficient air circulation and heat from electronics.
elif1 reply#
Likewise I use uHoo sensors which add carbon monoxide, ozone, and PM2.5 and has a full app with phone alerts etc. I have been only satisfied with the sensors which have great algorithms for handling sensor calibration drift
jonah#
I'm really surprised more systems don't offer carbon monoxide sensing. To me, it's one that is really important to be aware of.

Load more comments