From 970fd5a9ebcaa96b375e5966ec75510d945b863b Mon Sep 17 00:00:00 2001 From: "Jason A. Cox" Date: Mon, 21 Feb 2022 17:12:52 -0800 Subject: [PATCH] Add Powerwall+ section for grouping graphs --- dashboard.json | 303 ++++++++++++++++++++++++++----------------------- 1 file changed, 159 insertions(+), 144 deletions(-) diff --git a/dashboard.json b/dashboard.json index 44f1d488..5719ed5a 100644 --- a/dashboard.json +++ b/dashboard.json @@ -2403,6 +2403,158 @@ "alignLevel": null } }, + { + "aliasColors": { + "Solar Energy": "yellow" + }, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 39 + }, + "hiddenSeries": false, + "id": 30, + "interval": "", + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Solar Energy Year", + "color": "#FADE2A" + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Solar Energy Year", + "groupBy": [ + { + "params": [ + "1d" + ], + "type": "time" + }, + { + "params": [ + "0" + ], + "type": "fill" + } + ], + "measurement": "http", + "orderByTime": "ASC", + "policy": "kwh", + "query": "SELECT sum(\"solar\") FROM \"kwh\".\"http\" WHERE (\"solar\" > 0) AND $timeFilter GROUP BY time(1d) fill(0) tz('America/Los_Angeles')", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "solar" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "solar", + "operator": ">", + "value": "0" + } + ], + "tz": "America/Los_Angeles" + } + ], + "thresholds": [], + "timeFrom": "12M", + "timeRegions": [], + "timeShift": null, + "title": "Solar Energy Year", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "kwatth", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 44 + }, + "id": 37, + "panels": [], + "title": "Powerwall+", + "type": "row" + }, { "aliasColors": { "Solar Energy": "yellow" @@ -2417,7 +2569,7 @@ "h": 5, "w": 8, "x": 0, - "y": 39 + "y": 45 }, "hiddenSeries": false, "id": 32, @@ -3097,7 +3249,7 @@ "h": 5, "w": 8, "x": 8, - "y": 39 + "y": 45 }, "hiddenSeries": false, "id": 33, @@ -3777,7 +3929,7 @@ "h": 5, "w": 8, "x": 16, - "y": 39 + "y": 45 }, "hiddenSeries": false, "id": 31, @@ -4465,7 +4617,7 @@ "h": 6, "w": 12, "x": 0, - "y": 44 + "y": 50 }, "hiddenSeries": false, "id": 34, @@ -4694,13 +4846,14 @@ "dashLength": 10, "dashes": false, "datasource": null, + "decimals": 1, "fill": 0, "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, - "y": 44 + "y": 50 }, "hiddenSeries": false, "id": 35, @@ -4993,144 +5146,6 @@ "align": false, "alignLevel": null } - }, - { - "aliasColors": { - "Solar Energy": "yellow" - }, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 50 - }, - "hiddenSeries": false, - "id": 30, - "interval": "", - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Solar Energy Year", - "color": "#FADE2A" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Solar Energy Year", - "groupBy": [ - { - "params": [ - "1d" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "measurement": "http", - "orderByTime": "ASC", - "policy": "kwh", - "query": "SELECT sum(\"solar\") FROM \"kwh\".\"http\" WHERE (\"solar\" > 0) AND $timeFilter GROUP BY time(1d) fill(0) tz('America/Los_Angeles')", - "rawQuery": false, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "solar" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" - } - ] - ], - "tags": [ - { - "key": "solar", - "operator": ">", - "value": "0" - } - ], - "tz": "America/Los_Angeles" - } - ], - "thresholds": [], - "timeFrom": "12M", - "timeRegions": [], - "timeShift": null, - "title": "Solar Energy Year", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "kwatth", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } } ], "refresh": "5m", @@ -5161,5 +5176,5 @@ "timezone": "browser", "title": "Powerwall", "uid": "RSDbqvRRz", - "version": 19 + "version": 20 }