{"repo":"akanz1/air_quality_app","free":true,"listed":false,"github":"https://github.com/akanz1/air_quality_app","clone":"git clone https://github.com/akanz1/air_quality_app.git","description":"Dockerized python app to measure air quality, temperature and more using a raspberry pi + sensor","language":"Python","stars":15,"topics":["grafana","dashboard","influxdb","docker","co2-monitor"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Air Quality App This app reads in data from a sensor, preprocesses it and stores it in an InfluxDB for visualization with Grafana. Monitors CO2, Temperature, Humidity, Particulate Matter/Dust Particles (2.5PM and 10PM) and more. Useful commands sudo su - Start services: docker compose up -d Show services: docker compose ps Show collector logs: docker compose logs -f python app Check disk usage: du -hxs /var/lib/docker/ sort -rh head -n 40 Free disk space: docker system prune -a Data retention InfluxDB stores raw sensor readings in short term retention for 4 weeks. Long-term history is downsampled by the cq air quality 15m continuous query into history 15m , which has infinite retention. Grafana dashboards use the $retention variable. Use short term retention for recent high-resolution data and history 15m for long time ranges. Grafana provisioning Grafana datasource and dashboard provisioning live in grafana/provisioning . The exported dashboard JSON lives in grafana/dashboards . After editing the dashboard in the Grafana UI, export the live dashboard with the Grafana API and replace grafana/dashboards/air-quality-dashboard.json before committing.","default_branch":null,"files":null,"tree":[],"storefront":"/r/akanz1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/akanz1/air_quality_app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}