From 97d99a9bb018f49f9b69b38b7f087227789801e1 Mon Sep 17 00:00:00 2001 From: Homelab Cursor Date: Sat, 27 Jun 2026 14:28:47 +0200 Subject: [PATCH] =?UTF-8?q?fix=20garage=5Fdecke:=205=20Stat-Panels=20?= =?UTF-8?q?=E2=80=94=20hide=20A/B,=20kein=20filterByRefId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Math-Abhängigkeiten versteckt; filterByRefId entfernt (blockierte Expressions). --- infra/grafana/garage_decke.json | 435 ++++---------------------------- 1 file changed, 56 insertions(+), 379 deletions(-) diff --git a/infra/grafana/garage_decke.json b/infra/grafana/garage_decke.json index 8d92c59c2..9085af0b4 100644 --- a/infra/grafana/garage_decke.json +++ b/infra/grafana/garage_decke.json @@ -9,7 +9,7 @@ ], "timezone": "browser", "schemaVersion": 39, - "version": 14, + "version": 16, "refresh": "30s", "panels": [ { @@ -30,6 +30,9 @@ "defaults": { "unit": "celsius", "decimals": 1, + "color": { + "mode": "thresholds" + }, "thresholds": { "mode": "absolute", "steps": [ @@ -50,77 +53,9 @@ "value": 35 } ] - }, - "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 - } - } - ] - } - ] + "overrides": [] }, "options": { "reduceOptions": { @@ -131,7 +66,7 @@ "fields": "" }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "value", "graphMode": "none", "justifyMode": "auto" @@ -144,7 +79,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='rl_klimadecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "B", @@ -153,7 +89,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='vl_kaeltedecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "RL", @@ -163,7 +100,8 @@ "name": "Expression" }, "type": "math", - "expression": "($A + $B - ${kd_flussrichtung} * ($B - $A)) / 2" + "expression": "($A + $B - ${kd_flussrichtung} * ($B - $A)) / 2", + "hide": false } ], "description": "Rücklauf Kältedecke (wärmer). Bei umgekehrter Flussrichtung wird der passende Rohr-Fühler per Schalter zugeordnet — Influx-Tags bleiben fix." @@ -210,7 +148,8 @@ "color": { "mode": "thresholds" } - } + }, + "overrides": [] }, "options": { "reduceOptions": { @@ -220,7 +159,7 @@ ] }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "background", "graphMode": "area", "justifyMode": "auto" @@ -255,6 +194,9 @@ "defaults": { "unit": "celsius", "decimals": 1, + "color": { + "mode": "thresholds" + }, "thresholds": { "mode": "absolute", "steps": [ @@ -275,77 +217,9 @@ "value": 35 } ] - }, - "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 - } - } - ] - } - ] + "overrides": [] }, "options": { "reduceOptions": { @@ -356,7 +230,7 @@ "fields": "" }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "value", "graphMode": "none", "justifyMode": "auto" @@ -369,7 +243,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='rl_klimadecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "B", @@ -378,7 +253,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='vl_kaeltedecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "VL", @@ -388,7 +264,8 @@ "name": "Expression" }, "type": "math", - "expression": "($A + $B + ${kd_flussrichtung} * ($B - $A)) / 2" + "expression": "($A + $B + ${kd_flussrichtung} * ($B - $A)) / 2", + "hide": false } ], "description": "Vorlauf Kältedecke (kälter). Zuordnung über KD Flussrichtung oben." @@ -435,7 +312,8 @@ "color": { "mode": "thresholds" } - } + }, + "overrides": [] }, "options": { "reduceOptions": { @@ -445,7 +323,7 @@ ] }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "background", "graphMode": "area", "justifyMode": "auto" @@ -504,7 +382,8 @@ "color": { "mode": "thresholds" } - } + }, + "overrides": [] }, "options": { "reduceOptions": { @@ -514,7 +393,7 @@ ] }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "background", "graphMode": "area", "justifyMode": "auto" @@ -575,72 +454,7 @@ ] } }, - "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 - } - } - ] - } - ] + "overrides": [] }, "options": { "reduceOptions": { @@ -651,7 +465,7 @@ "fields": "" }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "value", "graphMode": "none", "justifyMode": "auto" @@ -664,7 +478,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='rl_klimadecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "B", @@ -673,7 +488,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='vl_kaeltedecke' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "DT", @@ -683,7 +499,8 @@ "name": "Expression" }, "type": "math", - "expression": "- ${kd_flussrichtung} * ($B - $A)" + "expression": "- ${kd_flussrichtung} * ($B - $A)", + "hide": false } ] }, @@ -731,72 +548,7 @@ ] } }, - "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 - } - } - ] - } - ] + "overrides": [] }, "options": { "reduceOptions": { @@ -807,7 +559,7 @@ "fields": "" }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "value", "graphMode": "none", "justifyMode": "auto" @@ -820,7 +572,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='vl_brunnen' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "B", @@ -829,7 +582,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='rl_brunnen' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "DT", @@ -839,7 +593,8 @@ "name": "Expression" }, "type": "math", - "expression": "$B - $A" + "expression": "$B - $A", + "hide": false } ] }, @@ -887,88 +642,7 @@ ] } }, - "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 - } - } - ] - } - ] + "overrides": [] }, "options": { "reduceOptions": { @@ -979,7 +653,7 @@ "fields": "" }, "orientation": "auto", - "textMode": "auto", + "textMode": "value", "colorMode": "value", "graphMode": "none", "justifyMode": "auto" @@ -992,7 +666,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='vl_brunnen' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "B", @@ -1001,7 +676,8 @@ "uid": "ffptl25vzylfke" }, "query": "SELECT last(\"value\") FROM \"temperature\" WHERE \"node\"='garage_decke' AND \"sensor\"='rl_brunnen' AND $timeFilter", - "rawQuery": true + "rawQuery": true, + "hide": true }, { "refId": "Q", @@ -1011,7 +687,8 @@ "name": "Expression" }, "type": "math", - "expression": "${brunnen_durchfluss} * ($B - $A) * 0.0698" + "expression": "${brunnen_durchfluss} * ($B - $A) * 0.0698", + "hide": false } ] },