Live data from Hacker News

Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

github.com

1–10 of 38 posts

Re: Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

#2
If you're interested in a hardware solution, I've used the MH-Z19 CO2 sensor to great results. It's an NDIR (read:not electrochemical) sensor with a UART interface and temperature compensation. It will report up to 5000ppm and comes factory calibrated.

It's also $20 in singles from China. Coupled with whatever microcontroller you want, it's totally possible to have a distributed net of CO2 sensors for a low cost per node.

That being said, it's a ton of work and this is an excellent solution with much quicker results.

Re: Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

#6
post #3

> we were now able to optimize HVAC settings in our office (Well, we mainly complained to our facility management). Time to go shop some plants?

Plants have have been shown to capture other contaminants in the air as well, I haven't seen any capture capacity over any time scale. I wonder if anyone has done the metrics.

Re: Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

#8
post #7

[deleted]

I wonder how well it handles zalgo text?

Ḣ̶͉̣͚̍ͧ̆̕o̷̹͔̪͈͔͚̺̖̗̘̳͇̲̩̤̖̪̮̍͋ͬ̑̌̀̀ͪ͂͋̒͌̕w̥̯̫̣̦̺̮͔̺͚̜̝̎͋̐̇̐̇ͣ͒̿̓̈͂ͤͬ̂̍͠͠ͅͅͅͅ ̸͉̗̦̥̖̮͇̗͖̒ͭͦ͆ͥͤ͢a̓̃͒ͣ͐ͦͤͫ̒̈͂͑̽̋̐ͭ͌̒͢҉̴̹̖̭̜̥͔̰̰̳͕̥͙̝͍͟͜ͅb̍ͫͧͪ̈ͪ̿ͩ͌̔̍̃́ͪ̚҉̶̙̪̥̝̬͖̰̺̜͔̳̰̲̯o͑ͯ̎͊̍̓̇̄̄̂̃̃̋̐ͧ̎̄ͩͧ҉̛̹͉͉̤̭̜͔̥ͅũ̧ͩ̅̆̈ͤͬ̈ͥ̓ͯͧ́̚͝҉҉̠̣̝͔̠̻̯̼͍̪ͅt̶̮̲̙͚͓͖̻̝͚̠̘̰̳̯̙̖͉̝̓͗͒̐̕͜͝ ̵̡̺̼̯͔̰̜̥͖̮̈ͣͯ͛̔̉̃́̊͛̍͗̓ͬ̎ͣͧz͍͖̞̰̤̞͙̅̔͑̈́̇̌̆ͣͩ͟͝ͅa̷̻̰̖̬̰͈̗̹͖̺͉̟͓̘̥̠̤̓ͧ̌́̑̈̋͒͆̆̉̽͌ͫ̅ͦ̀̀͘ḽ̶̷̲̜͈̟͙̲̗̜̭̻̭̇̍̂̽͂̂̑ͫ͌̋̄͟͜͢ǧ̍ͦ͗ͪ̓́͝͏̸͚̝̖̣̥̯̠̗̬̦ǫ̧̙̗͚̬̥̠̠̩̩̓ͦ̒̎̊ͬ͒̎̾̑͑́̋͛ͤ̚̚ ̴̼̣͔̫̲̙̘̿̿̎̑͂ͦ̊͌̉̊ͯ̾͋͌ͥ͊t̶̡̡̢͇͇̠͓̠̘͓̞̭͛ͮͯͨͨ́̈ͩ̈͐̇̾͒̐͞e̢͑͌̌͑͆̓͡҉̷̧͉͉̲̘̟͔ẍ̧̟̙̹̹ͬ͛̂ͬ͆ͧͫ̏̌̀tͬ̔̍͛͘͏͉͖͕̝̳͇͍͔͇̜͕̜͖̀͡?̴̷̧̟̯̘̻̩̰̺̼͉͉̦͚̞̦̉̿͆ͮ̍͑͑͒͑̃̓̇̑̒̈́͂͑͜͞ͅ

Re: Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

#9
post #5

I was looking in to a indoor quality monitor, and seems like for $80, you could just buy this which connects to homekit https://www.amazon.com/Elgato-Eve-Room-technology-Bluetooth/...

Came here to say something similar. I expected an actual circuit build (of which there are many), but this is just plugging in a USB data logging CO2 monitor (which is $116 on Amazon right now, but apparently the normal price is ~$70 USD) and using it with Prometheus. I've done something similar wrapping https://github.com/merbanan/rtl_433 to pick up temp / humidity monitoring data from sensors around my home, then stuffing the results into InfluxDB and using Kapacitor for alerting (sends me an email when my freezer gets too hot) + Chronograf for graphing. It took an evening of reading docs and messing around to get it all working, and I'd recommend Ding I Y if it sounds cool -- you'll very likely learn something. Note that you could do the same with an ELK stack or Sensu or Nagios or whatever you want to play with.

Re: Show HN: Low cost CO₂ monitoring (your office) with Prometheus and Go

#10
post #2

If you're interested in a hardware solution, I've used the MH-Z19 CO2 sensor to great results. It's an NDIR (read:not electrochemical) sensor with a UART interface and temperature compensation. It will report up to 5000ppm and comes factory calibrated. It's also $20 in singles from China. Coupled with whatever microcontroller you want, it's totally possible to have a distributed net of CO2 sensors for a low cost per…

Thank you for the tip! I was just thinking of adding a CO2 monitor to a homebrew Arduino weather station. I was looking at this device but calibration of CO2 sensors is an issue:

https://www.adafruit.com/product/3566?gclid=EAIaIQobChMI9uiy...

Post reply on HN