logoalt Hacker News

microtonaltoday at 8:58 AM3 repliesview on HN

Two tips: if you want a stationary CO2 meter in a room, you can make one very cheap with a SenseAir S88 sensor (22 Euro) and hooking it up to an ESP board. Flash ESPHome and you can get live statistics in your Home Assistant dashboard. The S88 is a pretty good optical NDIR Sensor that auto-calibrates by putting it in the outside air or in a well-ventilated room every N-days (N is in the data sheet). A bit more info about hooking up the S88:

https://danieldk.eu/hardware/smart-home/esphome-senseair-s88

If you want something with a display that works on batteries without spending over 200 Euro for an AraNet, the SwitchBot Meter Pro CO2 is pretty good option. It is regularly on offer below 50 Euro. It uses photoacoustic NDIR, but does not deviate a lot from the S88. You can use it without a SwitchBot by configuring it with a phone on Bluetooth. The meter works on external power and battery, but even when on battery, you can set the reporting interval to 5 minutes, which is good enough in practice. The meter broadcasts the measurements with Bluetooth LE, so if you want to get the data in Home Assistant, you can place a ESPHome Bluetooth LE Proxy in the vicinity [1]. This is an ESP32 flashed with ESPHome that listens on Bluetooth LE advertisement and forwards them to your HA instance over WiFi. Of course, you could also get the SwitchBot Hub, but what is the fun in doing that? :)

I would avoid the Ikea ALPSTUGA, it uses a thermal conductivity sensor, which is a very indirect method for measurements and it's often several hundred ppm off.

https://esphome.io/components/bluetooth_proxy/


Replies

originalvichytoday at 3:30 PM

I would recommend Ruuvi Air, its sensors are high quality, and is quite open for devs to do pretty much whatever with it. Works by broadcasting sensor data over BLE, so if you have a smartphone or a home assistant server with BT connectivity, you can display or store the data live. The iOS app sends alerts when different custom thresholds are crossed, like for co2 ppm.

They do have a gateway product, but it’s not necessary if you have HA. If Apple homekit routers supported BLE as source it would work seamlessly in the ecosystem, but a bridge software is required on HA.

bjackmantoday at 9:13 AM

As a middle ground I can also recommend this unit: https://apolloautomation.com/products/air-1

Looks like it's increased in price unfortunately but I like the idea, it's basically just what you would do as a DIY project but ready built. So you can either use it like a normal commercial product, or you can just fork the ESPHome config that's on GitHub and flash it exactly like any normal ESPHome project.

show 1 reply
dgellowtoday at 9:05 AM

Thanks for mentioning that, last week I got 2 SwitchBot hub mini, 3 temperature sensors each, for 70€ total, they are really neat. Even put one in our fridge, I didn’t expect the signal to pass but it’s working :)

Will look at adding the CO2 monitoring

Edit: actually, they only sell them as part of a 6-in-1 device, with a display, and a bunch of other sensors. That feels overkill, I wish they would just sell the CO2 sensor itself