Email or username:

Password:

Forgot your password?
1 post total
Alexander 😷

How to build a headless CO2 sensor that is cheap and accurate: codeberg.org/alxndr42/co2-sens

Grafana and HTML dashboards included.

#DIY #CO2 #CO2Monitoring #CleanAir #CovidIsNotOver

Photo of a D1 mini board connected to an SCD40 CO2 sensor module, installed in a 3D-printed case, and powered by USB-C cable.
Screenshot of a Grafana dashboard, showing line charts for CO2, temperature and humidity, for multiple sensors.
Screenshot of the HTML dashboard, showing four panels containing a location name and PPM level for each sensor.
Show previous comments
Chris Adams

@alxndr Ahoy, thank you for sharing this!

Can I check I understand what's going on here?

Once flashed, this little box basically sets up the sensor to expose values using a Prometheus exporter, to allow another machine on the same wifi network to scrape regularly, and then chart in Grafana.

It's a bit like how might you monitor a set of virtual machines in a web application, right?

Codeberg.org

@alxndr Gave this a boost, as I've been looking for a project like this myself and really liked the way you documented everything in the README. Wishing you a happy new year and sending my thanks for publishing this! ~n

Andrey Esin
@alxndr hey! Did you print this case on 3d-printer?
Go Up