Commit Graph

31 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
10217dabbe Grafana 11.2.3 2024-11-05 15:20:35 +01:00
Matthias Wirtz
93e88815f6 fix: remove convert_km from kwh calculations in timeline dashboard (#4318) 2024-10-29 13:39:48 +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
6f3757f5b1 Grafana & Dashboard improvements (#4019) 2024-07-02 18:29:01 +02:00
Matthias Wirtz
796e13c82d Export all Dashboards via Grafana 11.0.0 (#3971) 2024-06-18 18:16:04 +02:00
Juan Carlos Heredia
370a78a03f Update and fix timeline dashboard (#3951)
* Update and fix timeline dashboard

* Update filter label
2024-06-10 15:22:05 +02:00
DrMichael
df945b57f5 Update timeline.json: column Action larger width (#3744)
The Action column is too small. Perhaps due to the new Grafana version? So, I bump the width up
2024-03-18 14:19:01 +01: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
jlestel
2261cc4ed7 Fix: broken links when orgId is not 1 (#3380)
* fix: broken links when orgId is not 1

* fix

---------

Co-authored-by: Julien <julien@citio.digital>
2023-11-12 18:28:12 +01:00
DrMichael
152ef88fd2 Update timeline.json (#2601)
Links corrected, ":raw" added to __data.fields....
2022-04-11 22:34:30 +02:00
DrMichael
bbcbcbc629 Add filters for destination (#2354)
* Add filters for destination

Not sure about iteration, uid and version...

* Revert UID change

* Update CHANGELOG

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2022-01-25 17:48:52 +01:00
Adrian Kumpf
eef58dd62f Increase date column widths 2022-01-21 17:31:38 +01:00
Adrian Kumpf
39c2ae5765 Update Timeline dashboard 2022-01-21 17:30:26 +01:00
DrMichael
c70b1b425b Update timeline.json (#2125)
Add duration of update...
2021-11-05 15:44:03 +01:00
DrMichael
4f5f855769 Update timeline.json (#2092) 2021-10-25 11:02:28 +02:00
DrMichael
315beaa600 Update timeline.json (#2061)
* Update timeline.json

* Update statistics.json

Add car id to the links... Fixes #2089
2021-10-25 11:01:51 +02: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
DrMichael
28b8c0d701 Timeline: Update to catch missing drives, when one end has a geofence (#1872)
* Timeline: Update to catch missing drives, when one end has a geofence

* Update timeline.json

Add refresh 1h

* Added links to the Action column

Added links to the the Action entries, where it makes sense.
2021-08-31 11:42:59 +02:00
DrMichael
4009f3ba69 Show also missing drives with no geofence id (#1818)
* Show also missing drives with no geofence id

* Fix fence_id typo
2021-07-19 14:52:29 +02:00
DrMichael
79181e9f43 Make kWh in Charging more exact (#1748)
Change kWh in Charging to charging_processes.charge_energy_added
2021-06-24 15:00:40 +02:00
DrMichael
5ca9f63c56 Adding Missing, some adjustments (#1708)
* Adding Missing, some adjustments

Now Odometer, Range and SoC should always have the values at the end of the slot.

* Revert uid change

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-06-18 15:06:53 +02:00
Tevoll
56de38ab21 Fix Timeline Dashboard missing datasources (#1730)
* Fix Timeline Dashboard
timeline.json was missing the datasources

* Update datasource

Co-authored-by: Bocky <nick@bocky.nl>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-06-18 13:03:46 +02:00
DrMichael
305e0a9d3b Add Timeline dashboard (#1621)
* Add Timeline dashboard

* Changes according to https://github.com/adriankumpf/teslamate/pull/1621

Except the filter.

* Add dashboard links, fix action filter

* Fix subquery to get parking sessions

* Use preferred range to fix consumption calculation

* Remove "Missing" category

* Cast range values to numeric

* Convert temperatures

* Make Cost car specific. (Fixes #1641 )

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-06-01 10:22:28 +02:00