zeug/grafana-examples/Weather.json

1253 lines
29 KiB
JSON
Raw Permalink Normal View History

2024-11-04 10:36:27 +00:00
{
"__inputs": [
{
"name": "DS_THANOS",
"label": "Thanos",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.2.2+security-01"
},
{
"type": "panel",
"id": "marcusolsson-hourly-heatmap-panel",
"name": "Hourly heatmap",
"version": "2.0.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "#6ED0E0",
"value": 6
},
{
"color": "super-light-green",
"value": 12
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 27
},
{
"color": "semi-dark-orange",
"value": 35
},
{
"color": "dark-red",
"value": 40
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "netatmo_sensor_temperature_celsius{module=\"Außen\"}",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Außen",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "light-blue",
"value": 15
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "semi-dark-orange",
"value": 30
},
{
"color": "dark-red",
"value": 35
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 5,
"y": 0
},
"id": 2,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "netatmo_sensor_temperature_celsius{module=\"Wohnzimmer\"}",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Wohnzimmer",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "light-blue",
"value": 15
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "semi-dark-orange",
"value": 30
},
{
"color": "dark-red",
"value": 35
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 10,
"y": 0
},
"id": 3,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "netatmo_sensor_temperature_celsius{module=\"Schlafzimmer\"}",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Schlafzimmer",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "pressurehpa"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 9,
"x": 15,
"y": 0
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "netatmo_sensor_pressure_mb",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Luftdruck",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "light-blue",
"value": 6
},
{
"color": "super-light-green",
"value": 12
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 27
},
{
"color": "semi-dark-orange",
"value": 35
},
{
"color": "dark-red",
"value": 40
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 0,
"y": 6
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "min_over_time (netatmo_sensor_temperature_celsius{module=\"Außen\"}[24h])",
"instant": true,
"legendFormat": "min",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max_over_time (netatmo_sensor_temperature_celsius{module=\"Außen\"}[24h ])",
"hide": false,
"instant": true,
"legendFormat": "max",
"range": false,
"refId": "B"
}
],
"title": "Außen",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "light-blue",
"value": 15
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "semi-dark-orange",
"value": 30
},
{
"color": "dark-red",
"value": 35
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 5,
"y": 6
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "min_over_time (netatmo_sensor_temperature_celsius{module=\"Wohnzimmer\"}[24h])",
"instant": true,
"legendFormat": "min",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max_over_time (netatmo_sensor_temperature_celsius{module=\"Wohnzimmer\"}[24h ])",
"hide": false,
"instant": true,
"legendFormat": "max",
"range": false,
"refId": "B"
}
],
"title": "Wohnzimmer",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 45,
"min": -10,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
},
{
"color": "dark-blue",
"value": 0
},
{
"color": "light-blue",
"value": 15
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "semi-dark-orange",
"value": 30
},
{
"color": "dark-red",
"value": 35
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 10,
"y": 6
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2+security-01",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "min_over_time (netatmo_sensor_temperature_celsius{module=\"Schlafzimmer\"}[24h])",
"instant": true,
"legendFormat": "min",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max_over_time (netatmo_sensor_temperature_celsius{module=\"Schlafzimmer\"}[24h ])",
"hide": false,
"instant": true,
"legendFormat": "max",
"range": false,
"refId": "B"
}
],
"title": "Schlafzimmer",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"calculation": "mean",
"colorPalette": "interpolateSpectral",
"colorSpace": "rgb",
"groupBy": 60,
"invertPalette": true,
"nullValueColor": "rgb(155, 155, 155)"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 9
},
"id": 8,
"options": {
"from": "0",
"legendGradientQuality": "high",
"showCellBorder": false,
"showLegend": true,
"showTooltip": true,
"showValueIndicator": false,
"to": "0"
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "max by (module) (netatmo_sensor_temperature_celsius{module=\"Außen\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"timeFrom": "30d/d",
"title": "Temperaturverlauf",
"type": "marcusolsson-hourly-heatmap-panel"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ppm"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "netatmo_sensor_co2_ppm",
"instant": false,
"legendFormat": "{{module}}",
"range": true,
"refId": "A"
}
],
"title": "CO2",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "humidity"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "netatmo_sensor_humidity_percent",
"instant": false,
"legendFormat": "{{module}}",
"range": true,
"refId": "A"
}
],
"title": "Relative Luftfeuchtigkeit",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "netatmo_sensor_temperature_celsius",
"instant": false,
"legendFormat": "{{module}}",
"range": true,
"refId": "A"
}
],
"title": "Temperatur",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "dB"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_THANOS}"
},
"editorMode": "code",
"expr": "netatmo_sensor_noise_db",
"instant": false,
"legendFormat": "{{module}}",
"range": true,
"refId": "A"
}
],
"title": "Lärm",
"type": "timeseries"
}
],
"refresh": "5m",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Weather",
"uid": "d4029608-0236-4a9b-aea1-ff4c0fe5fbf2",
"version": 14,
"weekStart": ""
}