commit 1655c7d2d87834d6fbab6c812f4020a4b55ecb34
parent 7410cc6b7e84598aa428a3b7f5ae3df1fa4dbafe
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 26 Sep 2022 18:37:30 +0200
parent 7410cc6b7e84598aa428a3b7f5ae3df1fa4dbafe
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 26 Sep 2022 18:37:30 +0200
machines/osterei/grafana: update SmartHome dashboard
1 file changed, 304 insertions(+), 314 deletions(-)
M
|
618
+++++++++++++++++++++++++++++++++++++++----------------------------------------
diff --git a/machines/osterei/grafana/dashboards/SmartHome.json b/machines/osterei/grafana/dashboards/SmartHome.json @@ -3,22 +3,35 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "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, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, "links": [], + "liveNow": false, "panels": [ { - "datasource": "InfluxDB (Sensors)", + "datasource": { + "type": "influxdb", + "uid": "PA0E6B47E27FEC54C" + }, "fieldConfig": { "defaults": { "decimals": 1, @@ -66,7 +79,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -92,14 +105,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Bad", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "description": "", "fieldConfig": { "defaults": { @@ -152,7 +166,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -179,14 +193,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Voltage", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { "decimals": 2, @@ -218,6 +233,7 @@ }, "id": 6, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -229,7 +245,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -257,14 +273,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Frequency", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { "decimals": 2, @@ -295,6 +312,7 @@ }, "id": 8, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -306,7 +324,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -334,14 +352,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Current", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { "decimals": 3, @@ -385,7 +404,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -412,14 +431,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Power Factor", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { "decimals": 2, @@ -467,7 +487,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -495,14 +515,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Power", "transparent": true, "type": "gauge" }, { - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { "decimals": 1, @@ -542,7 +563,7 @@ "text": {}, "textMode": "value_and_name" }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -570,14 +591,15 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Imported", "transparent": true, "type": "stat" }, { - "datasource": "InfluxDB (Sensors)", + "datasource": { + "type": "influxdb", + "uid": "PA0E6B47E27FEC54C" + }, "fieldConfig": { "defaults": { "decimals": 1, @@ -613,6 +635,7 @@ }, "id": 17, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -624,7 +647,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "", + "pluginVersion": "8.5.11", "targets": [ { "alias": "", @@ -654,59 +677,86 @@ "tags": [] } ], - "timeFrom": null, - "timeShift": null, "title": "Kühlschrank", "transparent": true, "type": "gauge" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "watt" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 6 }, - "hiddenSeries": false, "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -748,93 +798,85 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Power Consumption", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "watt", - "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 - } + "transparent": true, + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "InfluxDB (Powermeters)", + "datasource": { + "type": "influxdb", + "uid": "PAA5748F9FC9E31B1" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "volt" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 }, - "hiddenSeries": false, "id": 24, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.11", "targets": [ { "alias": "L. Zimmer", @@ -874,94 +916,85 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Voltage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "volt", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 1, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "transparent": true, + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "InfluxDB (Sensors)", + "datasource": { + "type": "influxdb", + "uid": "PA0E6B47E27FEC54C" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "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": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 14 }, - "hiddenSeries": false, "id": 26, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.11", "targets": [ { "alias": "Bad", @@ -1165,93 +1198,85 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Temperature", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "celsius", - "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 - } + "transparent": true, + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "InfluxDB (Sensors)", + "datasource": { + "type": "influxdb", + "uid": "PA0E6B47E27FEC54C" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "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": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 14 }, - "hiddenSeries": false, "id": 27, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.5.11", "targets": [ { "alias": "Bad", @@ -1335,50 +1360,13 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Humidity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "humidity", - "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 - } + "transparent": true, + "type": "timeseries" } ], "refresh": "5s", - "schemaVersion": 27, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { @@ -1405,5 +1393,6 @@ "timezone": "", "title": "SmartHome (Influx)", "uid": "FRDYqjEGz", - "version": 8 -} + "version": 3, + "weekStart": "" +}+ \ No newline at end of file