Live data from Hacker News

Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

github.com

71–80 of 124 posts

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#72

I would have just had the CO2 level read via a $8 I2C device connected to an Esp8266/Esp32 running Arduino. I would post the result to a web service in this fashion from the Esp8266: https://techtutorialsx.com/2016/07/21/esp8266-post-requests/ Then just setup a nice Graphana+Prometheus as a service, graphana.com is nice and can expose a Prometheus end point over basic http auth - easy to post to. Then you can setup a…

Would you be able to share where you might get such a cheap CO2 sensor/the name of it? I've had trouble finding them for less than £60 in the UK and would like to set one up.

MH-Z14 or Z19 are cheap, but not 8$ cheap, more like 25.

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#73

I would have just had the CO2 level read via a $8 I2C device connected to an Esp8266/Esp32 running Arduino. I would post the result to a web service in this fashion from the Esp8266: https://techtutorialsx.com/2016/07/21/esp8266-post-requests/ Then just setup a nice Graphana+Prometheus as a service, graphana.com is nice and can expose a Prometheus end point over basic http auth - easy to post to. Then you can setup a…

And where can you buy a 8$ Co2 sensor that doesn't suck?

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#74

I'm looking around for an affordable household CO2 measurement tool but they're all wildly expensive. Is this technology complicated and cannot be obtained for $30? They're all like $120+ Edit: I realised that this is a perfect item for public libraries to loan out. Expensive, only needed occasionally, easy to use, potential for significant positive public impact on becoming more informed and healthier. If you're loo…

MH-Z14 or Z19. But this is just the sensor, you'll need an Arduino/ESP/Rpi too.

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#75

Earlier quoted context omitted.

On top of everything else, try putting a plant in your room too. Works wonders for air quality and is fun to take care of.

How much CO2 does a plant really turn into O2? I can't imagine that a few plants make much of a difference, or do they?

At night plants start to produce CO2 as well - when you're sleeping and most vulnerable! If the amount of CO2 they scrub is significant, the amount of CO2 they produce in the evening should be as well, no?

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#76

Earlier quoted context omitted.

"At 1000ppm there is a 15% decrease in cognitive function" In a century or so we could be looking at similar CO2 levels in the atmosphere if we don’t significantly cut emissions. Will our decencents be made stupider by higher CO2 levels? Or will they be able to adapt?

My wife is a respiratory therapist. When asked, she said higher-than-average CO2 is seen in COPD patients, and is compensated through an increase in metabolic bicarbonate production, countering the acidic properties of CO2. We are still entering unknown territories with such large populations getting exposed to higher CO2 levels, but she thinks we'll be fine.

I'm having trouble recounciling that with the study that shows cognitive decline, can you explain your wife's thinking?

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#77

Earlier quoted context omitted.

On top of everything else, try putting a plant in your room too. Works wonders for air quality and is fun to take care of.

How much CO2 does a plant really turn into O2? I can't imagine that a few plants make much of a difference, or do they?

I didnt really mean CO2 specifically, I meant it improves air quality by removing other chemicals from the air. Either way the effect is not completely insignificant especially over long periods of time with correct conditions.

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#78
post #32

Earlier quoted context omitted.

Higher ppm decreases cognitive function even at pretty low levels, so being alerted to open your window might improve your work / study. There's at least this study: https://ehp.niehs.nih.gov/doi/10.1289/ehp.1510037 And this video has the quote "At 1000ppm there is a 15% decrease in cognitive function". https://www.youtube.com/watch?v=1Nh_vxpycEA

"At 1000ppm there is a 15% decrease in cognitive function" In a century or so we could be looking at similar CO2 levels in the atmosphere if we don’t significantly cut emissions. Will our decencents be made stupider by higher CO2 levels? Or will they be able to adapt?

Assuming the results of that study hold up, it seems like a legitimate concern, although at those CO2 levels I dare say there would be bigger problems.

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#79
post #4

Unrelated to the project, but your CO2 levels are far to high. The maximum should be around 600ppm.

Yes, I agree. I've already ordered a bunch of plants :) Sadly my building is quite old and ventilation is poor.

I heard that you would need about 40(?) plants per person. Best advice was to be well ventilated unless the outdoor CO2 is worse than indoors.

Re: Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App

#80
Sounds like you have a ventilation problem, buildings are required by code to get a certain amount of fresh air from outside so that CO2, VOCs, chloroform, etc don't get too high.

Incidentally, NHTSA projects in 2100 CO2 will be at 789ppm [0] in the atmosphere, up from 410 today and 350 pre-industrial. And there are higher projections. One would assume that this would make ventilation more urgent, I guess building codes will have to be updated and existing buildings retrofitted.

[0] https://www.washingtonpost.com/national/health-science/trump...

Post reply on HN