infrapuzzle/k8s/monitoring/dashboards/grafana-dashboard-outdoor-w...

126 lines
10 KiB
YAML

apiVersion: v1
data:
outdoor-weather.json: '{"uid": "outdoor-weather", "title": "\ud83c\udf21\ufe0f Outdoor
& Weather", "tags": ["home", "weather", "outdoor", "auto-generated"], "timezone":
"browser", "schemaVersion": 39, "version": 1, "refresh": "5m", "editable": false,
"graphTooltip": 1, "time": {"from": "now-24h", "to": "now"}, "panels": [{"title":
"\ud83c\udf24\ufe0f Current Conditions", "type": "row", "gridPos": {"h": 1, "w":
24, "x": 0, "y": 0}, "collapsed": false}, {"title": "\ud83c\udf21\ufe0f Temperature",
"type": "stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 0, "y": 1}, "fieldConfig": {"defaults": {"unit": "celsius",
"decimals": 1, "thresholds": {"mode": "absolute", "steps": [{"color": "#5794F2",
"value": null}, {"color": "#73BF69", "value": 0}, {"color": "#FFD700", "value":
15}, {"color": "#FF7383", "value": 25}, {"color": "#C4162A", "value": 30}]}, "color":
{"mode": "thresholds"}}}, "options": {"graphMode": "area", "colorMode": "background",
"textMode": "auto", "reduceOptions": {"values": false, "calcs": ["lastNotNull"]}},
"targets": [{"expr": "homeassistant_sensor_temperature_celsius{entity=\"sensor.regensburg_regensburg_temperatur\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udca7 Humidity", "type":
"stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 4, "y": 1}, "fieldConfig": {"defaults": {"unit": "percent",
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#FF7383",
"value": null}, {"color": "#FFD700", "value": 30}, {"color": "#73BF69", "value":
40}, {"color": "#FFD700", "value": 70}, {"color": "#5794F2", "value": 90}]}, "color":
{"mode": "thresholds"}}}, "options": {"graphMode": "area", "colorMode": "background",
"textMode": "auto", "reduceOptions": {"values": false, "calcs": ["lastNotNull"]}},
"targets": [{"expr": "homeassistant_sensor_humidity_percent{entity=\"sensor.regensburg_regensburg_luftfeuchtigkeit\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udd35 Pressure", "type":
"stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 8, "y": 1}, "fieldConfig": {"defaults": {"unit": "pressurehpa",
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#FF7383",
"value": null}, {"color": "#FFD700", "value": 990}, {"color": "#73BF69", "value":
1010}, {"color": "#FFD700", "value": 1030}, {"color": "#FF7383", "value": 1040}]},
"color": {"mode": "thresholds"}}}, "options": {"graphMode": "area", "colorMode":
"background", "textMode": "auto", "reduceOptions": {"values": false, "calcs":
["lastNotNull"]}}, "targets": [{"expr": "homeassistant_sensor_pressure_hpa{entity=\"sensor.regensburg_regensburg_druck\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udca8 Wind", "type":
"stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 12, "y": 1}, "fieldConfig": {"defaults": {"unit": "velocitykmh",
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#73BF69",
"value": null}, {"color": "#FFD700", "value": 20}, {"color": "#FF7383", "value":
40}, {"color": "#C4162A", "value": 60}]}, "color": {"mode": "thresholds"}}}, "options":
{"graphMode": "area", "colorMode": "background", "textMode": "auto", "reduceOptions":
{"values": false, "calcs": ["lastNotNull"]}}, "targets": [{"expr": "homeassistant_sensor_wind_speed_km_per_h{entity=\"sensor.regensburg_regensburg_windgeschwindigkeit\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\ud83c\udf27\ufe0f Rain",
"type": "stat", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 16, "y": 1}, "fieldConfig": {"defaults": {"unit": "mm/h",
"decimals": 0, "thresholds": {"mode": "absolute", "steps": [{"color": "#73BF69",
"value": null}, {"color": "#5794F2", "value": 0.1}, {"color": "#1F60C4", "value":
1}, {"color": "#3274D9", "value": 5}]}, "color": {"mode": "thresholds"}}}, "options":
{"graphMode": "area", "colorMode": "background", "textMode": "auto", "reduceOptions":
{"values": false, "calcs": ["lastNotNull"]}}, "targets": [{"expr": "homeassistant_sensor_precipitation_intensity_mm_per_h{entity=\"sensor.regensburg_regensburg_niederschlag\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\u2601\ufe0f Cloud Cover",
"type": "gauge", "datasource": {"type": "prometheus", "uid": "prometheus"}, "gridPos":
{"h": 4, "w": 4, "x": 20, "y": 1}, "fieldConfig": {"defaults": {"unit": "percent",
"decimals": 0, "min": 0, "max": 100, "thresholds": {"mode": "absolute", "steps":
[{"color": "#5794F2", "value": null}, {"color": "#73BF69", "value": 20}, {"color":
"#FFD700", "value": 50}, {"color": "#808080", "value": 80}]}, "color": {"mode":
"thresholds"}}}, "options": {"reduceOptions": {"values": false, "calcs": ["lastNotNull"]},
"orientation": "auto", "showThresholdLabels": true, "showThresholdMarkers": true},
"targets": [{"expr": "homeassistant_sensor_unit_percent{entity=\"sensor.regensburg_regensburg_bewolkungsgrad\"}",
"format": "time_series", "refId": "A"}]}, {"title": "\ud83d\udcc8 Temperature
& Humidity Trend", "type": "row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 5},
"collapsed": false}, {"title": "Temperature", "type": "timeseries", "datasource":
{"type": "prometheus", "uid": "prometheus"}, "gridPos": {"h": 8, "w": 12, "x":
0, "y": 6}, "fieldConfig": {"defaults": {"unit": "celsius", "custom": {"lineWidth":
2, "fillOpacity": 5, "spanNulls": true, "showPoints": "never"}}, "overrides":
[{"matcher": {"id": "byName", "options": "Temperature"}, "properties": [{"id":
"color", "value": {"fixedColor": "#FF7383", "mode": "fixed"}}]}]}, "options":
{"legend": {"displayMode": "table", "placement": "bottom", "calcs": ["min", "max",
"mean"]}, "tooltip": {"mode": "multi", "sort": "desc"}}, "targets": [{"refId":
"T", "expr": "homeassistant_sensor_temperature_celsius{entity=\"sensor.regensburg_regensburg_temperatur\"}",
"format": "time_series"}]}, {"title": "Humidity", "type": "timeseries", "datasource":
{"type": "prometheus", "uid": "prometheus"}, "gridPos": {"h": 8, "w": 12, "x":
12, "y": 6}, "fieldConfig": {"defaults": {"unit": "percent", "custom": {"lineWidth":
2, "fillOpacity": 5, "spanNulls": true, "showPoints": "never"}}, "overrides":
[{"matcher": {"id": "byName", "options": "Humidity"}, "properties": [{"id": "color",
"value": {"fixedColor": "#5794F2", "mode": "fixed"}}]}]}, "options": {"legend":
{"displayMode": "table", "placement": "bottom", "calcs": ["min", "max", "mean"]},
"tooltip": {"mode": "multi", "sort": "desc"}}, "targets": [{"refId": "H", "expr":
"homeassistant_sensor_humidity_percent{entity=\"sensor.regensburg_regensburg_luftfeuchtigkeit\"}",
"format": "time_series"}]}, {"title": "\ud83d\udcca Pressure & Wind", "type":
"row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 14}, "collapsed": false}, {"title":
"Pressure", "type": "timeseries", "datasource": {"type": "prometheus", "uid":
"prometheus"}, "gridPos": {"h": 8, "w": 12, "x": 0, "y": 15}, "fieldConfig": {"defaults":
{"unit": "pressurehpa", "custom": {"lineWidth": 2, "fillOpacity": 5, "spanNulls":
true, "showPoints": "never"}}, "overrides": [{"matcher": {"id": "byName", "options":
"Pressure"}, "properties": [{"id": "color", "value": {"fixedColor": "#8F3BB8",
"mode": "fixed"}}]}]}, "options": {"legend": {"displayMode": "table", "placement":
"bottom", "calcs": ["min", "max", "mean"]}, "tooltip": {"mode": "multi", "sort":
"desc"}}, "targets": [{"refId": "P", "expr": "homeassistant_sensor_pressure_hpa{entity=\"sensor.regensburg_regensburg_druck\"}",
"format": "time_series"}]}, {"title": "Wind Speed", "type": "timeseries", "datasource":
{"type": "prometheus", "uid": "prometheus"}, "gridPos": {"h": 8, "w": 12, "x":
12, "y": 15}, "fieldConfig": {"defaults": {"unit": "velocitykmh", "custom": {"lineWidth":
2, "fillOpacity": 5, "spanNulls": true, "showPoints": "never"}}, "overrides":
[{"matcher": {"id": "byName", "options": "Wind"}, "properties": [{"id": "color",
"value": {"fixedColor": "#5794F2", "mode": "fixed"}}]}]}, "options": {"legend":
{"displayMode": "table", "placement": "bottom", "calcs": ["max", "mean"]}, "tooltip":
{"mode": "multi", "sort": "desc"}}, "targets": [{"refId": "W", "expr": "homeassistant_sensor_wind_speed_km_per_h{entity=\"sensor.regensburg_regensburg_windgeschwindigkeit\"}",
"format": "time_series"}]}, {"title": "\ud83c\udf27\ufe0f Precipitation & Cloud",
"type": "row", "gridPos": {"h": 1, "w": 24, "x": 0, "y": 23}, "collapsed": false},
{"title": "Rain", "type": "timeseries", "datasource": {"type": "prometheus", "uid":
"prometheus"}, "gridPos": {"h": 8, "w": 12, "x": 0, "y": 24}, "fieldConfig": {"defaults":
{"unit": "mm/h", "custom": {"lineWidth": 2, "fillOpacity": 5, "spanNulls": true,
"showPoints": "never"}}, "overrides": [{"matcher": {"id": "byName", "options":
"Rain"}, "properties": [{"id": "color", "value": {"fixedColor": "#3274D9", "mode":
"fixed"}}]}]}, "options": {"legend": {"displayMode": "table", "placement": "bottom",
"calcs": ["mean", "lastNotNull"]}, "tooltip": {"mode": "multi", "sort": "desc"}},
"targets": [{"refId": "R", "expr": "homeassistant_sensor_precipitation_intensity_mm_per_h{entity=\"sensor.regensburg_regensburg_niederschlag\"}",
"format": "time_series"}]}, {"title": "Cloud Cover", "type": "timeseries", "datasource":
{"type": "prometheus", "uid": "prometheus"}, "gridPos": {"h": 8, "w": 12, "x":
12, "y": 24}, "fieldConfig": {"defaults": {"unit": "percent", "custom": {"lineWidth":
2, "fillOpacity": 5, "spanNulls": true, "showPoints": "never"}}, "overrides":
[{"matcher": {"id": "byName", "options": "Cloud Cover"}, "properties": [{"id":
"color", "value": {"fixedColor": "#808080", "mode": "fixed"}}]}]}, "options":
{"legend": {"displayMode": "table", "placement": "bottom", "calcs": ["mean"]},
"tooltip": {"mode": "multi", "sort": "desc"}}, "targets": [{"refId": "C", "expr":
"homeassistant_sensor_unit_percent{entity=\"sensor.regensburg_regensburg_bewolkungsgrad\"}",
"format": "time_series"}]}]}'
kind: ConfigMap
metadata:
annotations:
grafana_dashboard_folder: "\U0001F3E0 Home"
labels:
grafana_dashboard: '1'
name: grafana-dashboard-outdoor-weather
namespace: monitoring