Compare commits

...

2 Commits

Author SHA1 Message Date
d9a3d224a7 add panels 2025-06-28 17:38:41 -05:00
d5ebda413b update dashboard 2025-06-20 11:00:43 -05:00

View File

@@ -77,6 +77,8 @@
} }
}, },
"mappings": [], "mappings": [],
"max": 35,
"min": 10,
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
@@ -99,7 +101,7 @@
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 9,
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
@@ -135,6 +137,148 @@
"title": "Temperature", "title": "Temperature",
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 35,
"min": 10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "green",
"value": 15
},
{
"color": "red",
"value": 30
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 9,
"y": 1
},
"id": 7,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg_over_time(atmp{id=\"$id\"}[$__interval])",
"instant": false,
"legendFormat": "{{sensor_location}}",
"range": true,
"refId": "A"
}
],
"title": "Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 65,
"min": 25,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "green",
"value": 30
},
{
"color": "red",
"value": 60
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 12,
"y": 1
},
"id": 8,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg_over_time(rhum{id=\"$id\"}[$__interval])",
"instant": false,
"legendFormat": "{{sensor_location}}",
"range": true,
"refId": "A"
}
],
"title": "Relative Humidity",
"type": "gauge"
},
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -203,8 +347,8 @@
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 9,
"x": 12, "x": 15,
"y": 1 "y": 1
}, },
"id": 5, "id": 5,
@@ -320,7 +464,7 @@
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 9,
"x": 0, "x": 0,
"y": 9 "y": 9
}, },
@@ -356,6 +500,171 @@
"title": "CO2 PPM", "title": "CO2 PPM",
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 2500,
"min": 50,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green"
},
{
"color": "green",
"value": 100
},
{
"color": "yellow",
"value": 450
},
{
"color": "orange",
"value": 650
},
{
"color": "dark-orange",
"value": 800
},
{
"color": "semi-dark-red",
"value": 1000
}
]
},
"unit": "ppm"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 9,
"y": 9
},
"id": 9,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rco2{id=\"$id\"}",
"instant": false,
"legendFormat": "{{sensor_location}}",
"range": true,
"refId": "A"
}
],
"title": "CO2 PPM",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "PM2.5 describes fine inhalable particles, with diameters that are generally 2.5 micrometers and smaller.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds",
"seriesBy": "last"
},
"mappings": [],
"max": 35,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "dark-green",
"value": 0
},
{
"color": "dark-yellow",
"value": 5
},
{
"color": "dark-orange",
"value": 15
},
{
"color": "dark-red",
"value": 30
}
]
},
"unit": "conμgm3"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 12,
"y": 9
},
"id": 10,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pm02{id=\"$id\"}",
"instant": false,
"legendFormat": "{{sensor_location}}",
"range": true,
"refId": "A"
}
],
"title": "Particulate Matter",
"type": "gauge"
},
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -404,6 +713,7 @@
} }
}, },
"mappings": [], "mappings": [],
"min": 0,
"thresholds": { "thresholds": {
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
@@ -434,8 +744,8 @@
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 9,
"x": 12, "x": 15,
"y": 9 "y": 9
}, },
"id": 3, "id": 3,
@@ -522,5 +832,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Airgradient", "title": "Airgradient",
"uid": "fdf2b7afrjsw0f", "uid": "fdf2b7afrjsw0f",
"version": 2 "version": 4
} }