diff --git a/infra/grafana/garage_decke.json b/infra/grafana/garage_decke.json index 8a078d58b..8d92c59c2 100644 --- a/infra/grafana/garage_decke.json +++ b/infra/grafana/garage_decke.json @@ -9,7 +9,7 @@ ], "timezone": "browser", "schemaVersion": 39, - "version": 13, + "version": 14, "refresh": "30s", "panels": [ { @@ -23,8 +23,8 @@ "y": 0 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -54,7 +54,73 @@ "color": { "mode": "thresholds" } - } + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "VL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "DT" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + } + ] }, "options": { "reduceOptions": { @@ -100,17 +166,7 @@ "expression": "($A + $B - ${kd_flussrichtung} * ($B - $A)) / 2" } ], - "description": "Rücklauf Kältedecke (wärmer). Bei umgekehrter Flussrichtung wird der passende Rohr-Fühler per Schalter zugeordnet — Influx-Tags bleiben fix.", - "transformations": [ - { - "id": "filterByRefId", - "options": { - "include": [ - "RL" - ] - } - } - ] + "description": "Rücklauf Kältedecke (wärmer). Bei umgekehrter Flussrichtung wird der passende Rohr-Fühler per Schalter zugeordnet — Influx-Tags bleiben fix." }, { "id": 2, @@ -192,8 +248,8 @@ "y": 0 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -223,7 +279,73 @@ "color": { "mode": "thresholds" } - } + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "RL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "DT" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + } + ] }, "options": { "reduceOptions": { @@ -269,17 +391,7 @@ "expression": "($A + $B + ${kd_flussrichtung} * ($B - $A)) / 2" } ], - "description": "Vorlauf Kältedecke (kälter). Zuordnung über KD Flussrichtung oben.", - "transformations": [ - { - "id": "filterByRefId", - "options": { - "include": [ - "VL" - ] - } - } - ] + "description": "Vorlauf Kältedecke (kälter). Zuordnung über KD Flussrichtung oben." }, { "id": 4, @@ -431,8 +543,8 @@ "y": 4 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -462,7 +574,73 @@ } ] } - } + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "RL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "VL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + } + ] }, "options": { "reduceOptions": { @@ -507,16 +685,6 @@ "type": "math", "expression": "- ${kd_flussrichtung} * ($B - $A)" } - ], - "transformations": [ - { - "id": "filterByRefId", - "options": { - "include": [ - "DT" - ] - } - } ] }, { @@ -531,8 +699,8 @@ "y": 4 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -562,7 +730,73 @@ } ] } - } + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "RL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "VL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + } + ] }, "options": { "reduceOptions": { @@ -607,16 +841,6 @@ "type": "math", "expression": "$B - $A" } - ], - "transformations": [ - { - "id": "filterByRefId", - "options": { - "include": [ - "DT" - ] - } - } ] }, { @@ -631,8 +855,8 @@ "y": 4 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -662,7 +886,89 @@ } ] } - } + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "A" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "RL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "VL" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "DT" + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "viz": true, + "legend": true, + "tooltip": true + } + } + ] + } + ] }, "options": { "reduceOptions": { @@ -707,16 +1013,6 @@ "type": "math", "expression": "${brunnen_durchfluss} * ($B - $A) * 0.0698" } - ], - "transformations": [ - { - "id": "filterByRefId", - "options": { - "include": [ - "Q" - ] - } - } ] }, { @@ -730,8 +1026,8 @@ "y": 8 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { @@ -872,8 +1168,8 @@ "y": 18 }, "datasource": { - "type": "influxdb", - "uid": "ffptl25vzylfke" + "type": "datasource", + "uid": "-- Mixed --" }, "fieldConfig": { "defaults": {