homelab-brain/infra/grafana/klima-bewertung.json
Homelab Cursor d9dd087602 Klima-Bewertung: Telegraf Shelly-Ingest + Grafana-Dashboard
Shelly PM Mini Gen3 Leistung (klima_flur_oben/unten) nach InfluxDB sensors/power;
Grafana-Dashboard klima-bewertung korreliert Watt mit Raumtemperaturen.
2026-06-24 16:48:36 +02:00

291 lines
10 KiB
JSON

{
"annotations": { "list": [] },
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [
{
"title": "Satelliten-Temperaturen",
"type": "link",
"url": "/d/satelliten-temps/satelliten-temperaturen"
}
],
"liveNow": false,
"panels": [
{
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
"id": 100,
"options": {
"code": { "language": "markdown", "showLineNumbers": false, "showMiniMap": false },
"content": "**Klimatisierung bewerten:** Oben Leistung (W) der Klimaanlagen — unten Raumtemperaturen.\n\n- **Klima läuft + Räume fallen** → wirkt\n- **Klima läuft + Räume stagnieren** → schlechte Verteilung / zu große Last\n- **Klima aus + Räume fallen** → natürliche Abkühlung\n\n`klima_flur_unten` (Panasonic) erscheint automatisch, sobald Shelly + MQTT aktiv.",
"mode": "markdown"
},
"title": "Hinweis",
"type": "text"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"drawStyle": "line",
"fillOpacity": 15,
"lineWidth": 2,
"showPoints": "never",
"spanNulls": true
},
"unit": "watt"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 16, "x": 0, "y": 3 },
"id": 1,
"options": {
"legend": { "calcs": ["lastNotNull", "max", "mean"], "displayMode": "table", "placement": "bottom" },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"targets": [
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"watt\") FROM \"power\" WHERE $timeFilter GROUP BY \"node\", time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
}
],
"title": "Klima-Leistung (W)",
"type": "timeseries"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "blue", "value": null },
{ "color": "green", "value": 100 },
{ "color": "orange", "value": 800 },
{ "color": "red", "value": 2000 }
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 8, "x": 16, "y": 3 },
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }
},
"targets": [
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT last(\"watt\") FROM \"power\" WHERE $timeFilter GROUP BY \"node\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
}
],
"title": "Aktuelle Leistung",
"type": "stat"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "drawStyle": "line", "fillOpacity": 8, "lineWidth": 2, "showPoints": "never", "spanNulls": true },
"unit": "watt"
},
"overrides": [
{
"matcher": { "id": "byRegexp", "options": "/.*temp.*/" },
"properties": [
{ "id": "unit", "value": "celsius" },
{ "id": "custom.axisPlacement", "value": "right" },
{ "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 11 },
"id": 3,
"options": {
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom" },
"tooltip": { "mode": "multi", "sort": "none" }
},
"targets": [
{
"alias": "Leistung Split oben",
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"watt\") FROM \"power\" WHERE \"node\"='klima_flur_oben' AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
},
{
"alias": "Temp flur_oben",
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"value\") FROM \"temperature\" WHERE \"node\"='flur_oben' AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series"
}
],
"title": "Flur oben: Leistung vs. Temperatur",
"type": "timeseries"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "drawStyle": "line", "fillOpacity": 8, "lineWidth": 2, "showPoints": "never", "spanNulls": true },
"unit": "watt"
},
"overrides": [
{
"matcher": { "id": "byRegexp", "options": "/.*temp.*/" },
"properties": [
{ "id": "unit", "value": "celsius" },
{ "id": "custom.axisPlacement", "value": "right" },
{ "id": "color", "value": { "fixedColor": "light-green", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 11 },
"id": 4,
"options": {
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom" },
"tooltip": { "mode": "multi", "sort": "none" }
},
"targets": [
{
"alias": "Leistung Panasonic unten",
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"watt\") FROM \"power\" WHERE \"node\"='klima_flur_unten' AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
},
{
"alias": "Temp flur_unten",
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"value\") FROM \"temperature\" WHERE \"node\"='flur_unten' AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series"
}
],
"title": "Flur unten: Leistung vs. Temperatur (Panasonic folgt)",
"type": "timeseries"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "drawStyle": "line", "fillOpacity": 5, "lineWidth": 1, "showPoints": "never", "spanNulls": true },
"unit": "celsius"
},
"overrides": []
},
"gridPos": { "h": 10, "w": 24, "x": 0, "y": 19 },
"id": 5,
"options": {
"legend": { "calcs": ["lastNotNull", "min", "max"], "displayMode": "table", "placement": "right" },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"targets": [
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT mean(\"value\") FROM \"temperature\" WHERE $timeFilter AND (\"node\"='flur_oben' OR \"node\"='flur_unten' OR \"node\"='wohnstube' OR \"node\"='schlafzimmer' OR \"node\"='gaestezimmer' OR \"node\"='kueche' OR \"node\"='trockenraum') GROUP BY \"node\", time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
}
],
"title": "Raumtemperaturen — Wohnbereich (24h)",
"type": "timeseries"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"custom": { "align": "auto", "cellOptions": { "type": "auto" } },
"unit": "celsius"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 29 },
"id": 6,
"options": {
"cellHeight": "sm",
"footer": { "show": false },
"showHeader": true
},
"targets": [
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT last(\"value\") AS \"aktuell\", min(\"value\") AS \"min\", max(\"value\") AS \"max\", mean(\"value\") AS \"mittel\" FROM \"temperature\" WHERE $timeFilter AND (\"node\"='flur_oben' OR \"node\"='flur_unten' OR \"node\"='wohnstube' OR \"node\"='schlafzimmer' OR \"node\"='gaestezimmer' OR \"node\"='kueche' OR \"node\"='trockenraum') GROUP BY \"node\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table"
}
],
"title": "Raumtemperaturen — Übersicht",
"transformations": [{ "id": "organize", "options": { "renameByName": { "node": "Raum" } } }],
"type": "table"
},
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "drawStyle": "bars", "fillOpacity": 80, "lineWidth": 1 },
"unit": "kwatth"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 29 },
"id": 7,
"options": {
"legend": { "calcs": ["sum"], "displayMode": "table", "placement": "bottom" },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"targets": [
{
"datasource": { "type": "influxdb", "uid": "ffptl25vzylfke" },
"query": "SELECT difference(last(\"energy_wh_total\")) / 1000 FROM \"power\" WHERE $timeFilter GROUP BY \"node\", time(1h) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series"
}
],
"title": "Klima-Verbrauch (kWh/h, aus Shelly-Zähler)",
"type": "timeseries"
}
],
"refresh": "30s",
"schemaVersion": 39,
"tags": ["klima", "sensors", "homelab"],
"templating": { "list": [] },
"time": { "from": "now-24h", "to": "now" },
"timepicker": {},
"timezone": "browser",
"title": "Klimatisierung",
"uid": "klima-bewertung",
"version": 1,
"weekStart": ""
}