Grafana dashboard for the AirGradient ONE air quality monitor, fed from Home Assistant through Prometheus, with the state of a bathroom extractor fan on the same timeline.
- CO2 gauge and time series with green, yellow, orange and red thresholds.
- PM2.5 gauge with bands at 5, 12, 35, 55 and 125 ug/m3, the first being the WHO annual guideline.
- VOC and NOx index gauges and time series.
- Temperature and humidity stat panels with sparklines and time series.
- PM1, PM2.5 and PM10 on one chart, and a PM0.3 particle count.
- Extractor fan state timeline, and the fan's physical switch input.
- CO2 and fan state overlaid, so a ventilation event shows against the CO2 drop.
curl -s -X POST "http://YOUR_GRAFANA:3000/api/dashboards/db" -u "admin:YOUR_PASSWORD" -H "Content-Type: application/json" -d @dashboard.jsonNeeds an AirGradient ONE in Home Assistant with the Prometheus integration on, and a Grafana Prometheus datasource scraping it. Then edit the entity filters and the datasource UID as Usage explains; provisioning from a file is there too.
- Usage: the entities each panel expects, the datasource UID, provisioning