TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build an Air Quality Monitor with InfluxDB, Grafana and Docker on a Raspberry Pi

189 pointsby alexandrosabout 6 years ago

12 comments

betimslabout 6 years ago
Measuring a sensor is so complicated...Influx, Grafana and Docker is not enough. You may want to throw in AWS, some Google API and not to forget: Tensorflow. A pinch of opencv with GPU support might make it <i>real</i> software. Cross compile all this for windows that runs on RPi so corporate clients can trust it -- because buying a license always reflects seriousness.
评论 #19511378 未加载
评论 #19511726 未加载
评论 #19511504 未加载
评论 #19515188 未加载
评论 #19513339 未加载
评论 #19510936 未加载
zensavonaabout 6 years ago
Probably want to add a PM (particulate matter) sensor to the mix.<p>I&#x27;ve built a few similar devices using ESP chips and various laser dust sensors, highly recommend the Plantower PMS5003 - laser defraction, PM1-PM10 accuracy, ~$20 and there are good libraries available on GitHub for interacting with it.<p>Edit: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;zensavona&#x2F;status&#x2F;1091949965306257409" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;zensavona&#x2F;status&#x2F;1091949965306257409</a>
评论 #19511038 未加载
Animatsabout 6 years ago
What&#x27;s impressive is that you can get a sensor for temperature, air pressure, &quot;air quality&quot;, and humidity for $12.80 in quantity 1. &quot;Air quality&quot; is strange. It measures volatile organic components, not CO, CO2, or particulates. Sensors for those cost much more. So this is measuring what&#x27;s easy to measure, not what&#x27;s useful for, say, HVAC control.<p>8GB and Docker, plus a &quot;cloud&quot; server, seems a bit much.
评论 #19511161 未加载
评论 #19510287 未加载
评论 #19511579 未加载
评论 #19510252 未加载
wuyishanabout 6 years ago
A similar, yet completely different project: <a href="https:&#x2F;&#x2F;luftdaten.info&#x2F;en&#x2F;home-en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;luftdaten.info&#x2F;en&#x2F;home-en&#x2F;</a> Can be seen as a &quot;worldwide crowd sourced air quality measurement projects using cheap DIY sensor&#x2F;data collector&quot;
Uhhrrrabout 6 years ago
The Docker part seems thoroughly unnecessary.
评论 #19509072 未加载
评论 #19510521 未加载
评论 #19508536 未加载
评论 #19509256 未加载
评论 #19509046 未加载
TheSpiceIsLifeabout 6 years ago
I&#x27;m curious to hear from anyone who runs air quality monitors at home: how has knowledge of the quality of the air in your house affected your behaviour?<p>My house is 56 years old. I&#x27;m guessing the kitchen upgrade is at least 5 years old. The carpet is probably at least a 5 years old. There isn&#x27;t much fresh paint in here.<p>Am I about right to assume I probably don&#x27;t have much in the way off off-gassing from anything in here, or does carpet &#x2F; furniture &#x2F; melamine continually off-gas for it&#x27;s entire life?<p>Anyway, I&#x27;ve got some idea that CO2 buildup is a thing, and humidity, and off-gassing, so... I tend to ventilate the house frequently even during winter. Even when it&#x27;s -5 outside, I&#x27;ll occasionally open one or more windows &#x2F; doors and turn the kitchen exhaust fan on in order to draw fresh air in and across the house. I&#x27;ll also occasionally open multiple doors &#x2F; windows for 10 minutes or so in an effort to replace the majority of the air in the house.<p>I tend to eschew yet-another-device that needs maintenance &#x2F; power &#x2F; charging &#x2F; monitoring &#x2F; fiddling because I tend to do a lot of that at work and would rather just come home and not-have-to-maintain-another-97-machines.<p>So I&#x27;m interested in the <i>on average &#x2F; sort of good enough &#x2F; sometimes over-shoot-the-mark</i> behavioural changes that would result <i>if I did have air quality monitors</i>.
评论 #19512230 未加载
评论 #19510526 未加载
pookieincabout 6 years ago
We&#x27;ve been on the hunt for the most accurate Air Quality Monitor since we&#x27;ve just moved to the Middle East and have had a really tough time finding something accurate. Aside from building one and having it receive questionable ratings, does anyone have any suggestions on a super reliable machine they&#x27;ve been happy with that has proven its accuracy in some way?
评论 #19510933 未加载
评论 #19510559 未加载
djhworldabout 6 years ago
Has anyone been running this in the field for a few months&#x2F;weeks.<p>I&#x27;m wondering how the SD card gets on with the constant writes into InfluxDB (assuming the samplesa are taken frequently)
评论 #19512101 未加载
shawnpsabout 6 years ago
If you&#x27;re interested in purchasing an air quality monitor, Awair is nice:<p><a href="https:&#x2F;&#x2F;getawair.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getawair.com&#x2F;</a><p>I learned about it from DHH&#x27;s talk on air quality:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MRqh8oLY7Ik" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MRqh8oLY7Ik</a>
评论 #19512193 未加载
评论 #19509322 未加载
评论 #19511123 未加载
bayesian_horseabout 6 years ago
I&#x27;m working on similar things, and at the moment I prefer Redis and Postgres. Redis just got streams, a bit like Kafka, and Postgres has extensions for timeseries.
gpmabout 6 years ago
What do people think about the recommended sensor?<p>Is it reasonably accurate? Are there better alternatives?
评论 #19510953 未加载
评论 #19508890 未加载
评论 #19508763 未加载
评论 #19508847 未加载
评论 #19508787 未加载
bugsenseabout 6 years ago
Ditch Grafana+Influx for Netdata and you are golden :)
评论 #19520505 未加载
评论 #19512107 未加载