What's that smell? Monitoring air quality with Python, Raspberry Pi, and Redis
summary
Builds a hyper-local air-sensor network using a PMS particulate sensor (~$15) hooked to a Raspberry Pi Pico W ($6) running MicroPython, sending PM2.5 and temperature readings to Redis via Streams → TimeSeries → Grafana for visualization and averaging. Units sample as fast as 0.25s (demo at 5s), run ~8–10 hours on fresh batteries or continuous USB power, and support SMS/relay alerts (Twilio) to trigger fans, windows or notifications. Deployed in a home, it logs, visualizes, and alerts reliably.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 5:48Building a local air sensor
- 9:23Hardware and power setup
- 13:16Storing data in Redis Streams
- 16:49Time series and visualization
- 20:28Real-world observations and JSON
- 22:36Sharing data and open source
- 24:20Live air quality demo
- 24:43Q&A session
related talks
34mWhat's that smell? Detecting air quality with Python, Raspberry Pi, and Redis 🌳
30mBringing Ideas to Life with DIY IoT: Visualizing Noise Pollution with a Raspberry Pi and Python
01h 00mRun your own IoT device in a snap
41mBuilding Wireless Sensors
21mMonitoring your home, with DevOps observability tools
36mAnalyzing Air Quality with Python
30mJavaScript Powered Smart Home With (Almost) No Code
46mIoT Easy as Pi
