For those that utilize Grafana:
{
"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": 1,
"links": [],
"panels": [
{
"datasource": "HomeAssistant",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"max": 500,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 0
},
{
"color": "#EAB839",
"value": 51
},
{
"color": "orange",
"value": 101
},
{
"color": "red",
"value": 151
},
{
"color": "purple",
"value": 201
},
{
"color": "dark-purple",
"value": 301
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 6,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.2.0",
"targets": [
{
"alias": "",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "AQI",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Air Quaility",
"transparent": true,
"type": "gauge"
},
{
"aliasColors": {
"AQI": "blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "HomeAssistant",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"max": 500,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 0
},
{
"color": "#EAB839",
"value": 51
},
{
"color": "orange",
"value": 101
},
{
"color": "red",
"value": 151
},
{
"color": "purple",
"value": 201
},
{
"color": "dark-purple",
"value": 301
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"hiddenSeries": false,
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "AQI",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "AQI",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "ok",
"fill": false,
"line": true,
"op": "gt",
"value": 0,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": false,
"fillColor": "rgba(51, 162, 229, 0.2)",
"line": true,
"lineColor": "#FADE2A",
"op": "gt",
"value": 51,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": false,
"fillColor": "rgba(51, 162, 229, 0.2)",
"line": true,
"lineColor": "#FF9830",
"op": "gt",
"value": 101,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": false,
"fillColor": "rgba(51, 162, 229, 0.2)",
"line": true,
"lineColor": "#F2495C",
"op": "gt",
"value": 151,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": false,
"fillColor": "rgba(51, 162, 229, 0.2)",
"line": true,
"lineColor": "#B877D9",
"op": "gt",
"value": 201,
"yaxis": "left"
},
{
"colorMode": "custom",
"fill": false,
"fillColor": "rgba(51, 162, 229, 0.2)",
"line": true,
"lineColor": "#8F3BB8",
"op": "gt",
"value": 301,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Air Quaility",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5m",
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Environmental",
"uid": "hmhTkNOMk",
"version": 10
}