Skip to content

A project involving an SDS011 sensor, Raspberry Pi, Google Cloud Storage, Swift Charts, and Apple Push Notification Services (APNs) to monitor indoor air quality.

Notifications You must be signed in to change notification settings

harr1424/Indoor-Air-Quality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indoor-Air-Quality

A project that uses an SDS011 sensor and RaspberryPi to measure indoor air quality. Measurements are uploaded to Google Cloud Storage and visualized in an iOS app using Swift Charts. The RaspberryPi contacts an API written in Go to contact Apple Push Notification Services (APNs) if a measurement exceeds World Health Organization guidelines for air quality. The Raspberry Pi also controls a Pi Traffic Light to display a light color corresponding to air quality.


A chart displaying indoor air quality measurements Air quality alerts received on an iOS device SDS011 sensor and Pi Traffic Light attached to a Raspberry Pi

Credit

The sds011.py file present in the Python directory (used to control the sds011 sensor) was authored by Ivan Kalchev. View his module at https://github.com/ikalchev/py-sds011

Creating and sending APNs requests via HTTP2 (Go/apns.go) was greatly simplified by the package: https://github.com/sideshow/apns2