147 lines
12 KiB
YAML
147 lines
12 KiB
YAML
apiVersion: v1
|
|
data:
|
|
energy-monitor.json: '{"uid": "energy-monitor", "title": "\u26a1 Energy Monitor",
|
|
"tags": ["home", "energy", "solar", "power", "auto-generated"], "timezone": "browser",
|
|
"schemaVersion": 39, "version": 1, "refresh": "5m", "editable": false, "graphTooltip":
|
|
1, "time": {"from": "now-24h", "to": "now"}, "panels": [{"title": "\u26a1 Live
|
|
Power", "type": "row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 0}, "collapsed":
|
|
false}, {"title": "\u2600\ufe0f Solar", "type": "stat", "datasource": {"type":
|
|
"prometheus", "uid": "prometheus"}, "gridPos": {"h": 4, "w": 4, "x": 0, "y": 1},
|
|
"fieldConfig": {"defaults": {"unit": "watt", "decimals": 0, "thresholds": {"mode":
|
|
"absolute", "steps": [{"color": "#555", "value": null}, {"color": "#FFD700", "value":
|
|
100}, {"color": "#73BF69", "value": 500}, {"color": "#37872D", "value": 2000}]},
|
|
"color": {"mode": "thresholds"}}}, "options": {"graphMode": "area", "colorMode":
|
|
"background", "textMode": "auto", "reduceOptions": {"values": false, "calcs":
|
|
["lastNotNull"]}}, "targets": [{"expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_systemleistung\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83c\udfe0 Self-Use", "type":
|
|
"stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
|
|
{"h": 4, "w": 4, "x": 4, "y": 1}, "fieldConfig": {"defaults": {"unit": "watt",
|
|
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#555",
|
|
"value": null}, {"color": "#73BF69", "value": 100}, {"color": "#FFD700", "value":
|
|
1000}, {"color": "#FF7383", "value": 3000}]}, "color": {"mode": "thresholds"}}},
|
|
"options": {"graphMode": "area", "colorMode": "background", "textMode": "auto",
|
|
"reduceOptions": {"values": false, "calcs": ["lastNotNull"]}}, "targets": [{"expr":
|
|
"homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_eigene_leistung\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udd0c Grid Import",
|
|
"type": "stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
|
|
{"h": 4, "w": 4, "x": 8, "y": 1}, "fieldConfig": {"defaults": {"unit": "watt",
|
|
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#73BF69",
|
|
"value": null}, {"color": "#FFD700", "value": 500}, {"color": "#FF7383", "value":
|
|
2000}, {"color": "#C4162A", "value": 5000}]}, "color": {"mode": "thresholds"}}},
|
|
"options": {"graphMode": "area", "colorMode": "background", "textMode": "auto",
|
|
"reduceOptions": {"values": false, "calcs": ["lastNotNull"]}}, "targets": [{"expr":
|
|
"homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_bezugsleistung\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\u2197\ufe0f Grid Export",
|
|
"type": "stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
|
|
{"h": 4, "w": 4, "x": 12, "y": 1}, "fieldConfig": {"defaults": {"unit": "watt",
|
|
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#555",
|
|
"value": null}, {"color": "#5794F2", "value": 100}, {"color": "#1F60C4", "value":
|
|
500}, {"color": "#3274D9", "value": 2000}]}, "color": {"mode": "thresholds"}}},
|
|
"options": {"graphMode": "area", "colorMode": "background", "textMode": "auto",
|
|
"reduceOptions": {"values": false, "calcs": ["lastNotNull"]}}, "targets": [{"expr":
|
|
"homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_einspeiseleistung\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udd0b Battery SoC",
|
|
"type": "gauge", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
|
|
{"h": 4, "w": 4, "x": 16, "y": 1}, "fieldConfig": {"defaults": {"unit": "percent",
|
|
"decimals": 0, "min": 0, "max": 100, "thresholds": {"mode": "absolute", "steps":
|
|
[{"color": "#C4162A", "value": null}, {"color": "#FF7383", "value": 20}, {"color":
|
|
"#FFD700", "value": 40}, {"color": "#73BF69", "value": 60}]}, "color": {"mode":
|
|
"thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs": ["lastNotNull"]},
|
|
"orientation": "auto", "showThresholdLabels": true, "showThresholdMarkers": true},
|
|
"targets": [{"expr": "homeassistant_sensor_battery_percent{entity=\"sensor.ladeaufstellung_soc\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83c\udfe1 Total House",
|
|
"type": "stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
|
|
{"h": 4, "w": 4, "x": 20, "y": 1}, "fieldConfig": {"defaults": {"unit": "watt",
|
|
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#555",
|
|
"value": null}, {"color": "#73BF69", "value": 200}, {"color": "#FFD700", "value":
|
|
1000}, {"color": "#FF7383", "value": 3000}, {"color": "#C4162A", "value": 5000}]},
|
|
"color": {"mode": "thresholds"}}}, "options": {"graphMode": "area", "colorMode":
|
|
"background", "textMode": "auto", "reduceOptions": {"values": false, "calcs":
|
|
["lastNotNull"]}}, "targets": [{"expr": "homeassistant_sensor_power_w{entity=\"sensor.home_strommesserat_currentpowerconsumption\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udcc8 Power Flow",
|
|
"type": "row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 5}, "collapsed": false},
|
|
{"title": "Power Timeline", "type": "timeseries", "datasource": {"type": "prometheus",
|
|
"uid": "prometheus"}, "gridPos": {"h": 10, "w": 24, "x": 0, "y": 6}, "fieldConfig":
|
|
{"defaults": {"unit": "watt", "custom": {"lineWidth": 2, "fillOpacity": 5, "spanNulls":
|
|
true, "showPoints": "never"}}, "overrides": [{"matcher": {"id": "byName", "options":
|
|
"Solar"}, "properties": [{"id": "color", "value": {"fixedColor": "#FFD700", "mode":
|
|
"fixed"}}, {"id": "custom.fillOpacity", "value": 15}]}, {"matcher": {"id": "byName",
|
|
"options": "Self-Use"}, "properties": [{"id": "color", "value": {"fixedColor":
|
|
"#73BF69", "mode": "fixed"}}]}, {"matcher": {"id": "byName", "options": "Grid
|
|
Import"}, "properties": [{"id": "color", "value": {"fixedColor": "#FF7383", "mode":
|
|
"fixed"}}]}, {"matcher": {"id": "byName", "options": "Grid Export"}, "properties":
|
|
[{"id": "color", "value": {"fixedColor": "#5794F2", "mode": "fixed"}}, {"id":
|
|
"custom.lineStyle", "value": {"fill": "dash", "dash": [8, 4]}}]}, {"matcher":
|
|
{"id": "byName", "options": "Local Load"}, "properties": [{"id": "color", "value":
|
|
{"fixedColor": "#C4162A", "mode": "fixed"}}]}]}, "options": {"legend": {"displayMode":
|
|
"table", "placement": "bottom", "calcs": ["max", "mean", "lastNotNull"]}, "tooltip":
|
|
{"mode": "multi", "sort": "desc"}}, "targets": [{"refId": "SOLAR", "expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_systemleistung\"}",
|
|
"format": "time_series"}, {"refId": "SELF", "expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_eigene_leistung\"}",
|
|
"format": "time_series"}, {"refId": "IMPORT", "expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_bezugsleistung\"}",
|
|
"format": "time_series"}, {"refId": "EXPORT", "expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_einspeiseleistung\"}",
|
|
"format": "time_series"}, {"refId": "LOAD", "expr": "homeassistant_sensor_power_w{entity=\"sensor.garten_bzp3n7g1b0_lokale_lastleistung\"}",
|
|
"format": "time_series"}]}, {"title": "\ud83d\udcca Energy Summary (Today)", "type":
|
|
"row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 16}, "collapsed": false}, {"title":
|
|
"\u2600\ufe0f Solar Produced", "type": "bargauge", "datasource": {"type": "prometheus",
|
|
"uid": "prometheus"}, "gridPos": {"h": 4, "w": 6, "x": 0, "y": 17}, "fieldConfig":
|
|
{"defaults": {"unit": "kwatth", "decimals": 1, "min": 0, "thresholds": {"mode":
|
|
"absolute", "steps": [{"color": "#555", "value": null}, {"color": "#FFD700", "value":
|
|
5}, {"color": "#73BF69", "value": 15}, {"color": "#37872D", "value": 30}]}, "color":
|
|
{"mode": "thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs":
|
|
["lastNotNull"]}, "orientation": "horizontal", "displayMode": "basic", "showUnfilled":
|
|
true}, "targets": [{"expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_systemerzeugung_heute\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83c\udfe0 Self-Consumed",
|
|
"type": "bargauge", "datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"gridPos": {"h": 4, "w": 6, "x": 6, "y": 17}, "fieldConfig": {"defaults": {"unit":
|
|
"kwatth", "decimals": 1, "min": 0, "thresholds": {"mode": "absolute", "steps":
|
|
[{"color": "#555", "value": null}, {"color": "#73BF69", "value": 5}, {"color":
|
|
"#FFD700", "value": 15}, {"color": "#FF7383", "value": 30}]}, "color": {"mode":
|
|
"thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs": ["lastNotNull"]},
|
|
"orientation": "horizontal", "displayMode": "basic", "showUnfilled": true}, "targets":
|
|
[{"expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_eigenverbrauch_heute\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udd0c Grid Imported",
|
|
"type": "bargauge", "datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"gridPos": {"h": 4, "w": 6, "x": 12, "y": 17}, "fieldConfig": {"defaults": {"unit":
|
|
"kwatth", "decimals": 1, "min": 0, "thresholds": {"mode": "absolute", "steps":
|
|
[{"color": "#73BF69", "value": null}, {"color": "#FFD700", "value": 2}, {"color":
|
|
"#FF7383", "value": 10}, {"color": "#C4162A", "value": 20}]}, "color": {"mode":
|
|
"thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs": ["lastNotNull"]},
|
|
"orientation": "horizontal", "displayMode": "basic", "showUnfilled": true}, "targets":
|
|
[{"expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_netzbezug_heute\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\u2197\ufe0f Grid Exported",
|
|
"type": "bargauge", "datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"gridPos": {"h": 4, "w": 6, "x": 18, "y": 17}, "fieldConfig": {"defaults": {"unit":
|
|
"kwatth", "decimals": 1, "min": 0, "thresholds": {"mode": "absolute", "steps":
|
|
[{"color": "#555", "value": null}, {"color": "#5794F2", "value": 2}, {"color":
|
|
"#1F60C4", "value": 10}, {"color": "#3274D9", "value": 20}]}, "color": {"mode":
|
|
"thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs": ["lastNotNull"]},
|
|
"orientation": "horizontal", "displayMode": "basic", "showUnfilled": true}, "targets":
|
|
[{"expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.export_ins_netz_heute\"}",
|
|
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udcc8 Energy Trend",
|
|
"type": "row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 21}, "collapsed": false},
|
|
{"title": "Daily Energy", "type": "timeseries", "datasource": {"type": "prometheus",
|
|
"uid": "prometheus"}, "gridPos": {"h": 10, "w": 24, "x": 0, "y": 22}, "fieldConfig":
|
|
{"defaults": {"unit": "kwatth", "custom": {"lineWidth": 2, "fillOpacity": 5, "spanNulls":
|
|
true, "showPoints": "never"}}, "overrides": [{"matcher": {"id": "byName", "options":
|
|
"Solar"}, "properties": [{"id": "color", "value": {"fixedColor": "#FFD700", "mode":
|
|
"fixed"}}]}, {"matcher": {"id": "byName", "options": "Self-Use"}, "properties":
|
|
[{"id": "color", "value": {"fixedColor": "#73BF69", "mode": "fixed"}}]}, {"matcher":
|
|
{"id": "byName", "options": "Grid Import"}, "properties": [{"id": "color", "value":
|
|
{"fixedColor": "#FF7383", "mode": "fixed"}}]}, {"matcher": {"id": "byName", "options":
|
|
"Grid Export"}, "properties": [{"id": "color", "value": {"fixedColor": "#5794F2",
|
|
"mode": "fixed"}}]}]}, "options": {"legend": {"displayMode": "table", "placement":
|
|
"bottom", "calcs": ["sum", "mean"]}, "tooltip": {"mode": "multi", "sort": "desc"}},
|
|
"targets": [{"refId": "SOLAR", "expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_systemerzeugung_heute\"}",
|
|
"format": "time_series"}, {"refId": "SELF", "expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_eigenverbrauch_heute\"}",
|
|
"format": "time_series"}, {"refId": "IMPORT", "expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.garten_bzp3n7g1b0_netzbezug_heute\"}",
|
|
"format": "time_series"}, {"refId": "EXPORT", "expr": "homeassistant_sensor_energy_kwh{entity=\"sensor.export_ins_netz_heute\"}",
|
|
"format": "time_series"}]}]}'
|
|
kind: ConfigMap
|
|
metadata:
|
|
annotations:
|
|
grafana_dashboard_folder: "Grabengasse7"
|
|
labels:
|
|
grafana_dashboard: '1'
|
|
name: grafana-dashboard-energy-monitor
|
|
namespace: monitoring
|