Hier noch die JSON-Datei ...
Vielleicht hilft das weiter ...
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 6,
"links": [],
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#0a437c",
"#447ebc",
"#64b0c8"
],
"datasource": "Solaranzeige",
"decimals": 2,
"format": "volt",
"gauge": {
"maxValue": 40,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 0
},
"id": 8,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "PV",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Spannung"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": "10,30",
"title": "Solarspannung",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {
"Statistik.mean": "#e5ac0e",
"Summe": "#eab839",
"Tagessumme": "#eab839",
"Verbrauch": "#bf1b00",
"pro Tag": "#eab839"
},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "Solaranzeige",
"decimals": 2,
"fill": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 3,
"y": 0
},
"hideTimeOverride": false,
"id": 14,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"paceLength": 10,
"percentage": true,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Energiesaldo",
"bars": false,
"color": "#eab839",
"fill": 2,
"lines": true,
"linewidth": 2,
"yaxis": 2,
"zindex": 3
},
{
"alias": "Erzeugung",
"color": "#508642"
},
{
"alias": "Batteriespannung",
"color": "#6d1f62",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Energiesaldo",
"groupBy": [
{
"params": [
"1h"
],
"type": "time"
}
],
"hide": false,
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT (last(\"Wh_Gesamt\")-last(\"Verbrauch_Wh_Gesamt\")) As \"Saldo\" FROM \"Summen\" WHERE $timeFilter GROUP BY time(1h)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Wh_Gesamt"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
],
[
{
"params": [
"Verbrauch_Wh_Gesamt"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
},
{
"alias": "Erzeugung",
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
}
],
"hide": false,
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Wh_Gesamt"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
},
{
"alias": "Verbrauch",
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
}
],
"hide": false,
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Verbrauch_Wh_Gesamt"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
},
{
"alias": "Batteriespannung",
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
}
],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"Spannung\") FROM \"Batterie\" WHERE $timeFilter GROUP BY time(1d)",
"rawQuery": true,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Spannung"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": "2w",
"timeRegions": [],
"timeShift": null,
"title": "Tagesleistung",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "watth",
"label": "",
"logBase": 1,
"max": null,
"min": "6000",
"show": true
},
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "1000",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"columns": [
{
"text": "Min",
"value": "min"
},
{
"text": "Current",
"value": "current"
}
],
"datasource": "Solaranzeige",
"fontSize": "100%",
"gridPos": {
"h": 5,
"w": 9,
"x": 15,
"y": 0
},
"hideTimeOverride": true,
"id": 12,
"links": [],
"pageSize": 4,
"repeat": null,
"scroll": false,
"showHeader": true,
"sort": {
"col": null,
"desc": false
},
"styles": [
{
"alias": "Bezeichnung",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"#e5ac0e",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "Metric",
"preserveFormat": false,
"sanitize": false,
"thresholds": [
""
],
"type": "number",
"unit": "watth"
},
{
"alias": "Start heute",
"colorMode": null,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "Min",
"thresholds": [
"80",
"100"
],
"type": "number",
"unit": "watth"
},
{
"alias": "Summe",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkUrl": "",
"mappingType": 1,
"pattern": "Current",
"thresholds": [
"80",
"100"
],
"type": "number",
"unit": "watth"
}
],
"targets": [
{
"alias": "Gesamte erzeugte Leistung",
"groupBy": [],
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Wh_Gesamt"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Erzeugte Leistung Heute",
"groupBy": [],
"hide": false,
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"maxWattHeute\") FROM \"Summen\" WHERE $timeFilter",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Wh_Heute"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Gesamte verbrauchte Leistung",
"groupBy": [],
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Verbrauch_Wh_Gesamt"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Verbrauchte Leistung Heute",
"groupBy": [],
"measurement": "Summen",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Verbrauch_Wh_Heute"
],
"type": "field"
}
]
],
"tags": []
}
],
"title": "Solarleistung",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#3f6833",
"#629e51",
"#7eb26d"
],
"decimals": 2,
"format": "amp",
"gauge": {
"maxValue": 10,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 4
},
"id": 20,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Ladestrom"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": "2, 5",
"title": "Ladestrom",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {
"Raumtemperatur": "#e5a8e2",
"Reglertemperatur": "#bf1b00",
"anzeige.PV_Ladeleistung": "#7eb26d",
"anzeige.PV_Leistung": "#7eb26d",
"anzeige.Temperatur": "#bf1b00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "-- Mixed --",
"decimals": null,
"fill": 3,
"gridPos": {
"h": 12,
"w": 21,
"x": 3,
"y": 5
},
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sideWidth": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Raumtemperatur",
"color": "#e5a8e2",
"fill": 0,
"lines": true,
"yaxis": 2
},
{
"alias": "Außentemperartur",
"color": "#f9934e",
"fill": 0,
"lines": true,
"yaxis": 2
},
{
"alias": "Batteriespannung",
"color": "#447ebc",
"fill": 1,
"fillBelowTo": "Sun altitude",
"yaxis": 2
},
{
"alias": "Sun altitude",
"color": "#fceaca",
"dashLength": 2,
"dashes": true,
"fill": 1,
"yaxis": 2
},
{
"alias": "Solarspannung",
"color": "#0a437c",
"fill": 1,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Ladestrom",
"datasource": "Solaranzeige",
"groupBy": [],
"hide": false,
"measurement": "PV",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"Strom\" FROM \"PV\" WHERE (\"Strom\" < 10) AND $timeFilter",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Strom"
],
"type": "field"
}
]
],
"tags": [
{
"key": "strom",
"operator": "<",
"value": "10"
}
]
},
{
"alias": "Raumtemperatur",
"datasource": "Solaranzeige",
"groupBy": [],
"hide": false,
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"Temperatur\" FROM \"anzeige\" WHERE $timeFilter",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Temperatur"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Außentemperartur",
"datasource": "Solaranzeige",
"groupBy": [],
"measurement": "aktuellesWetter",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Temperatur"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Batteriespannung",
"datasource": "Solaranzeige",
"groupBy": [],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Spannung"
],
"type": "field"
}
]
],
"tags": []
},
{
"datasource": "Solaranzeige",
"groupBy": [],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"Entladestrom\" FROM \"Batterie\" WHERE $timeFilter",
"rawQuery": false,
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Entladestrom"
],
"type": "field"
}
]
],
"tags": [
{
"key": "Entladestrom",
"operator": "<",
"value": "10"
}
]
},
{
"datasource": "Sun",
"refId": "F",
"target": "sun_altitude"
},
{
"alias": "Solarspannung",
"datasource": "Solaranzeige",
"groupBy": [],
"hide": true,
"measurement": "PV",
"orderByTime": "ASC",
"policy": "default",
"refId": "G",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Spannung"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "aktuelle Ströme, Spannungen und Temperaturen",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "amp",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"decimals": 1,
"format": "short",
"label": "",
"logBase": 1,
"max": "35",
"min": "-10",
"show": true
}
],
"yaxis": {
"align": true,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#890f02",
"#bf1b00",
"#e24d42"
],
"decimals": 2,
"format": "amp",
"gauge": {
"maxValue": 10,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 8
},
"id": 21,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Entladestrom"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": "2, 5",
"title": "Entladestrom",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#d44a3a",
"#447ebc",
"#eab839"
],
"datasource": "Solaranzeige",
"decimals": 2,
"format": "volt",
"gauge": {
"maxValue": 25,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 12
},
"id": 4,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "Batterie",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Spannung"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": "11.4,14.2",
"title": "Batteriespannung",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#1f78c1",
"#e5ac0e",
"#508642"
],
"datasource": "Solaranzeige",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 0,
"y": 16
},
"id": 6,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(1, 5, 7, 0)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [],
"measurement": "Service",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Ladestatus"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": "1,2",
"title": "Status",
"transparent": true,
"type": "singlestat",
"valueFontSize": "30%",
"valueMaps": [
{
"op": "=",
"text": "keine Ladung",
"value": "0"
},
{
"op": "=",
"text": "Erhaltungsladung",
"value": "1"
},
{
"op": "=",
"text": "normale Ladung",
"value": "2"
},
{
"op": "=",
"text": "Ausgleichsladung",
"value": "3"
}
],
"valueName": "current"
},
{
"content": "* RPI <a href=\"
http://localhost/server.halt.php\">ausschalten</a>",
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 18
},
"id": 18,
"links": [],
"mode": "html",
"title": "Steuerung",
"type": "text"
}
],
"refresh": "1m",
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now/d+5h",
"to": "now/d-1h"
},
"timepicker": {
"hidden": false,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Tracer Serie",
"uid": "99Tracer1",
"version": 54
}