Grafana dashboard: Air Quality
Description: Air pollution monitor


{
  "__inputs": [
    {
      "name": "DS_DEMO",
      "label": "Demo",
      "description": "",
      "type": "datasource",
      "pluginId": "yesoreyeram-infinity-datasource",
      "pluginName": "Infinity"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.3"
    },
    {
      "type": "datasource",
      "id": "yesoreyeram-infinity-datasource",
      "name": "Infinity",
      "version": "0.8.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-GrYlRd"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "displayMode": "lcd",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true
      },
      "pluginVersion": "8.3.3",
      "targets": [
        {
          "columns": [
            {
              "selector": "field1",
              "text": "PM1.0",
              "type": "number"
            },
            {
              "selector": "field2",
              "text": "PM2.5",
              "type": "number"
            },
            {
              "selector": "field3",
              "text": "PM10.0",
              "type": "number"
            }
          ],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "${DS_DEMO}"
          },
          "filters": [],
          "format": "timeseries",
          "global_query_id": "",
          "json_options": {
            "columnar": false,
            "root_is_not_array": false
          },
          "refId": "A",
          "root_selector": "feeds",
          "source": "url",
          "type": "json",
          "url": "https://api.thingspeak.com/channels/1626419/feeds.json?results=2",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "Air pollution data",
      "type": "bargauge"
    }
  ],
  "refresh": "",
  "schemaVersion": 34,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "Air Quality",
  "uid": "xLcE9SJnk",
  "version": 5,
  "weekStart": "",
  "gnetId": 15524,
  "description": "Air pollution monitor"
}