Commit Graph

43 Commits

Author SHA1 Message Date
Matthias Wirtz
73275ff4e2 feat: Grafana 11.5.2 (#4551) 2025-02-22 09:13:42 +01:00
Matthias Wirtz
1902dc5d2f feat: Grafana 11.5.0 (#4509) 2025-02-02 09:52:40 +01:00
Matthias Wirtz
38cca3ce7c feat: Update Grafana to 11.4.0 (#4299)
* Grafana 11.4.0

* clean up annotations json

* small consistency improvements
2024-12-08 06:55:41 +01:00
Matthias Wirtz
6c79a758c3 feat: Dashboard refinements and standardization (#4367)
* use Unit kwatth instead of custom SQL

* replace last usage of case when with convert_km

* Naming Conventions, Descriptions & Alignments in Calculations

* use same query as in statistics

* adapt Driving Efficiency in Drives (more in line with Efficiency and Statistics)

* fix hard-coded length unit

* fix division by zero

* fix: min allowed of minWidth is 50

* a little more space here...

* fix: minWidth for auto-scaling

* accurate consumption gross (exclude charges only)

* . instead of ,

* improve consumption gross while charging

* faster consumption gross calculation

* consistent # of X for counts

* fix units of xy chart in battery health dashboard

* fix labels of xy charts & add decimals in top suc in charging stats dashboard

* change default time for trip to last 24h

* rework the query for better performance

* perf-fix

* high precision mode in statistics (consumption gross)

* typo

* same query in both dashboards - trips defaulting to high precision mode if period shorter than 10 days

* remove starting at, covered by period

* fix for periods starting and ending with charges + max one drive

* further improve accuracy in low precision mode and low data sample count

* short, fast, accurate

* fix sorting

* fix / improve condition for auto-enabling high precision mode
2024-11-18 08:26:02 +01:00
Matthias Wirtz
6f3be516ee fix: Axis Labels for XY Chart in Battery Health and reduces Query count in Visited (#4364)
* fix charging_curve missing axis labels

* Reduce Query Count on Visited Dashboard

* show full VIN when no name is set
2024-11-08 10:51:50 +01:00
Matthias Wirtz
3b4731591a ensure timestamptz when using date_trunc for consistency 2024-11-05 15:20:35 +01:00
Matthias Wirtz
10217dabbe Grafana 11.2.3 2024-11-05 15:20:35 +01:00
Matthias Wirtz
bdf4e4e3f0 perf: improvement and deprecated syntax removal (#4304)
* always use ideal_battery_range_km in conditions (to make use of index)

* remove deprecated var syntax
2024-10-27 08:31:14 +01:00
Matthias Wirtz
1c2fa7830f multiple cars, same name, add vin next to name (#4230) 2024-09-29 11:19:42 +02:00
Alan Castro
8cae4d83bc feat: display vehicle VIN as a fallback for vehicle name on grafana dashboards (#4198)
Co-authored-by: Alan Castro <arcastroe@gmail.com>
2024-09-15 09:57:20 +02:00
Matthias Wirtz
ad3f34b693 Improve rounding to month / weeks / days in Updates "Since Previous Update" column (#4164) 2024-09-03 11:05:02 +02:00
Matthias Wirtz
a50bc74de4 use lfp_battery setting in dashboards & speed up updates dashboard (#4051)
* use lfp_battery setting in dashboards

* query perf. improvements in updates dashboard
2024-07-07 10:49:06 +02:00
Matthias Wirtz
796e13c82d Export all Dashboards via Grafana 11.0.0 (#3971) 2024-06-18 18:16:04 +02:00
Matthias Wirtz
578cae6935 Ensure Dashboards can be modified after Import - Migrate Projected Range to TimeSeries (#3454)
* Migrate Projected Range to TimeSeries (Graph Panel is deprecated)

* Ensure Panel Query Builder is rendered correctly after Import
2023-11-21 08:35:41 +01:00
Dulanic
fbfe8e2224 Update updates.json (#3289)
Fix for div by zero error.
2023-11-12 18:21:46 +01:00
Andrew Wilkinson
b2d5f3e523 Add datasource to table and map panels. (#2391)
* Add datasource to table and map panels.

* Fix datasource of Charging Stats map.
2022-02-18 15:16:10 +01:00
Adrian Kumpf
2c15711b76 Add 'string' unit to software version field
Fixes #2381
2022-01-27 09:51:21 +01:00
Adrian Kumpf
e3dfdb2b34 Update Updates dashboard 2022-01-21 17:31:37 +01:00
Adrian Kumpf
aa544dd61e Link to notateslaapp.com for release notes
Closes #1866
2021-09-28 18:44:35 +02:00
Lee Willis
a74786aa42 Car display priorities (pass 1) (#1904)
* Add display_priority column to cars table

* Respect display_priority in grafana, falling back to name

* Use smallint for priority rather than int

* Update missed dashboards to respect car priorities

Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
2021-08-31 17:16:07 +02:00
Ed-M72
cdcb947676 Update 3 dashboards (#1685)
Co-authored-by: emellodew <64371467+emellodew@users.noreply.github.com>
2021-06-18 12:38:11 +02:00
Adrian Kumpf
1a5061c879 Rename column to "Since Previous Update"
Fixes #1409
2021-03-10 21:16:14 +01:00
Frank van Boven
eadc820087 Fix colors in Updates dashboard (#1169) 2021-01-03 21:35:17 +01:00
Thomas L. Johnsen
5a6a7b5fc6 Fix for dashboards/updates to apply number of charges and avg rated range to the correct update (#1147)
Fixes #991
2020-12-29 20:12:31 +01:00
Chris Whiteford
9b657b3bfc Fixing up the version display when it only has a week value and no point release (#925)
Co-authored-by: Chris Whiteford <chris@whiteford-c.local>
2020-09-24 11:14:40 +02:00
Adrian Kumpf
b280e87ebe Enable includeAll option on all dashboards w/ repeating rows 2020-08-27 20:04:44 +02:00
Adrian Kumpf
ccbdf8d267 Migrate Updates dashboard
TODO: link to release notes w/ noreferrer
2020-08-27 20:04:44 +02:00
Adrian Kumpf
f29a44c66e Set default datasources and hide dashboard variables 2020-07-28 22:16:06 +02:00
DrMichael
32f7d6a7cb Update updates.json (#840)
Added car_id to number of updates
2020-07-26 12:36:30 +02:00
Peter Boothby
69e49bedcc Set referrer policy for external link (#823)
* add links to release notes

Teslascope copy Tesla's release notes to their website using a URL with the version number in it, so very easy to link to.

* Set referrer policy for external link

As per suggestions/comments from previous change,  added *rel="noreferrer"* to links to Tesla software update details on teslascope.com.
2020-07-09 10:59:17 +02:00
Peter Boothby
c15e3d54a1 add links to release notes (#797)
Teslascope copy Tesla's release notes to their website using a URL with the version number in it, so very easy to link to.
2020-06-25 13:50:49 +02:00
Dulanic
306a15a844 Update join to left join - updates.json (#762)
Updated join to left join to avoid issues where user has no charges or drives between updates. Fix for https://github.com/adriankumpf/teslamate/issues/750
2020-05-27 15:58:12 +02:00
Dulanic
5dd6b14de7 Added Avg Range and # of chargers per version. (#731)
* Added Avg Range and # of chargers per version.

Added avg range and # of charges per software version. This will also help identify is software version has a bigger than expected impact on range.

* Update updates.json

Fixed refresh and removed default setting.
2020-05-22 18:25:57 +02:00
Adrian Kumpf
b670d2a472 Display the number of and median time between updates
Closes #617
2020-04-23 13:47:38 +02:00
Dulanic
eae5104a5c Update updates.json (#632)
* Update updates.json

Added duration and time since last update as requested in adriankumpf#617

* Update updates.json

Corrected space
2020-04-23 13:18:18 +02:00
Adrian Kumpf
6bf06c6d71 Add dashboard links 2020-02-23 12:23:57 +01:00
Adrian Kumpf
ec477f56bc Sync dashboard files 2020-01-22 15:52:50 +01:00
kp47
3a863d8cd7 added 'tesla' tag 2020-01-21 16:21:29 +01:00
Adrian Kumpf
a26d2ee312 Change default time range
Resolves #334
2020-01-02 21:26:08 +01:00
Adrian Kumpf
38bd1ddf05 Require a data source named "TeslaMate" 2019-09-18 20:40:55 +02:00
Adrian Kumpf
8e9356d165 Generate a row per car 2019-08-18 20:32:23 +02:00
Adrian Kumpf
65eac16d5e Display car name instead of id 2019-08-18 20:32:23 +02:00
Adrian Kumpf
056c06c1ac Introduce custom teslamate/grafana Docker image 2019-07-31 12:14:32 +02:00