RPI-DHT11/Dashboard.json
2021-08-07 18:24:13 +01:00

854 lines
20 KiB
JSON

{
"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"
}
]
},
"description": "A simple DHT11 based temp reading based on python",
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 24,
"links": [
{
"icon": "external link",
"tags": [],
"type": "dashboards"
}
],
"panels": [
{
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 38,
"noValue": "Offline",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 35
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.0",
"targets": [
{
"alias": "C",
"groupBy": [
{
"params": [
"20s"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"temperature_c"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Temp °C",
"transparent": true,
"type": "gauge"
},
{
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 98,
"noValue": "Offline",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "#EAB839",
"value": 89
},
{
"color": "red",
"value": 95
}
]
},
"unit": "fahrenheit"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 6,
"y": 0
},
"id": 7,
"options": {
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.0",
"targets": [
{
"alias": "C",
"groupBy": [
{
"params": [
"20s"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"temperature_f"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Temp °F",
"transparent": true,
"type": "gauge"
},
{
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 100,
"noValue": "Offline",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 45
},
{
"color": "red",
"value": 60
}
]
},
"unit": "humidity"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 12,
"y": 0
},
"id": 8,
"options": {
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.0",
"targets": [
{
"alias": "",
"groupBy": [
{
"params": [
"20s"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"humidity"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Humidity %",
"transparent": true,
"type": "gauge"
},
{
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 35,
"min": 15,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 35
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 18,
"y": 0
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.0",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"temperature_c"
],
"type": "field"
},
{
"params": [],
"type": "max"
},
{
"params": [
"Max Temp °C"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Max Temp °C",
"transparent": true,
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB (Room Temp Local)",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 13,
"w": 18,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 6,
"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": "8.1.0",
"pointradius": 0.5,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"20s"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"temperature_c"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Temp C"
],
"type": "alias"
}
],
[
{
"params": [
"temperature_f"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Temp F"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Temps",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1374",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1375",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 95,
"min": 20,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 82
},
{
"color": "red",
"value": 95
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 9
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.0",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"temperature_f"
],
"type": "field"
},
{
"params": [
"7"
],
"type": "top"
},
{
"params": [
"Max Temp °F"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Max Temp °F ",
"transparent": true,
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB (Room Temp Local)",
"fieldConfig": {
"defaults": {
"unit": "humidity"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 13,
"w": 18,
"x": 0,
"y": 22
},
"hiddenSeries": false,
"id": 12,
"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": "8.1.0",
"pointradius": 0.5,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"20s"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "dht11",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"humidity"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Humidity"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "location",
"operator": "=",
"value": "Jacks Room"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Humidity",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1374",
"format": "humidity",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1375",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "30s",
"schemaVersion": 30,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "5. Rack Temp",
"uid": "8sniS6Rgz",
"version": 24
}