From 6f4ce5da6c135a141092aef567c3ad45ef79d7c4 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz Date: Thu, 31 Oct 2024 13:25:46 +0100 Subject: [PATCH] Grafana 11.3.0 --- grafana/Dockerfile | 6 +- grafana/dashboards/battery-health.json | 151 ++++++---- grafana/dashboards/charge-level.json | 57 +--- grafana/dashboards/charges.json | 127 ++------- grafana/dashboards/charging-stats.json | 231 ++++++++-------- grafana/dashboards/drive-stats.json | 91 ++---- grafana/dashboards/drives.json | 152 +++-------- grafana/dashboards/efficiency.json | 96 ++----- .../dashboards/internal/charge-details.json | 157 ++++++----- .../dashboards/internal/drive-details.json | 161 ++++++----- grafana/dashboards/locations.json | 170 ++++++------ grafana/dashboards/mileage.json | 58 +--- grafana/dashboards/overview.json | 94 ++----- grafana/dashboards/projected-range.json | 75 +---- grafana/dashboards/reports/dutch-tax.json | 77 +----- grafana/dashboards/states.json | 99 +++---- grafana/dashboards/statistics.json | 82 ++---- grafana/dashboards/timeline.json | 37 +-- grafana/dashboards/trip.json | 258 +++++++++--------- grafana/dashboards/updates.json | 175 ++---------- grafana/dashboards/vampire-drain.json | 62 +---- grafana/dashboards/visited.json | 107 ++++---- 22 files changed, 962 insertions(+), 1561 deletions(-) diff --git a/grafana/Dockerfile b/grafana/Dockerfile index a4d0a79542..c416d90fbb 100644 --- a/grafana/Dockerfile +++ b/grafana/Dockerfile @@ -1,6 +1,6 @@ # Ensure selecting a tag that is available for arm/v7, arm64, and amd64 # https://hub.docker.com/r/grafana/grafana/tags -FROM grafana/grafana:11.0.6-security-01 +FROM grafana/grafana:11.3.0 ENV GF_ANALYTICS_REPORTING_ENABLED=false \ GF_AUTH_ANONYMOUS_ENABLED=false \ @@ -15,6 +15,10 @@ ENV GF_ANALYTICS_REPORTING_ENABLED=false \ DATABASE_PORT=5432 \ DATABASE_SSL_MODE=disable +# Scenes-powered Grafana dashboards disabled via feature toggle +# until grafana/grafana #95209 is resolved +ENV GF_FEATURE_TOGGLES_DASHBOARD_SCENE=false + USER grafana COPY logo.svg /usr/share/grafana/public/img/grafana_icon.svg diff --git a/grafana/dashboards/battery-health.json b/grafana/dashboards/battery-health.json index 25af196210..236740ad25 100644 --- a/grafana/dashboards/battery-health.json +++ b/grafana/dashboards/battery-health.json @@ -17,7 +17,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -90,7 +90,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "datasource": { @@ -150,7 +149,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -298,7 +297,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -402,7 +401,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -658,7 +657,7 @@ "sort": "none" } }, - "pluginVersion": "8.5.6", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -774,7 +773,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -857,6 +856,12 @@ "id": 12, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, @@ -873,7 +878,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -999,7 +1004,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1229,6 +1234,12 @@ "id": 25, "options": { "displayMode": "lcd", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, @@ -1246,7 +1257,7 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1441,7 +1452,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1524,6 +1535,12 @@ "id": 27, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, @@ -1541,7 +1558,7 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1631,14 +1648,17 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "fillOpacity": 50, "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "pointShape": "circle", "pointSize": { "fixed": 6 }, + "pointStrokeWidth": 1, "scaleDistribution": { "type": "linear" }, @@ -1675,6 +1695,33 @@ "value": "lines" } ] + }, + { + "matcher": { + "id": "byName", + "options": "kWh" + }, + "properties": [ + { + "id": "custom.pointSize.fixed", + "value": 5 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "M-kWh" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] } ] }, @@ -1692,37 +1739,62 @@ "placement": "bottom", "showLegend": false }, + "mapping": "manual", "series": [ { - "name": "Odometer", - "pointColor": { - "field": "kWh" + "color": { + "matcher": { + "id": "byName", + "options": "kWh" + } }, - "pointSize": { - "fixed": 5, - "max": 100, - "min": 1 + "frame": { + "matcher": { + "id": "byIndex", + "options": 0 + } + }, + "x": { + "matcher": { + "id": "byName", + "options": "Odometer" + } }, - "x": "Odometer", - "y": "kWh" + "y": { + "matcher": { + "id": "byName", + "options": "kWh" + } + } }, { - "name": "Median Odometer", - "pointColor": { - "fixed": "dark-red" + "frame": { + "matcher": { + "id": "byIndex", + "options": 1 + } }, - "x": "M-Odometer", - "y": "M-kWh" + "x": { + "matcher": { + "id": "byName", + "options": "M-Odometer" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "M-kWh" + } + } } ], - "seriesMapping": "manual", "tooltip": { "maxHeight": 600, "mode": "single", "sort": "none" } }, - "pluginVersion": "8.5.6", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1832,7 +1904,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1856,10 +1928,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1870,7 +1939,6 @@ "definition": "SELECT unit_of_length FROM settings LIMIT 1", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -1879,10 +1947,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1912,7 +1977,6 @@ "definition": "SELECT base_url FROM settings LIMIT 1", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -1921,10 +1985,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1947,7 +2008,6 @@ }, { "current": { - "selected": false, "text": "0", "value": "0" }, @@ -1968,7 +2028,6 @@ }, { "current": { - "selected": false, "text": "0", "value": "0" }, @@ -1999,6 +2058,6 @@ "timezone": "browser", "title": "Battery Health", "uid": "jchmRiqUfXgTM", - "version": 11, + "version": 17, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/charge-level.json b/grafana/dashboards/charge-level.json index 78edf73920..bb7fe159b1 100644 --- a/grafana/dashboards/charge-level.json +++ b/grafana/dashboards/charge-level.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -62,11 +62,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -96,6 +94,7 @@ "axisLabel": "Charge Level", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -163,7 +162,7 @@ "sort": "none" } }, - "pluginVersion": "8.5.4", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -311,7 +310,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -335,10 +334,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -349,7 +345,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -358,14 +353,11 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { - "selected": true, + "selected": false, "text": "2h", "value": "7200" }, @@ -393,13 +385,12 @@ } ], "query": "1h : 3600, 2h : 7200, 4h : 14400", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "current": { - "selected": true, + "selected": false, "text": "yes", "value": "1" }, @@ -421,13 +412,12 @@ } ], "query": "no : 0, yes : 1", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "current": { - "selected": true, + "selected": false, "text": "1/6 of interval", "value": "6" }, @@ -450,7 +440,6 @@ } ], "query": "1/6 of interval : 6, 1/12 of interval : 12", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, @@ -479,34 +468,10 @@ "from": "now-6M", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Charge Level", "uid": "WopVO_mgz", - "version": 22, + "version": 27, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/charges.json b/grafana/dashboards/charges.json index d68cd2a66a..89f1f5f710 100644 --- a/grafana/dashboards/charges.json +++ b/grafana/dashboards/charges.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.6+security-01" + "version": "11.3.0" }, { "type": "datasource", @@ -75,7 +75,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, @@ -150,6 +149,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -161,7 +161,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -247,6 +247,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -258,7 +259,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -345,6 +346,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -356,7 +358,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -444,6 +446,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -455,7 +458,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1169,7 +1172,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1237,10 +1240,6 @@ "type": "row" }, { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, "gridPos": { "h": 2, "w": 24, @@ -1257,41 +1256,7 @@ "content": "From here you can check if you have \nincomplete data of **Charges** (charges without ending date)\nIf so, you may follow the official \nguide by Manually fixing data", "mode": "markdown" }, - "pluginVersion": "11.0.6+security-01", - "targets": [ - { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, - "format": "time_series", - "group": [], - "metricColumn": "none", - "rawQuery": false, - "rawSql": "SELECT\n start_date AS \"time\",\n start_km\nFROM drives\nWHERE\n $__timeFilter(start_date)\nORDER BY 1", - "refId": "A", - "select": [ - [ - { - "params": [ - "start_km" - ], - "type": "column" - } - ] - ], - "table": "drives", - "timeColumn": "start_date", - "timeColumnType": "timestamp", - "where": [ - { - "name": "$__timeFilter", - "params": [], - "type": "macro" - } - ] - } - ], + "pluginVersion": "11.3.0", "type": "text" }, { @@ -1346,7 +1311,7 @@ }, "showHeader": true }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1386,7 +1351,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1410,10 +1375,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1424,7 +1386,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -1433,10 +1394,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1447,7 +1405,6 @@ "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "temp_unit", "options": [], @@ -1456,10 +1413,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1478,10 +1432,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1500,10 +1451,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "allValue": "-1", @@ -1524,14 +1472,10 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -1551,7 +1495,6 @@ "type": "textbox" }, { - "allValue": "", "current": { "selected": true, "text": [ @@ -1584,13 +1527,11 @@ } ], "query": "AC, DC", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -1610,7 +1551,6 @@ }, { "current": { - "selected": true, "text": "0", "value": "0" }, @@ -1634,35 +1574,10 @@ "from": "now-3M", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Charges", "uid": "TSmNYvRRk", - "version": 7, + "version": 12, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/charging-stats.json b/grafana/dashboards/charging-stats.json index 433e50edbc..6f3ba49ba0 100644 --- a/grafana/dashboards/charging-stats.json +++ b/grafana/dashboards/charging-stats.json @@ -11,7 +11,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -99,11 +99,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -167,7 +165,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -256,7 +254,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -346,7 +344,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -436,7 +434,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -520,7 +518,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -624,7 +622,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -700,7 +698,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -794,7 +792,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -841,16 +839,6 @@ "type": "stat" }, { - "cards": {}, - "color": { - "cardColor": "#b4ff00", - "colorScale": "linear", - "colorScheme": "interpolateGreens", - "exponent": 0.5, - "min": 0, - "mode": "opacity" - }, - "dataFormat": "timeseries", "datasource": { "type": "grafana-postgresql-datasource", "uid": "TeslaMate" @@ -876,13 +864,7 @@ "x": 0, "y": 4 }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, "id": 15, - "legend": { - "show": false - }, "options": { "calculate": true, "calculation": { @@ -929,8 +911,7 @@ "unit": "short" } }, - "pluginVersion": "11.1.0", - "reverseYBuckets": false, + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -967,22 +948,7 @@ ], "timeFrom": "6M", "title": "Charge Heatmap", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "yAxis": { - "format": "short", - "logBase": 1, - "max": "100", - "show": true - }, - "yBucketBound": "auto", - "yBucketSize": 10.00001 + "type": "heatmap" }, { "datasource": { @@ -1001,6 +967,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 35, "gradientMode": "none", @@ -1102,7 +1069,7 @@ "sort": "desc" } }, - "pluginVersion": "8.5.4", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1292,6 +1259,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1472,7 +1440,7 @@ "zoom": 15 } }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1618,6 +1586,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1672,14 +1641,17 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "fillOpacity": 50, "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "pointShape": "circle", "pointSize": { "fixed": 3 }, + "pointStrokeWidth": 1, "scaleDistribution": { "type": "linear" }, @@ -1713,11 +1685,23 @@ "value": [ { "title": "Show charge details", - "url": "d/BHhxFeZRz?from=${__data.fields.start_date.numeric}&to=${__data.fields.end_date.numeric}&var-car_id=${car_id}&var-charging_process_id=${__data.fields.charging_process_id.numeric}" + "url": "d/BHhxFeZRz/charge-details?from=${__data.fields.start_date.numeric}&to=${__data.fields.end_date.numeric}&var-car_id=${car_id}&var-charging_process_id=${__data.fields.charging_process_id.numeric}" } ] } ] + }, + { + "matcher": { + "id": "byName", + "options": "B - Avg Power [kW]" + }, + "properties": [ + { + "id": "custom.pointSize.fixed", + "value": 15 + } + ] } ] }, @@ -1729,47 +1713,86 @@ }, "id": 29, "options": { - "dims": { - "exclude": [ - "charging_process_id" - ], - "frame": 0 - }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, + "mapping": "manual", "series": [ { - "pointColor": { - "field": "Power [kW]" + "color": { + "matcher": { + "id": "byName", + "options": "Power [kW]" + } + }, + "frame": { + "matcher": { + "id": "byIndex", + "options": 0 + } }, - "x": "SOC [%]", - "y": "Power [kW]" + "x": { + "matcher": { + "id": "byName", + "options": "SOC [%]" + } + }, + "y": { + "exclude": { + "id": "byNames", + "options": [ + "charging_process_id" + ] + }, + "matcher": { + "id": "byName", + "options": "Power [kW]" + } + } }, { - "pointColor": { - "field": "B - Avg Power [kW]" + "color": { + "matcher": { + "id": "byName", + "options": "B - Avg Power [kW]" + } }, - "pointSize": { - "fixed": 15, - "max": 100, - "min": 1 + "frame": { + "matcher": { + "id": "byIndex", + "options": 1 + } + }, + "x": { + "matcher": { + "id": "byName", + "options": "B - SOC [%]" + } }, - "x": "B - SOC [%]", - "y": "B - Avg Power [kW]" + "y": { + "exclude": { + "id": "byNames", + "options": [ + "charging_process_id" + ] + }, + "matcher": { + "id": "byName", + "options": "B - Avg Power [kW]" + } + } } ], - "seriesMapping": "manual", "tooltip": { "maxHeight": 600, "mode": "single", "sort": "none" } }, - "pluginVersion": "7.5.11", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1877,8 +1900,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -1958,7 +1980,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2069,8 +2091,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2100,8 +2121,7 @@ "mode": "absolute", "steps": [ { - "color": "red", - "value": null + "color": "red" }, { "color": "#EAB839", @@ -2171,7 +2191,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2226,8 +2246,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2290,7 +2309,7 @@ }, "showHeader": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2345,8 +2364,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2413,7 +2431,7 @@ }, "showHeader": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2452,8 +2470,8 @@ "type": "table" } ], - "refresh": false, - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -2477,10 +2495,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2491,7 +2506,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -2500,10 +2514,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2522,10 +2533,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -2533,35 +2541,10 @@ "from": "now-10y", "to": "now" }, - "timepicker": { - "hidden": false, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Charging Stats", "uid": "-pkIkhmRz", - "version": 11, + "version": 16, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/drive-stats.json b/grafana/dashboards/drive-stats.json index 5f61a1bb07..6743d0da17 100644 --- a/grafana/dashboards/drive-stats.json +++ b/grafana/dashboards/drive-stats.json @@ -17,7 +17,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.1" + "version": "11.3.0" }, { "type": "datasource", @@ -124,7 +124,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -256,7 +256,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -363,7 +363,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -503,7 +503,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -636,7 +636,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -702,7 +702,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -790,6 +790,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" @@ -801,7 +802,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -931,6 +932,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" @@ -942,7 +944,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1073,6 +1075,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" @@ -1084,7 +1087,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1239,7 +1242,7 @@ "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1384,7 +1387,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1517,7 +1520,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1604,6 +1607,12 @@ "id": 24, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, @@ -1620,7 +1629,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1678,7 +1687,7 @@ } ], "refresh": false, - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1702,10 +1711,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1724,10 +1730,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1757,7 +1760,6 @@ "definition": "select preferred_range from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "preferred_range", "options": [], @@ -1766,10 +1768,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1780,7 +1779,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -1789,14 +1787,10 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -1840,35 +1834,10 @@ "from": "now-1y", "to": "now" }, - "timepicker": { - "hidden": false, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Drive Stats", "uid": "_7WkNSyWk", - "version": 14, + "version": 20, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/drives.json b/grafana/dashboards/drives.json index 996ce83168..5497fe8f4b 100644 --- a/grafana/dashboards/drives.json +++ b/grafana/dashboards/drives.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.1" + "version": "11.3.0" }, { "type": "datasource", @@ -76,7 +76,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, @@ -151,6 +150,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -162,7 +162,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -250,6 +250,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -261,7 +262,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -368,6 +369,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "sum" @@ -379,7 +381,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -488,6 +490,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [], "fields": "", @@ -497,7 +500,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -593,7 +596,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] } @@ -619,7 +623,7 @@ { "targetBlank": false, "title": "View drive details", - "url": "d/zm7wN6Zgz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-drive_id=${__data.fields.drive_id.numeric}" + "url": "d/zm7wN6Zgz/drive-details?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-drive_id=${__data.fields.drive_id.numeric}" } ] }, @@ -742,7 +746,8 @@ "mode": "absolute", "steps": [ { - "color": "super-light-green" + "color": "super-light-green", + "value": null }, { "color": "green", @@ -858,7 +863,8 @@ "mode": "absolute", "steps": [ { - "color": "super-light-blue" + "color": "super-light-blue", + "value": null }, { "color": "super-light-green", @@ -1078,7 +1084,8 @@ "mode": "absolute", "steps": [ { - "color": "super-light-blue" + "color": "super-light-blue", + "value": null }, { "color": "super-light-green", @@ -1404,7 +1411,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1473,10 +1480,6 @@ "type": "row" }, { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, "gridPos": { "h": 2, "w": 24, @@ -1493,41 +1496,7 @@ "content": "From here you can check if you have \nincomplete data of **Drives** (drives without ending date)\nIf so, you may follow the official \nguide by Manually fixing data", "mode": "markdown" }, - "pluginVersion": "11.0.1", - "targets": [ - { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, - "format": "time_series", - "group": [], - "metricColumn": "none", - "rawQuery": false, - "rawSql": "SELECT\n start_date AS \"time\",\n start_km\nFROM drives\nWHERE\n $__timeFilter(start_date)\nORDER BY 1", - "refId": "A", - "select": [ - [ - { - "params": [ - "start_km" - ], - "type": "column" - } - ] - ], - "table": "drives", - "timeColumn": "start_date", - "timeColumnType": "timestamp", - "where": [ - { - "name": "$__timeFilter", - "params": [], - "type": "macro" - } - ] - } - ], + "pluginVersion": "11.3.0", "type": "text" }, { @@ -1582,7 +1551,7 @@ }, "showHeader": true }, - "pluginVersion": "11.0.1", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1621,7 +1590,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1645,10 +1615,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "allValue": "-1", @@ -1674,7 +1641,6 @@ }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -1711,10 +1677,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1734,10 +1697,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1748,7 +1708,6 @@ "definition": "select preferred_range from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "preferred_range", "options": [], @@ -1757,10 +1716,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1771,7 +1727,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -1780,37 +1735,42 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { - "selected": false, "text": "0", "value": "0" }, "hide": 0, - "includeAll": false, "label": "Distance >=", "name": "min_dist", - "options": [], + "options": [ + { + "selected": true, + "text": "0", + "value": "0" + } + ], "query": "0", "skipUrlSync": false, "type": "textbox" }, { "current": { - "selected": false, "text": "0", "value": "0" }, "hide": 0, - "includeAll": false, "label": "Speed >=", "name": "min_speed", - "options": [], + "options": [ + { + "selected": true, + "text": "0", + "value": "0" + } + ], "query": "0", "skipUrlSync": false, "type": "textbox" @@ -1821,34 +1781,10 @@ "from": "now-3M", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Drives", "uid": "Y8upc6ZRk", - "version": 6, + "version": 11, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/efficiency.json b/grafana/dashboards/efficiency.json index 4289ce7fab..8a1016771f 100644 --- a/grafana/dashboards/efficiency.json +++ b/grafana/dashboards/efficiency.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -68,10 +68,6 @@ "panels": [ { "collapsed": false, - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, "gridPos": { "h": 1, "w": 24, @@ -81,15 +77,6 @@ "id": 10, "panels": [], "repeat": "car_id", - "targets": [ - { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, - "refId": "A" - } - ], "title": "$car_id", "type": "row" }, @@ -158,6 +145,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -169,7 +157,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -272,6 +260,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -283,7 +272,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -386,6 +375,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -397,7 +387,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -443,6 +433,7 @@ "fieldConfig": { "defaults": { "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -701,7 +692,7 @@ } ] }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -804,6 +795,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -815,7 +807,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -861,6 +853,7 @@ "fieldConfig": { "defaults": { "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -932,7 +925,7 @@ }, "showHeader": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -978,6 +971,7 @@ "fieldConfig": { "defaults": { "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -1049,7 +1043,7 @@ }, "showHeader": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1088,7 +1082,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1112,10 +1107,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1126,7 +1118,6 @@ "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "temp_unit", "options": [], @@ -1135,10 +1126,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1149,7 +1137,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -1158,10 +1145,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1180,10 +1164,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { @@ -1224,7 +1205,6 @@ } ], "query": "1, 5, 10, 25, 50", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, @@ -1237,7 +1217,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -1246,10 +1225,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -1257,36 +1233,12 @@ "from": "now-6h", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, "timepicker": { - "hidden": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] + "hidden": true }, "timezone": "", "title": "Efficiency", "uid": "fu4SiQgWz", - "version": 2, + "version": 5, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/internal/charge-details.json b/grafana/dashboards/internal/charge-details.json index c3fe5257ee..d4f79187d8 100644 --- a/grafana/dashboards/internal/charge-details.json +++ b/grafana/dashboards/internal/charge-details.json @@ -11,7 +11,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "10.4.0" + "version": "11.3.0" }, { "type": "datasource", @@ -43,9 +43,9 @@ { "builtIn": 1, "datasource": "-- Grafana --", + "definition": "TeslaMate|U2FsdGVkX1/cEWK+8cz7pjEKXtzJnDN7b21ZDXt1MGneFGPWTLqOPtxKmu02mJPLzi/f29I+NBHd3vi0FB8R4Xn0+GtobWDgk6VAVSBTdSNniOKO8i2WPlhRaOsl2+hG7gnZ7wrf1Th2nxR7f1uYCrbwOek0IzkfLzrkjh7gkr6inT6bbDuJqrmogZajLxmAMrQ6V+/vHxBRGiwjJhgiEeq3hM1q2h04JKkNiZ8RHbsF5Cd/xd8Q9u0JVrZzIrtnhM/SFlaApU7RtRMu8CSj1llTX7WEOj6VDZAMSf+XUAanWdk725kEPN9MNu89o2zEq5P3E3cju8IbbBdPzXLV3oVuzD6/tMnxFToIIV1E/BrpF7s2RtNa8+KJJ1PF8xgs6m+/KTD2hy+WsP0636AgObRAmYg7+qotGrgNvpNPdE0EgrB7WHYlV7R/1q66bcq6tCe51X1Un70k+zo+K6AK0o4B1H6IyMlEVuRH/Fz8QVl9aYu2ztd08RbuKJlYVKpkH+pxVETAO9MclYQ90tzE6TfwDZrQZzsAlMenr4s1ZB1OlFXjLjVjnddnUilzO76cqv4yI2THQEuyQ47nuVQ4gUbx02K59vMQhns3C01JOAYokOaSXe66Y7QYdMlk09Lf|aes-256-cbc", "enable": true, "hide": true, - "definition": "TeslaMate|U2FsdGVkX1/cEWK+8cz7pjEKXtzJnDN7b21ZDXt1MGneFGPWTLqOPtxKmu02mJPLzi/f29I+NBHd3vi0FB8R4Xn0+GtobWDgk6VAVSBTdSNniOKO8i2WPlhRaOsl2+hG7gnZ7wrf1Th2nxR7f1uYCrbwOek0IzkfLzrkjh7gkr6inT6bbDuJqrmogZajLxmAMrQ6V+/vHxBRGiwjJhgiEeq3hM1q2h04JKkNiZ8RHbsF5Cd/xd8Q9u0JVrZzIrtnhM/SFlaApU7RtRMu8CSj1llTX7WEOj6VDZAMSf+XUAanWdk725kEPN9MNu89o2zEq5P3E3cju8IbbBdPzXLV3oVuzD6/tMnxFToIIV1E/BrpF7s2RtNa8+KJJ1PF8xgs6m+/KTD2hy+WsP0636AgObRAmYg7+qotGrgNvpNPdE0EgrB7WHYlV7R/1q66bcq6tCe51X1Un70k+zo+K6AK0o4B1H6IyMlEVuRH/Fz8QVl9aYu2ztd08RbuKJlYVKpkH+pxVETAO9MclYQ90tzE6TfwDZrQZzsAlMenr4s1ZB1OlFXjLjVjnddnUilzO76cqv4yI2THQEuyQ47nuVQ4gUbx02K59vMQhns3C01JOAYokOaSXe66Y7QYdMlk09Lf|aes-256-cbc", "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { @@ -61,6 +61,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": null, "links": [ { "icon": "dashboard", @@ -80,7 +81,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "datasource": { @@ -101,6 +101,7 @@ "axisSoftMax": 100, "axisSoftMin": 0, "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -392,7 +393,7 @@ "sort": "none" } }, - "pluginVersion": "8.5.4", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -486,6 +487,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -497,7 +499,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -605,6 +607,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -616,7 +619,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -714,6 +717,7 @@ "graphMode": "area", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -725,7 +729,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -957,7 +961,7 @@ "zoom": 15 } }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1059,6 +1063,7 @@ "graphMode": "area", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1070,7 +1075,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1221,6 +1226,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1233,7 +1239,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1349,6 +1355,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1361,7 +1368,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1514,6 +1521,7 @@ "graphMode": "area", "justifyMode": "center", "orientation": "vertical", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1526,7 +1534,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "alias": "Real", @@ -1725,14 +1733,17 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "fillOpacity": 50, "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "pointShape": "circle", "pointSize": { "fixed": 5 }, + "pointStrokeWidth": 1, "scaleDistribution": { "type": "linear" }, @@ -1775,6 +1786,21 @@ "value": 1 } ] + }, + { + "matcher": { + "id": "byName", + "options": "avg Power [kW]" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] } ] }, @@ -1792,27 +1818,55 @@ "placement": "bottom", "showLegend": false }, + "mapping": "manual", "series": [ { - "pointColor": {}, - "x": "SOC [%]", - "y": "Power [kW]" + "frame": { + "matcher": { + "id": "byIndex", + "options": 0 + } + }, + "x": { + "matcher": { + "id": "byName", + "options": "SOC [%]" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "Power [kW]" + } + } }, { - "pointColor": { - "fixed": "blue" + "frame": { + "matcher": { + "id": "byIndex", + "options": 1 + } }, - "x": "avg SOC [%]", - "y": "avg Power [kW]" + "x": { + "matcher": { + "id": "byName", + "options": "avg SOC [%]" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "avg Power [kW]" + } + } } ], - "seriesMapping": "manual", "tooltip": { "mode": "single", "sort": "none" } }, - "pluginVersion": "7.5.11", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1902,22 +1956,21 @@ "type": "xychart" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [], "templating": { "list": [ { "current": { - "selected": false, "text": "NULL", "value": "NULL" }, "hide": 2, - "label": "", "name": "charging_process_id", "options": [ { - "selected": false, + "selected": true, "text": "NULL", "value": "NULL" } @@ -1935,7 +1988,6 @@ "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "temp_unit", "options": [], @@ -1944,10 +1996,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1967,10 +2016,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1989,10 +2035,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2011,10 +2054,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2033,10 +2073,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -2044,34 +2081,10 @@ "from": "now-12h", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Charge Details", "uid": "BHhxFeZRz", - "version": 3, + "version": 11, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/internal/drive-details.json b/grafana/dashboards/internal/drive-details.json index 6b2eebd874..ba503073ba 100644 --- a/grafana/dashboards/internal/drive-details.json +++ b/grafana/dashboards/internal/drive-details.json @@ -17,7 +17,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -90,7 +90,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "datasource": { @@ -109,6 +108,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "opacity", @@ -506,6 +506,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -617,6 +618,49 @@ "showZoom": true }, "layers": [ + { + "config": { + "showLegend": false, + "style": { + "color": { + "fixed": "transparent" + }, + "opacity": 0, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 3, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "location": { + "mode": "auto" + }, + "name": "Temp Fix Grafana Issue #89777", + "tooltip": false, + "type": "markers" + }, { "config": { "arrow": 0, @@ -658,7 +702,7 @@ "location": { "mode": "auto" }, - "name": "route", + "name": "Layer 1", "opacity": 1, "tooltip": true, "type": "route" @@ -675,7 +719,7 @@ "zoom": 15 } }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -788,6 +832,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "opacity", @@ -897,6 +942,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -951,6 +997,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "opacity", @@ -1168,6 +1215,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1222,6 +1270,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "opacity", @@ -1421,6 +1470,7 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1519,6 +1569,7 @@ "graphMode": "area", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1530,7 +1581,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1632,6 +1683,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1643,7 +1695,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1719,6 +1771,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1730,7 +1783,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1862,7 +1915,7 @@ "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, - "pluginVersion": "10.4.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1956,8 +2009,7 @@ "mode": "absolute", "steps": [ { - "color": "semi-dark-green", - "value": null + "color": "semi-dark-green" } ] }, @@ -2003,6 +2055,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -2014,7 +2067,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2067,8 +2120,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2087,6 +2139,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "vertical", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -2099,7 +2152,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2229,8 +2282,7 @@ "mode": "absolute", "steps": [ { - "color": "light-yellow", - "value": null + "color": "light-yellow" } ] }, @@ -2251,6 +2303,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -2262,7 +2315,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2316,8 +2369,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "yellow", @@ -2370,6 +2422,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -2381,7 +2434,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2455,8 +2508,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2500,6 +2552,7 @@ "graphMode": "area", "justifyMode": "center", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -2511,7 +2564,7 @@ "textMode": "value", "wideLayout": false }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2568,22 +2621,25 @@ "type": "stat" } ], - "schemaVersion": 39, + "schemaVersion": 40, "tags": [], "templating": { "list": [ { - "current": {}, + "current": { + "text": "1455", + "value": "1455" + }, "hide": 2, "name": "drive_id", "options": [ { - "selected": false, - "text": "NULL", - "value": "NULL" + "selected": true, + "text": "1455", + "value": "1455" } ], - "query": "", + "query": "1455", "skipUrlSync": false, "type": "textbox" }, @@ -2596,7 +2652,6 @@ "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "temp_unit", "options": [], @@ -2605,10 +2660,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2619,7 +2671,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -2628,10 +2679,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2639,22 +2687,19 @@ "type": "grafana-postgresql-datasource", "uid": "TeslaMate" }, - "definition": "SELECT\n id as __value,\n CASE WHEN COUNT(id) OVER (PARTITION BY name) > 1 AND name IS NOT NULL THEN CONCAT(name, ' - ', RIGHT(vin, 6)) ELSE COALESCE(name, RIGHT(vin, 6)) end as __text \nFROM cars\nORDER BY display_priority ASC, name ASC, vin ASC;", + "definition": "SELECT name AS __text, id AS __value FROM cars ORDER BY display_priority ASC, name ASC;", "hide": 0, "includeAll": false, "label": "Car", "multi": false, "name": "car_id", "options": [], - "query": "SELECT\n id as __value,\n CASE WHEN COUNT(id) OVER (PARTITION BY name) > 1 AND name IS NOT NULL THEN CONCAT(name, ' - ', RIGHT(vin, 6)) ELSE COALESCE(name, RIGHT(vin, 6)) end as __text \nFROM cars\nORDER BY display_priority ASC, name ASC, vin ASC;", + "query": "SELECT name AS __text, id AS __value FROM cars ORDER BY display_priority ASC, name ASC;", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2665,7 +2710,6 @@ "definition": "select case when unit_of_length = 'km' then 'm' when unit_of_length = 'mi' then 'ft' end from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "alternative_length_unit", "options": [], @@ -2674,10 +2718,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2696,10 +2737,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2710,7 +2748,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -2719,10 +2756,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2764,13 +2798,16 @@ } ] }, + "time": { + "from": "now-6h", + "to": "now" + }, "timepicker": { - "refresh_intervals": [], - "time_options": [] + "refresh_intervals": [] }, "timezone": "", "title": "Drive Details", "uid": "zm7wN6Zgz", - "version": 6, + "version": 12, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/locations.json b/grafana/dashboards/locations.json index b1050da443..49c1c47b19 100644 --- a/grafana/dashboards/locations.json +++ b/grafana/dashboards/locations.json @@ -11,7 +11,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -74,7 +74,6 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "datasource": { @@ -115,6 +114,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -126,9 +126,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -154,11 +158,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Total addresses", @@ -203,6 +203,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -214,9 +215,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -242,11 +247,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Cities", @@ -291,6 +292,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -302,9 +304,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -330,11 +336,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "States", @@ -379,6 +381,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -390,9 +393,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -418,11 +425,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Countries", @@ -466,6 +469,12 @@ "id": 10, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, @@ -482,9 +491,13 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -508,11 +521,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Cities", @@ -556,6 +565,12 @@ "id": 14, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, @@ -572,9 +587,13 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -600,11 +619,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "States", @@ -701,9 +716,13 @@ } ] }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -729,11 +748,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Last visited", @@ -967,9 +982,13 @@ }, "showHeader": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -995,11 +1014,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Addresses", @@ -1137,9 +1152,13 @@ }, "showHeader": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -1163,11 +1182,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Geo-fences", @@ -1182,7 +1197,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -1206,10 +1222,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -1220,7 +1233,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -1229,14 +1241,10 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -1260,36 +1268,12 @@ "from": "now-30d", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, "timepicker": { - "hidden": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] + "hidden": true }, "timezone": "", "title": "Locations", "uid": "ZzhF-aRWz", - "version": 2, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/mileage.json b/grafana/dashboards/mileage.json index c3e50f8ff2..26d5464292 100644 --- a/grafana/dashboards/mileage.json +++ b/grafana/dashboards/mileage.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -62,10 +62,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { - "datasource": "TeslaMate", + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -95,6 +94,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "opacity", @@ -200,7 +200,7 @@ "sort": "none" } }, - "pluginVersion": "8.5.4", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -239,8 +239,8 @@ "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -264,10 +264,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -278,7 +275,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -287,10 +283,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -301,7 +294,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -310,10 +302,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -321,35 +310,10 @@ "from": "now-6M", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Mileage", "uid": "NjtMTFggz", - "version": 1, + "version": 6, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/overview.json b/grafana/dashboards/overview.json index 567db08c80..d843171f71 100644 --- a/grafana/dashboards/overview.json +++ b/grafana/dashboards/overview.json @@ -11,7 +11,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -82,11 +82,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -148,7 +146,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -330,7 +328,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -417,7 +415,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -515,6 +513,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -590,7 +589,7 @@ "sort": "none" } }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -723,7 +722,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -830,7 +829,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -945,7 +944,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1066,7 +1065,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1191,7 +1190,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1313,7 +1312,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1384,6 +1383,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -1550,7 +1550,7 @@ "sort": "none" } }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1670,7 +1670,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1786,7 +1786,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -1891,7 +1891,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2028,7 +2028,7 @@ "sort": "none" } }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -2068,7 +2068,7 @@ } ], "refresh": "30s", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -2092,10 +2092,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2114,10 +2111,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2136,10 +2130,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2150,7 +2141,6 @@ "definition": "select preferred_range from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "preferred_range", "options": [], @@ -2159,10 +2149,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2173,7 +2160,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -2182,10 +2168,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -2193,35 +2176,10 @@ "from": "now-24h", "to": "now" }, - "timepicker": { - "hidden": false, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Overview", "uid": "kOuP_Fggz", - "version": 14, + "version": 20, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/projected-range.json b/grafana/dashboards/projected-range.json index af8895ab8a..65d632eb05 100644 --- a/grafana/dashboards/projected-range.json +++ b/grafana/dashboards/projected-range.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -71,11 +71,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -85,12 +83,6 @@ "id": 4, "panels": [], "repeat": "car_id", - "targets": [ - { - "datasource": "TeslaMate", - "refId": "A" - } - ], "title": "$car_id", "type": "row" }, @@ -111,6 +103,7 @@ "axisLabel": "Projected Range", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -201,7 +194,7 @@ "sort": "none" } }, - "pluginVersion": "10.2.1", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -288,6 +281,7 @@ "axisLabel": "Projected Range", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -379,7 +373,7 @@ "sort": "none" } }, - "pluginVersion": "10.2.1", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -692,7 +686,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -716,10 +710,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -730,7 +721,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -739,10 +729,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -761,10 +748,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -775,7 +759,6 @@ "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "temp_unit", "options": [], @@ -784,10 +767,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -798,7 +778,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -807,10 +786,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "auto": false, @@ -867,35 +843,10 @@ "from": "now-6M", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Projected Range", "uid": "riqUfXgRz", - "version": 2, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/reports/dutch-tax.json b/grafana/dashboards/reports/dutch-tax.json index 3ca8cd55e0..78904825f8 100644 --- a/grafana/dashboards/reports/dutch-tax.json +++ b/grafana/dashboards/reports/dutch-tax.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.6+security-01" + "version": "11.3.0" }, { "type": "datasource", @@ -63,10 +63,6 @@ "panels": [ { "collapsed": false, - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, "gridPos": { "h": 1, "w": 24, @@ -76,15 +72,6 @@ "id": 4, "panels": [], "repeat": "car_id", - "targets": [ - { - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - }, - "refId": "A" - } - ], "title": "$car_id", "type": "row" }, @@ -96,6 +83,7 @@ "fieldConfig": { "defaults": { "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -348,7 +336,7 @@ } ] }, - "pluginVersion": "11.0.6+security-01", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -386,7 +374,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [], "templating": { "list": [ @@ -408,10 +397,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -431,10 +417,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -454,10 +437,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -468,7 +448,6 @@ "definition": "select preferred_range from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "preferred_range", "options": [], @@ -477,10 +456,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -491,7 +467,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -500,10 +475,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -511,35 +483,10 @@ "from": "now-1y", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Drives - Dutch tax", "uid": "lBIoQIggk", - "version": 2, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/states.json b/grafana/dashboards/states.json index a95e36e8f6..775e0aca7c 100644 --- a/grafana/dashboards/states.json +++ b/grafana/dashboards/states.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -69,10 +69,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { - "datasource": "TeslaMate", + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -125,6 +124,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -136,9 +136,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -164,11 +168,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Last state change", @@ -214,6 +214,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -225,9 +226,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -253,11 +258,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Current State", @@ -315,6 +316,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -326,9 +328,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "time_series", "group": [], "metricColumn": "none", @@ -354,11 +360,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "parked (%)", @@ -467,8 +469,13 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "time_series", "group": [], "metricColumn": "none", @@ -494,19 +501,15 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "States", "type": "state-timeline" } ], - "refresh": false, - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -530,10 +533,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -544,7 +544,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -553,10 +552,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -564,35 +560,10 @@ "from": "now-2d", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "States", "uid": "xo4BNRkZz", - "version": 1, + "version": 6, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/statistics.json b/grafana/dashboards/statistics.json index af763d73a9..52b7346a8f 100644 --- a/grafana/dashboards/statistics.json +++ b/grafana/dashboards/statistics.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -61,11 +61,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -546,10 +544,13 @@ } ] }, - "pluginVersion": "11.0.0", - "repeatDirection": "h", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -575,13 +576,13 @@ "params": [], "type": "macro" } - ], + ] + }, + { "datasource": { "type": "grafana-postgresql-datasource", "uid": "TeslaMate" - } - }, - { + }, "format": "table", "group": [], "metricColumn": "none", @@ -605,13 +606,13 @@ "params": [], "type": "macro" } - ], + ] + }, + { "datasource": { "type": "grafana-postgresql-datasource", "uid": "TeslaMate" - } - }, - { + }, "format": "table", "group": [], "hide": false, @@ -636,11 +637,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "per ${period}", @@ -829,8 +826,8 @@ "type": "table" } ], - "refresh": false, - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -854,10 +851,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -877,11 +871,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -901,10 +891,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { @@ -940,7 +927,6 @@ } ], "query": "day,week,month,year", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, @@ -961,10 +947,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -983,10 +966,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -994,24 +974,10 @@ "from": "now-10y", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Statistics", "uid": "1EZnXszMk", - "version": 1, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/timeline.json b/grafana/dashboards/timeline.json index 7ba3344b12..303b5a6c60 100644 --- a/grafana/dashboards/timeline.json +++ b/grafana/dashboards/timeline.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -72,11 +72,9 @@ "url": "" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -567,7 +565,7 @@ } ] }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -676,7 +674,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -700,10 +698,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -722,10 +717,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { @@ -775,13 +767,11 @@ } ], "query": "🚗 Driving,🔋 Charging,🅿️ Parking,❓ Missing,💾 Updating", - "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "current": { - "selected": false, "text": "", "value": "" }, @@ -817,10 +807,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -840,10 +827,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -862,10 +846,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -877,6 +858,6 @@ "timezone": "", "title": "Timeline", "uid": "SUBgwtigz", - "version": 6, + "version": 12, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/trip.json b/grafana/dashboards/trip.json index 6cdc22d772..d7cd135e19 100644 --- a/grafana/dashboards/trip.json +++ b/grafana/dashboards/trip.json @@ -17,7 +17,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -107,11 +107,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -177,6 +175,49 @@ "showZoom": true }, "layers": [ + { + "config": { + "showLegend": false, + "style": { + "color": { + "fixed": "transparent" + }, + "opacity": 0, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 5, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "location": { + "mode": "auto" + }, + "name": "Temp Fix Grafana Issue #89777", + "tooltip": false, + "type": "markers" + }, { "config": { "arrow": 0, @@ -230,7 +271,7 @@ "zoom": 15 } }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -358,6 +399,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -369,9 +411,13 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -397,11 +443,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -511,8 +553,13 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "time_series", "group": [], "metricColumn": "none", @@ -538,13 +585,13 @@ "params": [], "type": "macro" } - ], + ] + }, + { "datasource": { "type": "grafana-postgresql-datasource", "uid": "TeslaMate" - } - }, - { + }, "format": "time_series", "group": [], "metricColumn": "none", @@ -570,11 +617,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "piechart" @@ -662,6 +705,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -673,9 +717,13 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -701,11 +749,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -782,6 +826,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -793,9 +838,13 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -821,11 +870,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -904,6 +949,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -916,9 +962,13 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -944,11 +994,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -1027,6 +1073,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1038,9 +1085,13 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -1066,11 +1117,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -1126,6 +1173,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1137,9 +1185,13 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -1165,11 +1217,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "stat" @@ -1216,6 +1264,12 @@ "id": 40, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, @@ -1232,9 +1286,13 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -1260,13 +1318,13 @@ "params": [], "type": "macro" } - ], + ] + }, + { "datasource": { "type": "grafana-postgresql-datasource", "uid": "TeslaMate" - } - }, - { + }, "format": "table", "group": [], "hide": false, @@ -1293,11 +1351,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "type": "bargauge" @@ -1405,8 +1459,13 @@ "sort": "none" } }, + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "time_series", "group": [], "metricColumn": "none", @@ -1432,11 +1491,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "transparent": true, @@ -1498,7 +1553,7 @@ { "targetBlank": false, "title": "View drive details", - "url": "d/zm7wN6Zgz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-drive_id=${__data.fields.drive_id.numeric}" + "url": "d/zm7wN6Zgz/drive-details?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-drive_id=${__data.fields.drive_id.numeric}" } ] }, @@ -1786,7 +1841,7 @@ } ] }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -1878,7 +1933,7 @@ { "targetBlank": false, "title": "View charge details", - "url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}" + "url": "d/BHhxFeZRz/charge-details?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}" } ] }, @@ -2675,7 +2730,7 @@ } ], "refresh": "", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [ "tesla" ], @@ -2699,10 +2754,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2722,10 +2774,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2745,10 +2794,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2759,7 +2805,6 @@ "definition": "select case when unit_of_length = 'km' then 'm' when unit_of_length = 'mi' then 'ft' end from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "alternative_length_unit", "options": [], @@ -2768,10 +2813,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2782,7 +2824,6 @@ "definition": "select preferred_range from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "preferred_range", "options": [], @@ -2791,10 +2832,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2805,7 +2843,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -2814,10 +2851,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -2836,10 +2870,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -2847,35 +2878,10 @@ "from": "now/d", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Trip", "uid": "FkUpJpQZk", - "version": 2, + "version": 8, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/updates.json b/grafana/dashboards/updates.json index aefce9b4e2..46d78d057e 100644 --- a/grafana/dashboards/updates.json +++ b/grafana/dashboards/updates.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.1.0" + "version": "11.3.0" }, { "type": "datasource", @@ -69,10 +69,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { - "datasource": "TeslaMate", + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -129,9 +128,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -157,11 +160,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Updates", @@ -213,9 +212,13 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "11.1.0", + "pluginVersion": "11.3.0", "targets": [ { + "datasource": { + "type": "grafana-postgresql-datasource", + "uid": "TeslaMate" + }, "format": "table", "group": [], "metricColumn": "none", @@ -241,11 +244,7 @@ "params": [], "type": "macro" } - ], - "datasource": { - "type": "grafana-postgresql-datasource", - "uid": "TeslaMate" - } + ] } ], "title": "Median time between updates", @@ -330,7 +329,7 @@ "properties": [ { "id": "custom.width", - "value": 160 + "value": 170 }, { "id": "displayName", @@ -380,7 +379,7 @@ "properties": [ { "id": "custom.width", - "value": 100 + "value": 110 }, { "id": "displayName", @@ -511,110 +510,7 @@ } ] }, - "pluginVersion": "11.1.0", - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "$$hashKey": "object:68", - "alias": "Date", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "start_date", - "type": "date" - }, - { - "$$hashKey": "object:69", - "alias": "End Date", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "mappingType": 1, - "pattern": "end_date", - "thresholds": [], - "type": "hidden", - "unit": "short" - }, - { - "$$hashKey": "object:70", - "alias": "Installed Version", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 2, - "link": true, - "linkTargetBlank": true, - "linkTooltip": "${__cell} release info", - "linkUrl": "https://www.notateslaapp.com/software-updates/version/${__cell}/release-notes", - "mappingType": 1, - "pattern": "version", - "thresholds": [], - "type": "string", - "unit": "short" - }, - { - "$$hashKey": "object:202", - "alias": "Duration", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "update_duration", - "thresholds": [], - "type": "number", - "unit": "dtdurations" - }, - { - "$$hashKey": "object:392", - "alias": "Since Previous Update", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "mappingType": 1, - "pattern": "since_last_update", - "thresholds": [], - "type": "number", - "unit": "dtdurations" - }, - { - "$$hashKey": "object:71", - "alias": "# of Charges", - "align": "auto", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "chg_ct", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -671,7 +567,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -695,10 +592,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -717,10 +611,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -739,10 +630,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -753,7 +641,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -762,10 +649,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -784,22 +668,11 @@ "1h", "2h", "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" ] }, "timezone": "", "title": "Updates", "uid": "IiC07mgWz", - "version": 2, + "version": 10, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/vampire-drain.json b/grafana/dashboards/vampire-drain.json index a81ad82735..93a25d948f 100644 --- a/grafana/dashboards/vampire-drain.json +++ b/grafana/dashboards/vampire-drain.json @@ -5,7 +5,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -62,11 +62,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -132,7 +130,7 @@ { "targetBlank": false, "title": "", - "url": "d/zm7wN6Zgz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}" + "url": "d/zm7wN6Zgz/drive-details?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}" } ] }, @@ -548,7 +546,7 @@ }, "showHeader": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "alias": "", @@ -594,7 +592,8 @@ "type": "table" } ], - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -618,10 +617,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": { @@ -684,7 +680,6 @@ "definition": "select unit_of_length from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "length_unit", "options": [], @@ -693,10 +688,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -715,10 +707,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -729,7 +718,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -738,10 +726,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" } ] }, @@ -749,35 +734,10 @@ "from": "now-90d", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Vampire Drain", "uid": "zhHx2Fggk", - "version": 1, + "version": 9, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/visited.json b/grafana/dashboards/visited.json index dd23b5192e..ca625b40f2 100644 --- a/grafana/dashboards/visited.json +++ b/grafana/dashboards/visited.json @@ -11,7 +11,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "11.0.0" + "version": "11.3.0" }, { "type": "datasource", @@ -66,11 +66,9 @@ "type": "dashboards" } ], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "TeslaMate", "gridPos": { "h": 1, "w": 24, @@ -80,12 +78,6 @@ "id": 4, "panels": [], "repeat": "car_id", - "targets": [ - { - "datasource": "TeslaMate", - "refId": "A" - } - ], "title": "$car_id", "type": "row" }, @@ -144,6 +136,49 @@ "showZoom": true }, "layers": [ + { + "config": { + "showLegend": false, + "style": { + "color": { + "fixed": "transparent" + }, + "opacity": 0, + "rotation": { + "fixed": 0, + "max": 360, + "min": -360, + "mode": "mod" + }, + "size": { + "fixed": 3, + "max": 15, + "min": 2 + }, + "symbol": { + "fixed": "img/icons/marker/circle.svg", + "mode": "fixed" + }, + "symbolAlign": { + "horizontal": "center", + "vertical": "center" + }, + "textConfig": { + "fontSize": 12, + "offsetX": 0, + "offsetY": 0, + "textAlign": "center", + "textBaseline": "middle" + } + } + }, + "location": { + "mode": "auto" + }, + "name": "Temp Fix Grafana Issue #89777", + "tooltip": false, + "type": "markers" + }, { "config": { "arrow": 0, @@ -202,7 +237,7 @@ "zoom": 15 } }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -271,6 +306,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -282,7 +318,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -417,6 +453,7 @@ "graphMode": "none", "justifyMode": "center", "orientation": "vertical", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -428,7 +465,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -593,6 +630,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -604,7 +642,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.3.0", "targets": [ { "datasource": { @@ -660,8 +698,8 @@ "type": "stat" } ], - "refresh": false, - "schemaVersion": 39, + "refresh": "", + "schemaVersion": 40, "tags": [ "tesla" ], @@ -685,10 +723,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -699,7 +734,6 @@ "definition": "select base_url from settings limit 1;", "hide": 2, "includeAll": false, - "label": "", "multi": false, "name": "base_url", "options": [], @@ -708,10 +742,7 @@ "regex": "", "skipUrlSync": false, "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "type": "query" }, { "current": {}, @@ -738,34 +769,10 @@ "from": "now-90d", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Visited", "uid": "RG_DxSmgk", - "version": 5, + "version": 11, "weekStart": "" } \ No newline at end of file