Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bastienwirtz/aqi_watcher
Air Quality Watcher
https://github.com/bastienwirtz/aqi_watcher
airnow airnow-api aqi grafana-dashboard influxdb purpleair
Last synced: about 1 month ago
JSON representation
Air Quality Watcher
- Host: GitHub
- URL: https://github.com/bastienwirtz/aqi_watcher
- Owner: bastienwirtz
- Created: 2020-09-13T01:53:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T07:19:46.000Z (almost 4 years ago)
- Last Synced: 2023-12-16T14:42:09.292Z (9 months ago)
- Topics: airnow, airnow-api, aqi, grafana-dashboard, influxdb, purpleair
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 27
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aqi_watcher
Save air quality & weather data from various source info any influxdb database.
Nothing fancy here, just a basic script, written between two breaths of fresh PM2.5 particules from the ongoing wildfires.## requirements
- python 3.6+
- influxdb 1.7+## Get started
- `pip install -r requirements.txt` (idealy in a virtualenv or something)
- Open `settings.py` and configure your influxdb server & api keys.
- Run it regularly (Example, cron every 10min: `*/10 * * * * /srv/aqi_watcher/env/bin/python /srv/aqi_watcher/aqi.py`)
- Do whatever you want with the data. My grafana dashboard is exported in `grafana-aqi-dashboard.json`Happy hacking :v: