Commit Graph

29 Commits

Author SHA1 Message Date
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
jlestel
60135c1433 Fix hard coded informations (timezone and orgId) (#4056)
Co-authored-by: Julien <julien@citio.digital>
2024-07-08 13:53:42 +02:00
Matthias Wirtz
796e13c82d Export all Dashboards via Grafana 11.0.0 (#3971) 2024-06-18 18:16:04 +02:00
DrMichael
53825bc4dd fix: Update statistics.json: change back uid (#3907) 2024-05-24 09:00:38 +02:00
Stephen Walker
6815945ba1 Statistics: fix temperature colors and column layout for Fahrenheit (#3854)
Add the missing temperature color thresholds when using Fahrenheit
Use the same index value for the temperature column so the layout is the same with Fahrenheit or Celsius
2024-05-20 13:00:06 +02:00
DrMichael
8daac9280f Update statistics.json: timezone issues addressed (#3862)
* Update statistics.json

Timezone issue addressed.

* Update statistics.json: explicitly say, that start_date in in UTC

* Update statistics.json

* Update statistics.json: address links
2024-05-01 21:33:28 -05:00
Stephen Walker
3dfc2326c0 Statistics: Add max value for efficiency thresholds (#3852) 2024-04-17 21:26:11 -05: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
Franco Mossotto
0dad5922b4 Avg cost statistics (#3030) 2023-11-16 18:39:14 +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
Adrian Kumpf
beb1f0227d Update Statistics dashboard
Finally those last columns can be hidden!
2022-01-21 17:31:37 +01: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
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
Dulanic
1f243d3554 Update statistics.json
Shaking my head in shame, I changed the def, not the SQL :(
2021-04-26 11:07:18 +02:00
Dulanic
060160577a Update statistics.json (#1470)
* Update statistics.json

Changed timezone as posix is not available for all. Added regex to restrict to abbrev that are 3 char (normal timezones) and removed posix as not everyone has it. Fix for  https://github.com/adriankumpf/teslamate/issues/1467

* Update statistics.json

added 4 letter abbrev
2021-03-25 18:31:09 +01:00
Toni
77bb82fa55 Calculate efficiency from charged energy (#1445) 2021-03-17 18:19:36 +01:00
Toni
b7f8e52741 Make Statistics dashboard look the same on both kilometers and miles (#1439) 2021-03-15 11:22:46 +01:00
DrMichael
f12242fd09 Show "Starting at" and fix timezone issue. (#1254) 2021-02-08 18:35:15 +01:00
Rogier van der Geer
16750159e4 Fix typo in the link (#1185) 2021-01-08 14:07:00 +01:00
Lee Willis
b9333ebd2b Resolve issue with month groupings on statistics dashboard (#1082)
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
2020-12-29 19:53:09 +01:00
Adrian Kumpf
a3c18c25af Make Statistics dashboard backwards compatible
Related to #1001
2020-10-13 18:54:18 +02:00
DrMichael
8db65f7230 Added links Statistics again (#973)
* Added links again

I moved the should be invisible fields to the far right and minimised them... As soon as that is fixed in Grafana, we can just make them invisible.

The only thing, which is not optimal, is, that the fields with mi and F show up at the far right. No idea, how to address that...

* And changed timezone back to current_setting

Given, that it can be set via PGTZ.

* Added panel title

Otherwise you cannot sort by clicking the column header...

* Make time zone configurable again; preselect current TZ

Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
2020-10-13 16:58:45 +02:00
Adrian Kumpf
af1af873b0 Make time zone configurable 2020-10-04 12:57:34 +02:00
Adrian Kumpf
6b19a3b742 Add links to Statistics dashboard 2020-10-04 11:02:31 +02:00
Adrian Kumpf
bbe7b38069 Update statistics dashboard
- Add 'tesla' tag
- Show currently configured time zone
- Fix date format
- Remove data links for now
- Update efficiency threshold colors
- Use "TeslaMate" datasource
2020-10-03 12:48:25 +02:00
DrMichael
a9cf3b0218 Added Statistics dashboard (#965)
for yearly, monthly, weekly, daily stats... As asked for in https://github.com/adriankumpf/teslamate/issues/664
2020-10-03 12:46:55 +02:00