{
  "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"
      }
    ]
  },
  "description": "",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 9,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "panels": [],
      "title": "Daily Summary",
      "type": "row"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Consumption"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Consumption: Charging Car"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Solar Generation"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "hidden"
              },
              {
                "id": "custom.spanNulls",
                "value": true
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "degree"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "From Battery"
            },
            "properties": [
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Solar Generation"
            },
            "properties": [
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.drawStyle",
                "value": "line"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "To Battery From Solar"
            },
            "properties": [
              {
                "id": "custom.stacking",
                "value": {
                  "group": "B",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Grid Export"
            },
            "properties": [
              {
                "id": "custom.stacking",
                "value": {
                  "group": "B",
                  "mode": "normal"
                }
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Grid Import sans Charging"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Consumption: Charging Car"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 35,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "alias(timeShift(keepLastValue(ha.sensor.solis_total_consumption_power.state, 100), '+10min'), 'Total Consumption - for testing')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "H",
          "target": "alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_import.state, 1000), 'Grid Import')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(solar.solis_datalogger.current_power_watts, 'Solar Generation')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "K",
          "target": "alias(transformNull(removeBelowValue(minSeries(#C, #F), 0), 0), 'To Battery From Solar')",
          "targetFull": "alias(transformNull(removeBelowValue(minSeries(alias(solar.solis_datalogger.current_power_watts, 'Solar Generation'), alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), 'Charged to Battery')), 0), 0), 'To Battery From Solar')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(transformNull(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 0), 'Grid Export')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(ha.sun.sun.elevation, 'Sun')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "F",
          "target": "alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), 'Charged to Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "G",
          "target": "alias(transformNull(scale(removeAboveValue(keepLastValue(ha.sensor.solis_battery_power.state, 100), 0), -1), 0), 'From Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "J",
          "target": "alias(transformNull(removeAboveValue(scale(sumSeries(#H, scale(#F, -1)), -1), 0), 0), 'Grid Import sans Charging')",
          "targetFull": "alias(transformNull(removeAboveValue(scale(sumSeries(alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_import.state, 1000), 'Grid Import'), scale(alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), 'Charged to Battery'), -1)), -1), 0), 0), 'Grid Import sans Charging')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "B",
          "target": "alias(scale(transformNull(keepLastValue(ha.sensor.myenergi_zappi_20278784_internal_load_ct1.state, 100), 0), -1), 'Consumption: Charging Car')",
          "textEditor": true
        }
      ],
      "title": "Summary",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-green",
            "mode": "shades",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "dashed"
            }
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 100
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 16,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refId": "A",
          "target": "keepLastValue(ha.sensor.solis_remaining_battery_capacity.state, 10)"
        }
      ],
      "title": "Battery Charge",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Consumption"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Consumption: Charging Car"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Solar Generation"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "hidden"
              },
              {
                "id": "custom.spanNulls",
                "value": true
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "degree"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 16,
        "w": 24,
        "x": 0,
        "y": 18
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "alias(keepLastValue(ha.sensor.solis_total_consumption_power.state, 100), 'Total Consumption')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(transformNull(keepLastValue(ha.sensor.myenergi_zappi_20278784_internal_load_ct1.state, 100), 0), 'Consumption: Charging Car')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "H",
          "target": "alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_import.state, 1000), 'Grid Import')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(solar.solis_datalogger.current_power_watts, 'Solar Generation')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(scale(transformNull(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 0), -1), 'Grid Export')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(ha.sun.sun.elevation, 'Sun')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(transformNull(scale(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), -1), 0), 'Charged to Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "G",
          "target": "alias(transformNull(removeBelowValue(scale(keepLastValue(ha.sensor.solis_battery_power.state, 100), -1), 0), 0), 'From Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "I",
          "target": "alias(transformNull(removeBelowValue(sumSeries(#C, scale(#D, -1), #F), 0), 0), 'Solar Energy Used Directly')",
          "targetFull": "alias(transformNull(removeBelowValue(sumSeries(alias(solar.solis_datalogger.current_power_watts, 'Solar Generation'), scale(alias(scale(transformNull(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 0), -1), 'Grid Export'), -1), alias(transformNull(scale(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), -1), 0), 'Charged to Battery')), 0), 0), 'Solar Energy Used Directly')",
          "textEditor": true
        }
      ],
      "title": "Summary",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Solar Generation"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "hidden"
              },
              {
                "id": "custom.spanNulls",
                "value": true
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "degree"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 34
      },
      "id": 24,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(solar.solis_datalogger.current_power_watts, 'Solar Generation')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 'Energy Exported')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(ha.sun.sun.elevation, 'Sun')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), 'Charged to Battery')",
          "textEditor": true
        }
      ],
      "title": "Generation",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Energy From Battery"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 40
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "D",
          "target": "alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.myenergi_harvi_13571771_power_ct_grid.state, 1000), 0), 0), 'Power From Grid')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "C",
          "target": "alias(scale(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), -1), 'Charged to Battery')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "G",
          "target": "alias(removeBelowValue(sumSeries(#D, #C), 0), 'Power From Grid With No Battery Charging')",
          "targetFull": "alias(removeBelowValue(sumSeries(alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.myenergi_harvi_13571771_power_ct_grid.state, 1000), 0), 0), 'Power From Grid'), alias(scale(transformNull(removeBelowValue(keepLastValue(ha.sensor.solis_battery_power.state, 1000), 0), 0), -1), 'Charged to Battery')), 0), 'Power From Grid With No Battery Charging')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(transformNull(keepLastValue(removeBelowValue(scale(ha.sensor.solis_battery_power.state, -1), 0), 1000), 0), 'Energy From Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "A",
          "target": "alias(keepLastValue(ha.sensor.myenergi_zappi_20278784_internal_load_ct1.state, 1000), 'Car Charger')",
          "textEditor": false
        }
      ],
      "title": "Consumption",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "hidden"
              },
              {
                "id": "custom.spanNulls",
                "value": true
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "degree"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Consumption Power"
            },
            "properties": [
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "custom.fillOpacity",
                "value": 50
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Energy From Battery"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 46
      },
      "id": 34,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(keepLastValue(ha.sensor.solis_total_consumption_power.state, 100), 'Consumption Power')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(ha.sun.sun.elevation, 'Sun')",
          "textEditor": false
        }
      ],
      "title": "Consumption Power (from Solis Inverter)",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 52
      },
      "id": 11,
      "panels": [],
      "title": "Detail Metrics",
      "type": "row"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Projected"
            },
            "properties": [
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-red",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 53
      },
      "id": 17,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "solar.solis_datalogger.current_power_watts",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(scale(ha.sensor.energy_current_hour.state, 1000), 'Projected')",
          "textEditor": true
        }
      ],
      "title": "Solar Power Generated",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-GrYlRd",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 53
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refId": "A",
          "target": "ha.sensor.solis_total_consumption_power.state"
        }
      ],
      "title": "Total Power Consumption",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-GrYlRd",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 61
      },
      "id": 4,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refId": "A",
          "target": "consolidateBy(nonNegativeDerivative(scale(keepLastValue(ha.sensor.solis_daily_energy_charged.state, 1000), 1000)), 'sum')",
          "textEditor": false
        }
      ],
      "title": "To Battery",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-GrYlRd",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 61
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refId": "A",
          "target": "ha.sensor.solis_ac_output_total_power.state",
          "textEditor": true
        }
      ],
      "title": "Solar Power Used By Home",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 69
      },
      "id": 9,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "consolidateBy(nonNegativeDerivative(scale(keepLastValue(ha.sensor.solis_daily_energy_discharged.state, 1000), 1000)), 'sum')",
          "textEditor": false
        }
      ],
      "title": "From Battery",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-GrYlRd",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "axisSoftMin": -2,
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 22,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "watt"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Export"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "mode": "continuous-RdYlGr"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 69
      },
      "id": 7,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(transformNull(removeBelowValue(keepLastValue(ha.sensor.myenergi_harvi_13571771_grid_ct1.state, 1000), 0), 0), 'Import')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(transformNull(removeAboveValue(keepLastValue(ha.sensor.myenergi_harvi_13571771_grid_ct1.state, 1000), 0), 0), 'Export')"
        }
      ],
      "title": "Power From/To Grid (negative means exporting)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "volt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 77
      },
      "id": 12,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "aliasByNode(transformNull(keepLastValue(ha.sensor.solis*dc_voltage*.state, 100), 0), 2)"
        }
      ],
      "title": "Panel DC Voltage",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "celsius"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 77
      },
      "id": 13,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "ha.sensor.solis_temperature.state"
        }
      ],
      "title": "Inverter Temperature",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "axisSoftMax": 100,
            "axisSoftMin": 0,
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 85
      },
      "id": 19,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "ha.sensor.openweathermap_cloud_coverage.state"
        }
      ],
      "title": "Cloud Cover",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "kwatt"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 85
      },
      "id": 15,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "ha.sensor.energy_current_hour.state",
          "textEditor": true
        }
      ],
      "title": "Forecast.Solar Estimated Production",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "axisSoftMax": 100,
            "axisSoftMin": 0,
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 93
      },
      "id": 29,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "ha.sensor.myenergi_harvi_13571771_power_ct_grid.state"
        }
      ],
      "title": "Data from Zappi",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "degree"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 93
      },
      "id": 18,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "refCount": 0,
          "refId": "A",
          "target": "ha.sun.sun.elevation"
        }
      ],
      "title": "Sun Elevation vs. Horizon",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 101
      },
      "id": 30,
      "panels": [],
      "title": "Row title",
      "type": "row"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "000000001"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic",
            "seriesBy": "last"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 11,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green"
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "currencyEUR"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Consumption"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Consumption: Charging Car"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Solar Generation"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Sun"
            },
            "properties": [
              {
                "id": "custom.axisPlacement",
                "value": "hidden"
              },
              {
                "id": "custom.spanNulls",
                "value": true
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 0
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "degree"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 16,
        "w": 24,
        "x": 0,
        "y": 102
      },
      "id": 32,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "H",
          "target": "alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_import.state, 1000), 'Grid Import')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": -1,
          "refId": "C",
          "target": "alias(solar.solis_datalogger.current_power_watts, 'Solar Generation')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": -1,
          "refId": "D",
          "target": "alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 'Grid Export')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": -1,
          "refId": "G",
          "target": "alias(transformNull(removeAboveValue(scale(keepLastValue(ha.sensor.solis_battery_power.state, 100), -1), 0), 0), 'To Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "alias(transformNull(removeBelowValue(scale(keepLastValue(ha.sensor.solis_battery_power.state, 100), -1), 0), 0), 'From Battery')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "B",
          "target": "alias(transformNull(removeBelowValue(sumSeries(#C, scale(#D, -1), #G), 0), 0), 'Solar Energy Used Directly')",
          "targetFull": "alias(transformNull(removeBelowValue(sumSeries(alias(solar.solis_datalogger.current_power_watts, 'Solar Generation'), scale(alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 'Grid Export'), -1), alias(transformNull(removeAboveValue(scale(keepLastValue(ha.sensor.solis_battery_power.state, 100), -1), 0), 0), 'To Battery')), 0), 0), 'Solar Energy Used Directly')",
          "textEditor": true
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "E",
          "target": "scale(keepLastValue(ha.sensor.current_grid_price.state, 10000), 0.000001)"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(multiplySeries(#H, #E), 'Grid Import Cost')",
          "targetFull": "alias(multiplySeries(alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_import.state, 1000), 'Grid Import'), scale(keepLastValue(ha.sensor.current_grid_price.state, 10000), 0.000001)), 'Grid Import Cost')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": false,
          "refCount": 0,
          "refId": "I",
          "target": "alias(sumSeries(multiplySeries(#B, #E), #J), 'Money saved')",
          "targetFull": "alias(sumSeries(multiplySeries(alias(transformNull(removeBelowValue(sumSeries(alias(solar.solis_datalogger.current_power_watts, 'Solar Generation'), scale(alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 'Grid Export'), -1), alias(transformNull(removeAboveValue(scale(keepLastValue(ha.sensor.solis_battery_power.state, 100), -1), 0), 0), 'To Battery')), 0), 0), 'Solar Energy Used Directly'), scale(keepLastValue(ha.sensor.current_grid_price.state, 10000), 0.000001)), alias(scale(#D, 0.000024), 'Feed-In Tarriff')), 'Money saved')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "000000001"
          },
          "hide": true,
          "refCount": 0,
          "refId": "J",
          "target": "alias(scale(#D, 0.000024), 'Feed-In Tarriff')",
          "targetFull": "alias(scale(alias(keepLastValue(ha.sensor.myenergi_hub_20278784_power_export.state, 1000), 'Grid Export'), 0.000024), 'Feed-In Tarriff')",
          "textEditor": true
        }
      ],
      "title": "Money Spent/Saved",
      "type": "timeseries"
    }
  ],
  "revision": 1,
  "schemaVersion": 39,
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "2024-04-20T23:00:00.000Z",
    "to": "2024-04-21T23:00:00.000Z"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Solar",
  "uid": "0g5J_iigz",
  "version": 143,
  "weekStart": ""
}