{
  "__inputs": [
    {
      "name": "DS_GOLIOTH",
      "label": "Golioth",
      "description": "",
      "type": "datasource",
      "pluginId": "marcusolsson-json-datasource",
      "pluginName": "JSON API"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.0.5"
    },
    {
      "type": "datasource",
      "id": "marcusolsson-json-datasource",
      "name": "JSON API",
      "version": "1.3.0"
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": null,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_GOLIOTH}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "body": "{\n\t\"start\" : \"${__from:date}\",\n    \"end\" : \"${__to:date}\",\n\t\"query\": {\n\t\t\"fields\" : [\n\t\t\t{ \"path\": \"time\" },\n\t\t\t{ \"path\": \"env.temp\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"temp\" },\n\t\t\t{ \"path\": \"env.hum\", \"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"hum\" },\n\t\t\t{ \"path\": \"env.pm25\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"pm25\" },\n\t\t\t{ \"path\": \"env.voc\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"voc\" },\n\t\t\t{ \"path\": \"env\", \"agg\": \"count\", \"alias\": \"total\" }\n\t\t],\n\t\t\"timeBucket\" : \"1h\",\n\t\t\"filters\" : [\n\t\t\t{ \"path\": \"env\", \"op\" : \"<>\", \"value\" : null }\n\t\t]\n\t}\n}",
          "cacheDurationSeconds": 300,
          "fields": [
            {
              "jsonPath": "$.list[*].temp",
              "language": "jsonpath",
              "name": "Temperature (°C)"
            },
            {
              "jsonPath": "$.list[*].time",
              "language": "jsonpath",
              "name": "Time"
            }
          ],
          "method": "POST",
          "queryParams": "",
          "refId": "A",
          "urlPath": "/stream"
        }
      ],
      "title": "Temperature",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_GOLIOTH}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "humidity"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "body": "{\n\t\"start\" : \"${__from:date}\",\n    \"end\" : \"${__to:date}\",\n\t\"query\": {\n\t\t\"fields\" : [\n\t\t\t{ \"path\": \"time\" },\n\t\t\t{ \"path\": \"env.temp\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"temp\" },\n\t\t\t{ \"path\": \"env.hum\", \"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"hum\" },\n\t\t\t{ \"path\": \"env.pm25\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"pm25\" },\n\t\t\t{ \"path\": \"env.voc\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"voc\" },\n\t\t\t{ \"path\": \"env\", \"agg\": \"count\", \"alias\": \"total\" }\n\t\t],\n\t\t\"timeBucket\" : \"1h\",\n\t\t\"filters\" : [\n\t\t\t{ \"path\": \"env\", \"op\" : \"<>\", \"value\" : null }\n\t\t]\n\t}\n}",
          "cacheDurationSeconds": 300,
          "fields": [
            {
              "jsonPath": "$.list[*].time",
              "language": "jsonpath",
              "name": "Time"
            },
            {
              "jsonPath": "$.list[*].hum",
              "language": "jsonpath",
              "name": "Rel Humidity (%)"
            }
          ],
          "method": "POST",
          "queryParams": "",
          "refId": "A",
          "urlPath": "/stream"
        }
      ],
      "title": "Humidity",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_GOLIOTH}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "conμgm3"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 9
      },
      "id": 4,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "body": "{\n\t\"start\" : \"${__from:date}\",\n    \"end\" : \"${__to:date}\",\n\t\"query\": {\n\t\t\"fields\" : [\n\t\t\t{ \"path\": \"time\" },\n\t\t\t{ \"path\": \"env.temp\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"temp\" },\n\t\t\t{ \"path\": \"env.hum\", \"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"hum\" },\n\t\t\t{ \"path\": \"env.pm25\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"pm25\" },\n\t\t\t{ \"path\": \"env.voc\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"voc\" },\n\t\t\t{ \"path\": \"env\", \"agg\": \"count\", \"alias\": \"total\" }\n\t\t],\n\t\t\"timeBucket\" : \"1h\",\n\t\t\"filters\" : [\n\t\t\t{ \"path\": \"env\", \"op\" : \"<>\", \"value\" : null }\n\t\t]\n\t}\n}",
          "cacheDurationSeconds": 300,
          "fields": [
            {
              "jsonPath": "$.list[*].time",
              "language": "jsonpath",
              "name": "Time"
            },
            {
              "jsonPath": "$.list[*].pm25",
              "language": "jsonpath",
              "name": "PM2.5"
            }
          ],
          "method": "POST",
          "queryParams": "",
          "refId": "A",
          "urlPath": "/stream"
        }
      ],
      "title": "PM2.5",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_GOLIOTH}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 9
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "body": "{\n\t\"start\" : \"${__from:date}\",\n    \"end\" : \"${__to:date}\",\n\t\"query\": {\n\t\t\"fields\" : [\n\t\t\t{ \"path\": \"time\" },\n\t\t\t{ \"path\": \"env.temp\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"temp\" },\n\t\t\t{ \"path\": \"env.hum\", \"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"hum\" },\n\t\t\t{ \"path\": \"env.pm25\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"pm25\" },\n\t\t\t{ \"path\": \"env.voc\",\"agg\": \"avg\", \"type\" :\"float\" , \"alias\" : \"voc\" },\n\t\t\t{ \"path\": \"env\", \"agg\": \"count\", \"alias\": \"total\" }\n\t\t],\n\t\t\"timeBucket\" : \"1h\",\n\t\t\"filters\" : [\n\t\t\t{ \"path\": \"env\", \"op\" : \"<>\", \"value\" : null }\n\t\t]\n\t}\n}",
          "cacheDurationSeconds": 300,
          "fields": [
            {
              "jsonPath": "$.list[*].time",
              "language": "jsonpath",
              "name": "Time"
            },
            {
              "jsonPath": "$.list[*].voc",
              "language": "jsonpath",
              "name": "VOC"
            }
          ],
          "method": "POST",
          "queryParams": "",
          "refId": "A",
          "urlPath": "/stream"
        }
      ],
      "title": "VOC",
      "type": "timeseries"
    }
  ],
  "schemaVersion": 30,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Air Quality Wing",
  "uid": "-B4311Dnk",
  "version": 2
}