Tag: python

1 posts found

Personal AQI Service

Every year in California the fire season feels like it gets longer and more devastating. This year with everything else going on it feels especially bad. This year I took the time to build a ingestion script of PurpleAir sensor data, graph it with Grafana and send alerts when the air near my apartment reaches >50 AQI. To build this I used PurpleAir’s API to pull sensor data every ~5 minutes and write it to MySQL.