{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 2,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 9,
      "panels": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "currencyEUR"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 6,
            "x": 0,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 10,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "title": "PV Daten",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "dark-yellow",
                    "value": null
                  }
                ]
              },
              "unit": "watt"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 2,
            "x": 6,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 12,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "previous"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Inverter.Input_Power",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"0_userdata.0.Huawei.Dongle.Total_input_power\" WHERE $timeFilter GROUP BY time(1d) fill(previous) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now-30m",
          "title": "PV Leistung",
          "type": "gauge"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "dark-yellow",
                    "value": null
                  }
                ]
              },
              "unit": "watt"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 2,
            "x": 8,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 41,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "previous"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Inverter.PV_SO",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"0_userdata.0.Huawei.Dongle.Total_input_power\" WHERE $timeFilter GROUP BY time(1d) fill(previous) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now-30m",
          "title": "PV SO",
          "type": "gauge"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "blue",
                    "value": null
                  }
                ]
              },
              "unit": "watt"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 2,
            "x": 10,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 19,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "previous"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Inverter.PV_NW",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now-30m",
          "title": "PV NO",
          "type": "gauge"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "dark-red",
                    "value": null
                  }
                ]
              },
              "unit": "watt"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 4,
            "w": 2,
            "x": 12,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 20,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "previous"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Dongle.Load_power",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now-30m",
          "title": "Hausverbrauch",
          "type": "gauge"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 5,
            "x": 14,
            "y": 1
          },
          "hideTimeOverride": true,
          "id": 16,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Hausverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Hausverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Selbstverbrauch / $Hausverbrauch * 100",
              "hide": false,
              "refId": "Autoarkie",
              "type": "math"
            }
          ],
          "title": "Haus",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "currencyEUR"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export Erlös"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 6,
            "x": 0,
            "y": 5
          },
          "hideTimeOverride": true,
          "id": 17,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") * $Strompreis_Import FROM \"0_userdata.0.Huawei.Meter.Energy_Export\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Eigenverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [],
                    "type": "cumulative_sum"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Import * $Strompreis_Import",
              "hide": false,
              "refId": "Import Kosten",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export",
              "hide": false,
              "refId": "Export Erlös",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Eigenverbrauch * $Strompreis_Import",
              "hide": false,
              "refId": "Eingespart",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Export * $Strompreis_Export \n+ $Eigenverbrauch* $Strompreis_Import \n- $Eigenverbrauch* $Strompreis_Export\n- $Import * $Strompreis_Import",
              "hide": false,
              "refId": "Gesamt",
              "type": "math"
            }
          ],
          "title": "Umsatz",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "yellow",
                    "value": null
                  }
                ]
              },
              "unit": "celsius"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Temperatur"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-red",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 2,
            "x": 6,
            "y": 5
          },
          "hideTimeOverride": true,
          "id": 18,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "Temperatur",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "previous"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Inverter.Internal_Temperature",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now-30m",
          "title": "Temp",
          "type": "gauge"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "smooth",
                "lineStyle": {
                  "fill": "solid"
                },
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "auto",
                "spanNulls": true,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "watt"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV Leistung"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.lineWidth",
                    "value": 2
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import / Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "SO PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "NW PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "super-light-blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Forecast SO"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-blue",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.lineStyle",
                    "value": {
                      "dash": [
                        10,
                        10
                      ],
                      "fill": "dash"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Forecast NW"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "super-light-blue",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "custom.lineStyle",
                    "value": {
                      "dash": [
                        10,
                        10
                      ],
                      "fill": "dash"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 24,
            "x": 0,
            "y": 9
          },
          "hideTimeOverride": false,
          "id": 2,
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull",
                "max"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "9.0.3",
          "targets": [
            {
              "alias": "PV Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "z26leiRVz"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "0_userdata.0.Huawei.Inverter.Input_Power",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Huawei.Inverter.Active_Power\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
              "rawQuery": false,
              "refId": "Total active Power",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import / Export",
              "datasource": {
                "type": "influxdb",
                "uid": "z26leiRVz"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Dongle.Grid_power",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "from(bucket: \"iobroker\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"0_userdata.0.Huawei.Meter.Active_Power\" or r[\"_measurement\"] == \"0_userdata.0.Huawei.Meter.Used_Power\" or r[\"_measurement\"] == \"0_userdata.0.Huawei.Inverter.Active_Power\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |> yield(name: \"mean\")",
              "refId": "Meter Power",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Hausverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Dongle.Load_power",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Hausverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "SO PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV_SO",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "SO PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "NW PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV_NW",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "NW PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Forecast SO",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "pvforecast.0.plants.so.power",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Forecast SO",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Forecast NW",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "pvforecast.0.plants.nw.power",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Forecast NW",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "title": "PV Übersicht",
          "transparent": true,
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "linear",
                "lineStyle": {
                  "fill": "solid"
                },
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "auto",
                "spanNulls": true,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "celsius"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "WR Temperatur "
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "WR Leistung"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "watt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "WR Temperatur "
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 24,
            "x": 0,
            "y": 25
          },
          "hideTimeOverride": true,
          "id": 40,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "WR Temperatur ",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.Internal_Temperature",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "alias": "WR Leistung",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.Input_Power",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "title": "Temperatur",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 0,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineInterpolation": "stepAfter",
                "lineStyle": {
                  "fill": "solid"
                },
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "auto",
                "spanNulls": true,
                "stacking": {
                  "group": "A",
                  "mode": "none"
                },
                "thresholdsStyle": {
                  "mode": "off"
                }
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "amp"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV1 W"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "watt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV2 W"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "watt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV7 W"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "watt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV8 W"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "watt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV1 V"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "volt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV2 V"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "volt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV7 V"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "volt"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV8 V"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "volt"
                  }
                ]
              },
              {
                "__systemRef": "hideSeriesFrom",
                "matcher": {
                  "id": "byNames",
                  "options": {
                    "mode": "exclude",
                    "names": [
                      "PV8 A",
                      "PV8 V",
                      "PV2 V",
                      "PV2 A",
                      "PV1 A",
                      "PV1 V",
                      "PV7 A",
                      "PV7 V"
                    ],
                    "prefix": "All except:",
                    "readOnly": true
                  }
                },
                "properties": [
                  {
                    "id": "custom.hideFrom",
                    "value": {
                      "legend": false,
                      "tooltip": false,
                      "viz": true
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 24,
            "x": 0,
            "y": 41
          },
          "hideTimeOverride": false,
          "id": 38,
          "links": [],
          "options": {
            "legend": {
              "calcs": [
                "lastNotNull"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "9.0.3",
          "targets": [
            {
              "alias": "PV1 A",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV1_Current",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Huawei.Inverter.PV1_Current\" WHERE $timeFilter AND \"Value\" < 10 GROUP BY time($__interval) fill(null)",
              "rawQuery": false,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "20"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV1 V",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV1_Voltage",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV2 A",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV2_Current",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "20"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV2 V",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV2_Voltage",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV7 A",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV7_Current",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "E",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "20"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV7 V",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV7_Voltage",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "F",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV8 A",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV8_Current",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "G",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "20"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV8 V",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.PV8_Voltage",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "H",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV1 W",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.PV1_W",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "J",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "10000"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV2 W",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.PV2_W",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "I",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "10000"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV7 W",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.PV7_W",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "K",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "10000"
                }
              ],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "PV8 W",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.PV8_W",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "L",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "value",
                  "operator": "<",
                  "value": "10000"
                }
              ],
              "tz": "Europe/Berlin"
            }
          ],
          "title": "PV Stringauswertung",
          "transparent": true,
          "type": "timeseries"
        }
      ],
      "title": "Übersicht",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 22,
      "panels": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "currencyEUR"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 7,
            "x": 0,
            "y": 2
          },
          "id": 30,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now/d",
          "title": "PV Daten",
          "transformations": [],
          "transparent": true,
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 6,
            "x": 7,
            "y": 2
          },
          "id": 34,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Hausverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Hausverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Selbstverbrauch / $Hausverbrauch * 100",
              "hide": false,
              "refId": "Autoarkie",
              "type": "math"
            }
          ],
          "timeFrom": "now/d",
          "title": "Haus",
          "transformations": [],
          "transparent": true,
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "currencyEUR"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export Erlös"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 7,
            "x": 13,
            "y": 2
          },
          "id": 35,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Import * $Strompreis_Import",
              "hide": false,
              "refId": "Import Kosten",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export",
              "hide": false,
              "refId": "Export Erlös",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Selbstverbrauch * $Strompreis_Import",
              "hide": false,
              "refId": "Eingespart",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Export * $Strompreis_Export \n+ $Selbstverbrauch* $Strompreis_Import \n- $Selbstverbrauch* $Strompreis_Export\n- $Import * $Strompreis_Import",
              "hide": false,
              "refId": "Gesamt",
              "type": "math"
            }
          ],
          "timeFrom": "now/d",
          "title": "Umsatz",
          "transformations": [],
          "transparent": true,
          "type": "stat"
        }
      ],
      "title": "Statistik Tag",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 2
      },
      "id": 24,
      "panels": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "PV"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "currencyEUR"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 7,
            "x": 0,
            "y": 59
          },
          "id": 42,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "sum"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            }
          ],
          "timeFrom": "now/w",
          "title": "PV Daten",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Eigenverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "green",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autarkie"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "dark-green",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 6,
            "x": 7,
            "y": 59
          },
          "id": 43,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "firstNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Hausverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Hausverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Selbstverbrauch / $Hausverbrauch * 100",
              "hide": false,
              "refId": "Autoarkie",
              "type": "math"
            }
          ],
          "timeFrom": "now/w",
          "title": "Haus",
          "transformations": [],
          "transparent": true,
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "currencyEUR"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export Erlös"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 4,
            "w": 7,
            "x": 13,
            "y": 59
          },
          "hideTimeOverride": false,
          "id": 44,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "sum"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "9.0.6",
          "targets": [
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "7d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Import * $Strompreis_Import",
              "hide": false,
              "refId": "Import Kosten",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export",
              "hide": false,
              "refId": "Export Erlös",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Selbstverbrauch * $Strompreis_Import",
              "hide": false,
              "refId": "Eingespart",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Export * $Strompreis_Export \n+ $Selbstverbrauch* $Strompreis_Import \n- $Selbstverbrauch* $Strompreis_Export\n- $Import * $Strompreis_Import",
              "hide": false,
              "refId": "Gesamt",
              "type": "math"
            }
          ],
          "timeFrom": "now/w",
          "title": "Umsatz",
          "transformations": [],
          "transparent": true,
          "type": "stat"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "fillOpacity": 80,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineWidth": 1,
                "scaleDistribution": {
                  "type": "linear"
                }
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "kwatth"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byType",
                  "options": "time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Autoarkie"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "purple",
                      "mode": "fixed"
                    }
                  },
                  {
                    "id": "unit",
                    "value": "percent"
                  },
                  {
                    "id": "custom.axisPlacement",
                    "value": "right"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Hausverbrauch"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "blue",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 12,
            "x": 0,
            "y": 63
          },
          "hideTimeOverride": true,
          "id": 31,
          "options": {
            "barRadius": 0,
            "barWidth": 0.97,
            "groupWidth": 0.7,
            "legend": {
              "calcs": [
                "sum"
              ],
              "displayMode": "list",
              "placement": "bottom"
            },
            "orientation": "auto",
            "showValue": "auto",
            "stacking": "none",
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "xTickLabelRotation": 0,
            "xTickLabelSpacing": 0
          },
          "pluginVersion": "9.0.3",
          "targets": [
            {
              "alias": "PV",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "PV",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Hausverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Hausverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "expression": "$Selbstverbrauch / $Hausverbrauch * 100",
              "hide": false,
              "refId": "Autoarkie",
              "type": "math"
            }
          ],
          "timeFrom": "now-1w/w",
          "title": "Haus",
          "transformations": [],
          "transparent": true,
          "type": "barchart"
        },
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "fillOpacity": 80,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineWidth": 1,
                "scaleDistribution": {
                  "type": "linear"
                }
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "currencyEUR"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export Erlös"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Verdient"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "orange",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Umsatz"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-orange",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 11,
            "x": 12,
            "y": 63
          },
          "hideTimeOverride": true,
          "id": 36,
          "options": {
            "barRadius": 0,
            "barWidth": 0.97,
            "groupWidth": 0.7,
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "orientation": "auto",
            "showValue": "auto",
            "stacking": "none",
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "xTickLabelRotation": 0,
            "xTickLabelSpacing": 0
          },
          "pluginVersion": "9.0.3",
          "targets": [
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Import * $Strompreis_Import",
              "hide": false,
              "refId": "Import Kosten",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export",
              "hide": false,
              "refId": "Export Erlös",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Selbstverbrauch * $Strompreis_Import",
              "hide": false,
              "refId": "Eingespart",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export \n+ $Selbstverbrauch * $Strompreis_Import \n- $Selbstverbrauch * $Strompreis_Export\n- $Import * $Strompreis_Import",
              "hide": false,
              "refId": "Umsatz",
              "type": "math",
              "upsampler": "fillna"
            }
          ],
          "timeFrom": "now-1w/w",
          "title": "Umsatz",
          "transformations": [],
          "transparent": true,
          "type": "barchart"
        }
      ],
      "title": "Statistik Woche",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 3
      },
      "id": 26,
      "panels": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "LM4fkWR4z"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "fillOpacity": 80,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "lineWidth": 1,
                "scaleDistribution": {
                  "type": "linear"
                }
              },
              "decimals": 2,
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "currencyEUR"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Import Kosten"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "red",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Export Erlös"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "yellow",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Time"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "time: dd DD.MM.YY"
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Verdient"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "orange",
                      "mode": "fixed"
                    }
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Umsatz"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-orange",
                      "mode": "fixed"
                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 16,
            "w": 11,
            "x": 12,
            "y": 60
          },
          "hideTimeOverride": true,
          "id": 39,
          "options": {
            "barRadius": 0,
            "barWidth": 0.97,
            "groupWidth": 0.7,
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom"
            },
            "orientation": "auto",
            "showValue": "auto",
            "stacking": "none",
            "tooltip": {
              "mode": "single",
              "sort": "none"
            },
            "xTickLabelRotation": 0,
            "xTickLabelSpacing": 0
          },
          "pluginVersion": "9.0.3",
          "targets": [
            {
              "alias": "Export",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Export",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Export",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Import",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_Import",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "Import",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "alias": "Eigenverbrauch",
              "datasource": {
                "type": "influxdb",
                "uid": "LM4fkWR4z"
              },
              "groupBy": [
                {
                  "params": [
                    "1d"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": true,
              "measurement": "0_userdata.0.Huawei.Meter.Energy_self_consumed",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT spread(\"value\") FROM \"0_userdata.0.Huawei.Meter.Energy_self_consumed\" WHERE $timeFilter GROUP BY time(1d) fill(null) tz('Europe/Berlin')",
              "rawQuery": false,
              "refId": "Selbstverbrauch",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  }
                ]
              ],
              "tags": [],
              "tz": "Europe/Berlin"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Import * $Strompreis_Import",
              "hide": false,
              "refId": "Import Kosten",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export",
              "hide": false,
              "refId": "Export Erlös",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Selbstverbrauch * $Strompreis_Import",
              "hide": false,
              "refId": "Eingespart",
              "type": "math",
              "upsampler": "fillna"
            },
            {
              "conditions": [
                {
                  "evaluator": {
                    "params": [
                      0,
                      0
                    ],
                    "type": "gt"
                  },
                  "operator": {
                    "type": "and"
                  },
                  "query": {
                    "params": []
                  },
                  "reducer": {
                    "params": [],
                    "type": "avg"
                  },
                  "type": "query"
                }
              ],
              "datasource": {
                "name": "Expression",
                "type": "__expr__",
                "uid": "__expr__"
              },
              "downsampler": "mean",
              "expression": "$Export * $Strompreis_Export \n+ $Selbstverbrauch * $Strompreis_Import \n- $Selbstverbrauch * $Strompreis_Export\n- $Import * $Strompreis_Import",
              "hide": false,
              "refId": "Umsatz",
              "type": "math",
              "upsampler": "fillna"
            }
          ],
          "timeFrom": "now-1w/w",
          "title": "Kosten",
          "transformations": [],
          "transparent": true,
          "type": "barchart"
        }
      ],
      "title": "Statistik Monat",
      "type": "row"
    },
    {
      "collapsed": true,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 4
      },
      "id": 28,
      "panels": [],
      "title": "Statistik Jahr",
      "type": "row"
    }
  ],
  "refresh": false,
  "schemaVersion": 36,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "hide": 2,
        "name": "Strompreis_Import",
        "query": "0.31",
        "skipUrlSync": false,
        "type": "constant"
      },
      {
        "hide": 2,
        "name": "Strompreis_Export",
        "query": "0.0728",
        "skipUrlSync": false,
        "type": "constant"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "nowDelay": ""
  },
  "timezone": "",
  "title": "PV Übersicht",
  "uid": "Yw_i3mgVz",
  "version": 123,
  "weekStart": "monday"
}