Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "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": 1,
- "links": [],
- "panels": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "decimals": 0,
- "mappings": [],
- "max": 300,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "watt"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 0
- },
- "id": 6,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"powerdc\")\r\n |> range(start: -5m)\r\n |> keep(columns:[\"_value\"]) \r\n |> last()",
- "refId": "A"
- }
- ],
- "title": "PV 300 Watt",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "decimals": 0,
- "mappings": [],
- "max": 300,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- }
- ]
- },
- "unit": "watt"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 4,
- "y": 0
- },
- "id": 1,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Power_in\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> range(start: -5m)\r\n |> last()",
- "refId": "A"
- }
- ],
- "title": "Bezug",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "decimals": 0,
- "mappings": [],
- "max": 300,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "blue",
- "value": null
- }
- ]
- },
- "unit": "watt"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 8,
- "y": 0
- },
- "id": 7,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": true,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"powerdc\")\r\n |> range(start: -5m)\r\n |> keep(columns:[\"_value\"]) \r\n |> last()",
- "refId": "Bezug"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": true,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Power_in\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> range(start: -5m)\r\n |> last()",
- "refId": "PV300W"
- },
- {
- "datasource": {
- "name": "Expression",
- "type": "__expr__",
- "uid": "__expr__"
- },
- "expression": "$Bezug + $PV300W",
- "hide": false,
- "refId": "Berechnung",
- "type": "math"
- }
- ],
- "title": "Realverbrauch",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "decimals": 1,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- }
- ]
- },
- "unit": "kwatth"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Strom Total_in {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Gesamt Bezug"
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "red",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "PV300W yieldtotal {channel=\"0\", device=\"solar\", serial=\"112184719462\"}"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Gesamt PV"
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "green",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "PV300W yieldday {channel=\"0\", device=\"solar\", serial=\"112184719462\"}"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Tagesleistung"
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "yellow",
- "mode": "fixed"
- }
- },
- {
- "id": "unit",
- "value": "watth"
- },
- {
- "id": "decimals"
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 12,
- "y": 0
- },
- "id": 9,
- "options": {
- "colorMode": "background",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showPercentChange": false,
- "textMode": "value_and_name",
- "wideLayout": true
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: -1d)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Total_in\")\r\n |> aggregateWindow(every: 1m, fn: last, createEmpty: true)\r\n |> last()",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": false,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: -1d)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"yieldtotal\")\r\n |> aggregateWindow(every: 1m, fn: last, createEmpty: true)\r\n |> last()",
- "refId": "PV300W"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": false,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: -1d)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"yieldday\")\r\n |> aggregateWindow(every: 1m, fn: last, createEmpty: true)\r\n |> last()",
- "refId": "PV300W-Täglich"
- }
- ],
- "title": "Gesamt",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 59,
- "gradientMode": "opacity",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 2,
- "pointSize": 1,
- "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": "watt"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Strom Strom {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "red",
- "mode": "fixed"
- }
- },
- {
- "id": "displayName",
- "value": "Bezug"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "PV300W PV300W {channel=\"0\", device=\"solar\", serial=\"112184719462\"}"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "green",
- "mode": "fixed"
- }
- },
- {
- "id": "displayName",
- "value": "PV 300W"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Realverbrauch {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Realverbrauch"
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "blue",
- "mode": "fixed"
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 11,
- "w": 24,
- "x": 0,
- "y": 6
- },
- "id": 2,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "maxHeight": 600,
- "mode": "multi",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Power_in\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")",
- "refId": "BezugExtern"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": false,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\n from(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"power\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")",
- "refId": "PV300W"
- },
- {
- "datasource": {
- "name": "Expression",
- "type": "__expr__",
- "uid": "__expr__"
- },
- "expression": "$BezugExtern + $PV300W ",
- "hide": false,
- "refId": "Realverbrauch",
- "type": "math"
- }
- ],
- "timeFrom": "6h",
- "title": "Bezug Extern",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 59,
- "gradientMode": "opacity",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 2,
- "pointSize": 1,
- "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": "watt"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Strom Strom {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "red",
- "mode": "fixed"
- }
- },
- {
- "id": "displayName",
- "value": "Bezug"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "PV300W PV300W {channel=\"0\", device=\"solar\", serial=\"112184719462\"}"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "green",
- "mode": "fixed"
- }
- },
- {
- "id": "displayName",
- "value": "PV 300W"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Realverbrauch {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Realverbrauch"
- },
- {
- "id": "color",
- "value": {
- "fixedColor": "blue",
- "mode": "fixed"
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 11,
- "w": 24,
- "x": 0,
- "y": 17
- },
- "id": 8,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "maxHeight": 600,
- "mode": "multi",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Power_in\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")",
- "refId": "BezugExtern"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "hide": false,
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\n from(bucket: \"WebSDR-WMK\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PV300W\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"power\")\r\n |> filter(fn: (r) => r[\"channel\"] == \"0\")\r\n |> filter(fn: (r) => r[\"device\"] == \"solar\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"112184719462\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n |> yield(name: \"mean\")",
- "refId": "PV300W"
- },
- {
- "datasource": {
- "name": "Expression",
- "type": "__expr__",
- "uid": "__expr__"
- },
- "expression": "$BezugExtern + $PV300W ",
- "hide": false,
- "refId": "Realverbrauch",
- "type": "math"
- }
- ],
- "timeFrom": "15h",
- "title": "Bezug Extern",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "continuous-GrYlRd"
- },
- "custom": {
- "align": "auto",
- "cellOptions": {
- "type": "auto"
- },
- "inspect": false
- },
- "decimals": 1,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "kwatth"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Total_in {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "custom.cellOptions",
- "value": {
- "type": "gauge"
- }
- },
- {
- "id": "displayName",
- "value": "Tages Verbrauch"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Time"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Tag"
- },
- {
- "id": "unit",
- "value": "time:DD.MM."
- },
- {
- "id": "custom.width",
- "value": 60
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 0,
- "y": 28
- },
- "id": 4,
- "options": {
- "cellHeight": "sm",
- "footer": {
- "countRows": false,
- "fields": "",
- "reducer": [
- "sum"
- ],
- "show": false
- },
- "showHeader": true,
- "sortBy": [
- {
- "desc": true,
- "displayName": "Tag"
- }
- ]
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: -4d)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Total_in\")\r\n |> aggregateWindow(every: 1d, fn: last, createEmpty: true, timeSrc: \"_start\")\r\n |> difference(nonNegative: true)",
- "refId": "A"
- }
- ],
- "title": "Stromverbrauch",
- "type": "table"
- },
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "continuous-GrYlRd"
- },
- "custom": {
- "align": "auto",
- "cellOptions": {
- "type": "auto"
- },
- "inspect": false
- },
- "decimals": 1,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "kwatth"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Total_in {name=\"Hauptzähler\", serial=\"1EBZ0101267368\", type=\"eBZ\"}"
- },
- "properties": [
- {
- "id": "custom.cellOptions",
- "value": {
- "type": "gauge"
- }
- },
- {
- "id": "displayName",
- "value": "Monat Verbrauch"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Time"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Monat"
- },
- {
- "id": "unit",
- "value": "time:MM.YY"
- },
- {
- "id": "custom.width",
- "value": 80
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 10,
- "y": 28
- },
- "id": 5,
- "options": {
- "cellHeight": "sm",
- "footer": {
- "countRows": false,
- "fields": "",
- "reducer": [
- "sum"
- ],
- "show": false
- },
- "showHeader": true,
- "sortBy": [
- {
- "desc": true,
- "displayName": "Monat"
- }
- ]
- },
- "pluginVersion": "10.4.4",
- "targets": [
- {
- "datasource": {
- "type": "influxdb",
- "uid": "bdlx9r5e9vrwgd"
- },
- "query": "import \"timezone\" option location = timezone.location(name:\"Europe/Berlin\")\r\nfrom(bucket: \"WebSDR-WMK\")\r\n |> range(start: -4mo)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Strom\")\r\n |> filter(fn: (r) => r[\"name\"] == \"Hauptzähler\")\r\n |> filter(fn: (r) => r[\"serial\"] == \"1EBZ0101267368\")\r\n |> filter(fn: (r) => r[\"type\"] == \"eBZ\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"Total_in\")\r\n |> aggregateWindow(every: 1mo, fn: last, createEmpty: true, timeSrc: \"_start\")\r\n |> difference(nonNegative: true)",
- "refId": "A"
- }
- ],
- "title": "Stromverbrauch",
- "type": "table"
- }
- ],
- "refresh": "5s",
- "schemaVersion": 39,
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "browser",
- "title": "WebSDR-WMK",
- "uid": "adlxa3700ctfka",
- "version": 37,
- "weekStart": ""
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement