{
  "apiVersion": "dashboard.grafana.app/v2",
  "kind": "Dashboard",
  "metadata": {
    "name": "99Solakon001",
    "generation": 47,
    "creationTimestamp": "2026-06-25T10:56:57Z",
    "labels": {},
    "annotations": {}
  },
  "spec": {
    "annotations": [
      {
        "kind": "AnnotationQuery",
        "spec": {
          "query": {
            "kind": "DataQuery",
            "group": "grafana",
            "version": "v0",
            "spec": {
              "limit": 100,
              "matchAny": false,
              "tags": [],
              "type": "dashboard"
            }
          },
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations & Alerts",
          "builtIn": true
        }
      }
    ],
    "cursorSync": "Off",
    "editable": true,
    "elements": {
      "panel-1": {
        "kind": "Panel",
        "spec": {
          "id": 1,
          "title": "Aktuelle netto Epex-Strompreise für Heute, Sonneneinstrahlungvoraussage und PV-Leistung",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "time_series",
                        "rawQuery": true,
                        "rawSql": "SELECT Preis_KWh, Timestamp AS \"time\" FROM energieanzeige.epexPreise15 where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [
                                {
                                  "name": "Preis_KWh",
                                  "type": "functionParameter"
                                }
                              ],
                              "type": "function"
                            },
                            {
                              "alias": "\"time\"",
                              "parameters": [
                                {
                                  "name": "Timestamp",
                                  "type": "functionParameter"
                                }
                              ],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "name": "Timestamp",
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50,
                          "whereJsonTree": {
                            "children1": [],
                            "id": "88baaaaa-0123-4456-b89a-b19e0163ce2c",
                            "type": "group"
                          }
                        },
                        "table": "epexPreise"
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Watt as Sonneneinstrahlung, Timestamp AS \"time\" FROM energieanzeige.Wetterprognose where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "C",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Wert6 as PV_Leistung, Timestamp AS \"time\" FROM energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "B",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeShift": "1d",
                "interval": "1m",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "timeseries",
            "version": "13.1.0",
            "spec": {
              "options": {
                "annotations": {
                  "clustering": -1,
                  "multiLane": false
                },
                "legend": {
                  "calcs": [],
                  "displayMode": "list",
                  "enableFacetedFilter": false,
                  "overflow": "ellipsis",
                  "placement": "bottom",
                  "showLegend": true
                },
                "tooltip": {
                  "hideZeros": false,
                  "mode": "single",
                  "sort": "none"
                }
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "currencyEUR",
                  "decimals": 2,
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "light-orange"
                      }
                    ]
                  },
                  "color": {
                    "mode": "fixed",
                    "seriesBy": "last"
                  },
                  "custom": {
                    "axisBorderShow": true,
                    "axisCenteredZero": false,
                    "axisColorMode": "text",
                    "axisLabel": "",
                    "axisPlacement": "auto",
                    "axisWidth": 65,
                    "barAlignment": 0,
                    "barWidthFactor": 0.6,
                    "drawStyle": "line",
                    "fillOpacity": 30,
                    "gradientMode": "scheme",
                    "hideFrom": {
                      "legend": false,
                      "tooltip": false,
                      "viz": false
                    },
                    "insertNulls": false,
                    "lineInterpolation": "stepAfter",
                    "lineStyle": {
                      "fill": "solid"
                    },
                    "lineWidth": 1,
                    "pointSize": 0,
                    "scaleDistribution": {
                      "type": "linear"
                    },
                    "showPoints": "never",
                    "showValues": false,
                    "spanNulls": false,
                    "stacking": {
                      "group": "A",
                      "mode": "none"
                    },
                    "thresholdsStyle": {
                      "mode": "off"
                    }
                  },
                  "fieldMinMax": false
                },
                "overrides": [
                  {
                    "matcher": {
                      "id": "byName",
                      "options": "Preis_KWh"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "light-orange",
                          "mode": "continuous-GrYlRd",
                          "seriesBy": "last"
                        }
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Sonneneinstrahlung"
                    },
                    "properties": [
                      {
                        "id": "custom.drawStyle",
                        "value": "points"
                      },
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-orange",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "custom.pointSize",
                        "value": 5
                      },
                      {
                        "id": "custom.axisPlacement",
                        "value": "hidden"
                      },
                      {
                        "id": "max",
                        "value": 1000
                      },
                      {
                        "id": "unit",
                        "value": "watth"
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "PV_Leistung"
                    },
                    "properties": [
                      {
                        "id": "custom.axisPlacement",
                        "value": "hidden"
                      },
                      {
                        "id": "unit",
                        "value": "watt"
                      },
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "super-light-yellow",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "custom.lineWidth",
                        "value": 1
                      },
                      {
                        "id": "custom.fillOpacity",
                        "value": 0
                      },
                      {
                        "id": "min",
                        "value": 0
                      },
                      {
                        "id": "max",
                        "value": 1000
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "panel-10": {
        "kind": "Panel",
        "spec": {
          "id": 10,
          "title": "Hausverbrauch",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Wert3 as Hausverbrauch, Timestamp AS \"time\" FROM energiedaten.solakon order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watt",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      },
                      {
                        "value": 0,
                        "color": "semi-dark-green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-12": {
        "kind": "Panel",
        "spec": {
          "id": 12,
          "title": "PV Leistung",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT ceil(Wert6) as PV_Leistung, Timestamp AS \"time\" FROM energiedaten.solakon order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "/^PV_Leistung$/",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watt",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "semi-dark-yellow"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-13": {
        "kind": "Panel",
        "spec": {
          "id": 13,
          "title": "Mode",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Wert7 as Status, Timestamp AS \"time\" FROM energiedaten.solakon order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "mappings": [
                    {
                      "type": "value",
                      "options": {
                        "0": {
                          "text": "Solakon App",
                          "index": 0
                        },
                        "2": {
                          "text": "Strg aus",
                          "index": 3
                        },
                        "3": {
                          "text": "PV-Laden",
                          "index": 1
                        },
                        "7": {
                          "text": "Netzladen",
                          "index": 2
                        }
                      }
                    }
                  ],
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "dark-blue"
                      },
                      {
                        "value": 0,
                        "color": "dark-green"
                      },
                      {
                        "value": 2,
                        "color": "semi-dark-red"
                      },
                      {
                        "value": 3,
                        "color": "semi-dark-yellow"
                      },
                      {
                        "value": 7,
                        "color": "semi-dark-orange"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-14": {
        "kind": "Panel",
        "spec": {
          "id": 14,
          "title": "Tageswerte der Energie ",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert5)/60) AS Verbrauch, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by day(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energiedaten",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert2)/60) AS Batterie, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by day(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "B",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energiedaten",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert6)/60) AS PV_Leistung, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by day(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "C",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeFrom": "9d/d",
                "timeShift": "+1d/d",
                "interval": "1d",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "timeseries",
            "version": "13.1.0",
            "spec": {
              "options": {
                "annotations": {
                  "clustering": -1,
                  "multiLane": false
                },
                "legend": {
                  "calcs": [],
                  "displayMode": "list",
                  "enableFacetedFilter": false,
                  "overflow": "ellipsis",
                  "placement": "bottom",
                  "showLegend": false
                },
                "timezone": [
                  "browser"
                ],
                "tooltip": {
                  "hideZeros": false,
                  "mode": "single",
                  "sort": "none"
                }
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watth",
                  "decimals": 0,
                  "min": 0,
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "fixed"
                  },
                  "custom": {
                    "axisBorderShow": true,
                    "axisCenteredZero": false,
                    "axisColorMode": "text",
                    "axisGridShow": true,
                    "axisLabel": "",
                    "axisPlacement": "left",
                    "barAlignment": 0,
                    "barWidthFactor": 0.8,
                    "drawStyle": "bars",
                    "fillOpacity": 29,
                    "gradientMode": "none",
                    "hideFrom": {
                      "legend": false,
                      "tooltip": false,
                      "viz": false
                    },
                    "insertNulls": false,
                    "lineInterpolation": "linear",
                    "lineWidth": 1,
                    "pointSize": 6,
                    "scaleDistribution": {
                      "type": "linear"
                    },
                    "showPoints": "never",
                    "showValues": false,
                    "spanNulls": false,
                    "stacking": {
                      "group": "A",
                      "mode": "normal"
                    },
                    "thresholdsStyle": {
                      "mode": "off"
                    }
                  },
                  "fieldMinMax": false
                },
                "overrides": [
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Verbrauch"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-orange",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "displayName",
                        "value": "Netzbezug"
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Batterie"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-blue",
                          "mode": "fixed"
                        }
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "PV_Leistung"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-yellow",
                          "mode": "fixed"
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "panel-15": {
        "kind": "Panel",
        "spec": {
          "id": 15,
          "title": "erzeugt",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Sum(Wert6/60) as PV_Leistung, Timestamp AS \"time\" FROM energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeShift": "1d",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "sum"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watth",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "semi-dark-orange"
                      },
                      {
                        "value": 2000,
                        "color": "semi-dark-yellow"
                      },
                      {
                        "value": 5000,
                        "color": "semi-dark-green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-16": {
        "kind": "Panel",
        "spec": {
          "id": 16,
          "title": "Gerätetemperatur",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Wert8 as Temperatur, Timestamp AS \"time\" FROM energiedaten.solakon order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "celsius",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      },
                      {
                        "value": -0.1,
                        "color": "dark-blue"
                      },
                      {
                        "value": 0,
                        "color": "semi-dark-green"
                      },
                      {
                        "value": 40,
                        "color": "semi-dark-orange"
                      },
                      {
                        "value": 60,
                        "color": "semi-dark-red"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-2": {
        "kind": "Panel",
        "spec": {
          "id": 2,
          "title": "verschiedene Leistungen pro Stunde",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert5)/60) AS Verbrauch, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by hour(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energiedaten",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert2)/60) AS Batterie, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by hour(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "B",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energiedaten",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select ceil(sum(Wert6)/60) AS PV_Leistung, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  Group by hour(from_unixtime(Timestamp))",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "C",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energiedaten",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "select Wert4 AS SOC, Timestamp as time from energiedaten.solakon where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()  ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-2",
                        "grafana.app/export-datasource-name": "energiedaten"
                      }
                    },
                    "refId": "D",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeShift": "1d",
                "interval": "30m",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "timeseries",
            "version": "13.1.0",
            "spec": {
              "options": {
                "annotations": {
                  "clustering": -1,
                  "multiLane": false
                },
                "legend": {
                  "calcs": [],
                  "displayMode": "list",
                  "enableFacetedFilter": false,
                  "overflow": "ellipsis",
                  "placement": "bottom",
                  "showLegend": true
                },
                "timezone": [
                  "browser"
                ],
                "tooltip": {
                  "hideZeros": false,
                  "mode": "single",
                  "sort": "none"
                }
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watth",
                  "decimals": 1,
                  "min": 0,
                  "max": 1300,
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "fixed"
                  },
                  "custom": {
                    "axisBorderShow": true,
                    "axisCenteredZero": false,
                    "axisColorMode": "text",
                    "axisLabel": "",
                    "axisPlacement": "auto",
                    "barAlignment": 1,
                    "barWidthFactor": 0.9,
                    "drawStyle": "bars",
                    "fillOpacity": 29,
                    "gradientMode": "none",
                    "hideFrom": {
                      "legend": false,
                      "tooltip": false,
                      "viz": false
                    },
                    "insertNulls": false,
                    "lineInterpolation": "linear",
                    "lineWidth": 1,
                    "pointSize": 6,
                    "scaleDistribution": {
                      "type": "linear"
                    },
                    "showPoints": "never",
                    "showValues": false,
                    "spanNulls": false,
                    "stacking": {
                      "group": "A",
                      "mode": "normal"
                    },
                    "thresholdsStyle": {
                      "mode": "off"
                    }
                  },
                  "fieldMinMax": false
                },
                "overrides": [
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Verbrauch"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-orange",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "displayName",
                        "value": "Netzbezug"
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Batterie"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-blue",
                          "mode": "fixed"
                        }
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "PV_Leistung"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-yellow",
                          "mode": "fixed"
                        }
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "options": "SOC"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "dark-blue",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "custom.drawStyle",
                        "value": "line"
                      },
                      {
                        "id": "custom.axisPlacement",
                        "value": "right"
                      },
                      {
                        "id": "unit",
                        "value": "%"
                      },
                      {
                        "id": "custom.fillOpacity",
                        "value": 0
                      },
                      {
                        "id": "custom.lineWidth",
                        "value": 2
                      },
                      {
                        "id": "displayName",
                        "value": "Batterie SOC"
                      },
                      {
                        "id": "max",
                        "value": 100
                      },
                      {
                        "id": "min",
                        "value": 0
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "options": "Batterie SOC"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-purple",
                          "mode": "fixed"
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "panel-4": {
        "kind": "Panel",
        "spec": {
          "id": 4,
          "title": "",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "builder",
                        "format": "table",
                        "rawSql": ""
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "grafana-clock-panel",
            "version": "3.2.2",
            "spec": {
              "options": {
                "bgColor": "",
                "clockType": "24 hour",
                "countdownSettings": {
                  "endCountdownTime": "2026-06-10T17:00:17+02:00",
                  "endText": "00:00:00",
                  "invalidValueText": "ungültiger Wert",
                  "noValueText": "kein Wert gefunden",
                  "queryCalculation": "last",
                  "source": "input"
                },
                "countupSettings": {
                  "beginCountupTime": "2026-06-10T17:00:17+02:00",
                  "beginText": "00:00:00",
                  "invalidValueText": "ungültiger Wert",
                  "noValueText": "kein Wert gefunden",
                  "queryCalculation": "last",
                  "source": "input"
                },
                "dateSettings": {
                  "dateFormat": "DD.MM.YYYY",
                  "fontSize": "20px",
                  "fontWeight": "normal",
                  "locale": "de",
                  "showDate": true
                },
                "descriptionSettings": {
                  "descriptionText": "",
                  "fontSize": "12px",
                  "fontWeight": "normal",
                  "noValueText": "keine Beschreibung gefunden",
                  "source": "none"
                },
                "digitalSettings": {
                  "fillColor": "text",
                  "glowSize": 0,
                  "strokeColor": "dark-orange",
                  "strokeWidth": 0
                },
                "fontMono": false,
                "mode": "time",
                "refresh": "sec",
                "style": "digital",
                "timeSettings": {
                  "fontSize": "12px",
                  "fontWeight": "normal"
                },
                "timezone": "",
                "timezoneSettings": {
                  "fontSize": "12px",
                  "fontWeight": "normal",
                  "showTimezone": false,
                  "zoneFormat": "offsetAbbv"
                }
              },
              "fieldConfig": {
                "defaults": {},
                "overrides": []
              }
            }
          }
        }
      },
      "panel-5": {
        "kind": "Panel",
        "spec": {
          "id": 5,
          "title": "Prognose",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Watt as Sonneneinstrahlung, Timestamp AS \"time\" FROM energieanzeige.Wetterprognose where FROM_UNIXTIME(Timestamp) > $__timeFrom() and FROM_UNIXTIME(Timestamp) < $__timeTo()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeShift": "1d",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "sum"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watth",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "semi-dark-orange"
                      },
                      {
                        "value": 2000,
                        "color": "semi-dark-yellow"
                      },
                      {
                        "value": 5000,
                        "color": "semi-dark-green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-6": {
        "kind": "Panel",
        "spec": {
          "id": 6,
          "title": "Progn. Morgen",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Watt as Sonneneinstrahlung, Timestamp AS \"time\" FROM energieanzeige.Wetterprognose where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "sum"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watth",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "semi-dark-orange"
                      },
                      {
                        "value": 2000,
                        "color": "semi-dark-yellow"
                      },
                      {
                        "value": 5000,
                        "color": "semi-dark-green"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-7": {
        "kind": "Panel",
        "spec": {
          "id": 7,
          "title": "Netzbezug",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT ceil(Wert13) as Gesamtleistung, Timestamp AS \"time\" FROM energiedaten.shelly where MAC = '14335CC4EF68' order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "/^Gesamtleistung$/",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "watt",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      },
                      {
                        "value": -10,
                        "color": "semi-dark-orange"
                      },
                      {
                        "value": 0,
                        "color": "semi-dark-green"
                      },
                      {
                        "value": 10,
                        "color": "dark-red"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      },
      "panel-8": {
        "kind": "Panel",
        "spec": {
          "id": 8,
          "title": "Epex-Strompreise und Sonnenvorhersage für Morgen",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "time_series",
                        "rawQuery": true,
                        "rawSql": "SELECT Preis_KWh, Timestamp AS \"time\" FROM energieanzeige.epexPreise15 where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [
                                {
                                  "name": "Preis_KWh",
                                  "type": "functionParameter"
                                }
                              ],
                              "type": "function"
                            },
                            {
                              "alias": "\"time\"",
                              "parameters": [
                                {
                                  "name": "Timestamp",
                                  "type": "functionParameter"
                                }
                              ],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "name": "Timestamp",
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50,
                          "whereJsonTree": {
                            "children1": [],
                            "id": "88baaaaa-0123-4456-b89a-b19e0163ce2c",
                            "type": "group"
                          }
                        },
                        "table": "epexPreise"
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                },
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Watt as Sonneneinstrahlung, Timestamp AS \"time\" FROM energieanzeige.Wetterprognose where FROM_UNIXTIME(Timestamp) > $__timeFrom()",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "C",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {
                "timeShift": "+1d",
                "hideTimeOverride": true
              }
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "timeseries",
            "version": "13.1.0",
            "spec": {
              "options": {
                "annotations": {
                  "clustering": -1,
                  "multiLane": false
                },
                "legend": {
                  "calcs": [],
                  "displayMode": "list",
                  "enableFacetedFilter": false,
                  "overflow": "ellipsis",
                  "placement": "bottom",
                  "showLegend": true
                },
                "timezone": [
                  "browser"
                ],
                "tooltip": {
                  "hideZeros": false,
                  "mode": "single",
                  "sort": "none"
                }
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "currencyEUR",
                  "decimals": 2,
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "light-orange"
                      }
                    ]
                  },
                  "color": {
                    "mode": "fixed",
                    "seriesBy": "last"
                  },
                  "custom": {
                    "axisBorderShow": true,
                    "axisCenteredZero": false,
                    "axisColorMode": "text",
                    "axisLabel": "",
                    "axisPlacement": "left",
                    "barAlignment": 0,
                    "barWidthFactor": 0.6,
                    "drawStyle": "line",
                    "fillOpacity": 30,
                    "gradientMode": "scheme",
                    "hideFrom": {
                      "legend": false,
                      "tooltip": false,
                      "viz": false
                    },
                    "insertNulls": false,
                    "lineInterpolation": "stepAfter",
                    "lineStyle": {
                      "fill": "solid"
                    },
                    "lineWidth": 1,
                    "pointSize": 0,
                    "scaleDistribution": {
                      "type": "linear"
                    },
                    "showPoints": "never",
                    "showValues": false,
                    "spanNulls": false,
                    "stacking": {
                      "group": "A",
                      "mode": "none"
                    },
                    "thresholdsStyle": {
                      "mode": "off"
                    }
                  },
                  "fieldMinMax": false
                },
                "overrides": [
                  {
                    "matcher": {
                      "id": "byName",
                      "options": "Preis_KWh"
                    },
                    "properties": [
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "light-orange",
                          "mode": "continuous-GrYlRd",
                          "seriesBy": "last"
                        }
                      }
                    ]
                  },
                  {
                    "matcher": {
                      "id": "byName",
                      "scope": "series",
                      "options": "Sonneneinstrahlung"
                    },
                    "properties": [
                      {
                        "id": "custom.drawStyle",
                        "value": "points"
                      },
                      {
                        "id": "color",
                        "value": {
                          "fixedColor": "semi-dark-orange",
                          "mode": "fixed"
                        }
                      },
                      {
                        "id": "custom.pointSize",
                        "value": 5
                      },
                      {
                        "id": "custom.axisPlacement",
                        "value": "hidden"
                      },
                      {
                        "id": "max",
                        "value": 1000
                      },
                      {
                        "id": "unit",
                        "value": "watth"
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "panel-9": {
        "kind": "Panel",
        "spec": {
          "id": 9,
          "title": "Batteriekapazität  (SOC)",
          "description": "",
          "links": [],
          "data": {
            "kind": "QueryGroup",
            "spec": {
              "queries": [
                {
                  "kind": "PanelQuery",
                  "spec": {
                    "query": {
                      "kind": "DataQuery",
                      "group": "mysql",
                      "version": "v0",
                      "spec": {
                        "dataset": "energieanzeige",
                        "editorMode": "code",
                        "format": "table",
                        "rawQuery": true,
                        "rawSql": "SELECT Wert4 as SOC, Timestamp AS \"time\" FROM energiedaten.solakon order by Timestamp desc Limit 1 ",
                        "sql": {
                          "columns": [
                            {
                              "parameters": [],
                              "type": "function"
                            }
                          ],
                          "groupBy": [
                            {
                              "property": {
                                "type": "string"
                              },
                              "type": "groupBy"
                            }
                          ],
                          "limit": 50
                        }
                      },
                      "labels": {
                        "grafana.app/export-label": "mysql-1",
                        "grafana.app/export-datasource-name": "energieanzeige"
                      }
                    },
                    "refId": "A",
                    "hidden": false
                  }
                }
              ],
              "transformations": [],
              "queryOptions": {}
            }
          },
          "vizConfig": {
            "kind": "VizConfig",
            "group": "stat",
            "version": "13.1.0",
            "spec": {
              "options": {
                "colorMode": "value",
                "graphMode": "none",
                "justifyMode": "center",
                "orientation": "auto",
                "percentChangeColorMode": "standard",
                "reduceOptions": {
                  "calcs": [
                    "lastNotNull"
                  ],
                  "fields": "",
                  "values": false
                },
                "showPercentChange": false,
                "textMode": "auto",
                "wideLayout": true
              },
              "fieldConfig": {
                "defaults": {
                  "unit": "%",
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "value": 0,
                        "color": "green"
                      },
                      {
                        "value": 0,
                        "color": "semi-dark-red"
                      },
                      {
                        "value": 10,
                        "color": "semi-dark-purple"
                      }
                    ]
                  },
                  "color": {
                    "mode": "thresholds"
                  }
                },
                "overrides": []
              }
            }
          }
        }
      }
    },
    "layout": {
      "kind": "GridLayout",
      "spec": {
        "items": [
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 0,
              "y": 0,
              "width": 18,
              "height": 9,
              "element": {
                "kind": "ElementReference",
                "name": "panel-1"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 18,
              "y": 0,
              "width": 6,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-4"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 18,
              "y": 3,
              "width": 3,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-5"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 21,
              "y": 3,
              "width": 3,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-15"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 18,
              "y": 6,
              "width": 3,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-6"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 21,
              "y": 6,
              "width": 3,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-13"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 0,
              "y": 9,
              "width": 19,
              "height": 9,
              "element": {
                "kind": "ElementReference",
                "name": "panel-2"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 19,
              "y": 9,
              "width": 5,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-7"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 19,
              "y": 12,
              "width": 5,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-12"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 19,
              "y": 15,
              "width": 5,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-10"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 0,
              "y": 18,
              "width": 9,
              "height": 6,
              "element": {
                "kind": "ElementReference",
                "name": "panel-8"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 9,
              "y": 18,
              "width": 10,
              "height": 6,
              "element": {
                "kind": "ElementReference",
                "name": "panel-14"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 19,
              "y": 18,
              "width": 5,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-9"
              }
            }
          },
          {
            "kind": "GridLayoutItem",
            "spec": {
              "x": 19,
              "y": 21,
              "width": 5,
              "height": 3,
              "element": {
                "kind": "ElementReference",
                "name": "panel-16"
              }
            }
          }
        ]
      }
    },
    "links": [],
    "liveNow": true,
    "preload": false,
    "tags": [],
    "timeSettings": {
      "timezone": "browser",
      "from": "now/d+1d",
      "to": "now/d+1d",
      "autoRefresh": "30s",
      "autoRefreshIntervals": [
        "30s",
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ],
      "hideTimepicker": false,
      "fiscalYearStartMonth": 0
    },
    "title": "Balkonkraftwerk",
    "variables": [],
    "preferences": {
      "layout": {
        "kind": "GridLayout",
        "spec": {
          "items": []
        }
      }
    }
  }
}