Commit Graph
400 Commits
Author SHA1 Message Date
Matthias WirtzandJakob Lichterfeld 012b82db25 feat: make use of car filter, add timefilter in locations dashboard (#4647)
* make use of car filter, add timefilter

* add charging_processes to last visited addresses

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-12 13:26:23 +02:00
Matthias Wirtz 76b8479a44 improve calc for usable (now) (#4644) 2025-04-10 15:11:29 +02:00
Matthias Wirtz 14e910628e feat: Grafana 11.6.0 (#4570)
* disable database high availability mode (single instance)

* Grafana 11.6.0
2025-03-27 15:54:15 +01:00
Juan Carlos Heredia ab47b1471e feat: add Database Information Dashboard (#4578)
* Migrate dashboard from custom repo

* Edit links, tags and grafana plug-in version

* Update comment on Manually fixing data

* Update Index hints

* Rearrange panels and hints

* Update screenshots

* MD Format

* Update screenshots.mdx file

* Format with treefmt
2025-03-09 11:36:00 +01:00
Matthias Wirtz 315fa684f9 feat(dashboards): improve elevation scale in drive stats (#4546) 2025-02-22 09:46:23 +01:00
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 8c999d2d38 feat: add 0 as lower bound for gauge to ensure proper scaling (#4498) 2025-01-28 14:05:41 +01:00
Matthias Wirtz 1a220d97e4 fix(dashboard): replace cross join with left join (#4463)
* replace cross join with left join

* ensure fallback to car efficiency works if derived efficiency is empty
2025-01-03 08:54:43 +01:00
Felix 85fd3cc4b2 fix: url for releases in home dashboard (#4452) 2024-12-23 12:53:17 +01:00
Matthias Wirtz c7770ec121 fix for battery health dashboard erroring out if no charge data has been collected so far (#4448) 2024-12-23 12:03:28 +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
jameskitt616 6740b1a963 feat: add Detailed Energy Use to drive-details (#4386)
* Add Detailed Energy Use to drive-details.json

* Update drive-details.json

* Fix Typo
2024-11-19 15:37:55 +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 d64f799c5f fix: Charges Dashboard -> Range added renamed to Ø Charge rate (#4349)
* rename column Range added to Charge Rate

* Column refinement, Range gained added, Driven (km) removed
2024-11-05 17:08:17 +01:00
Matthias Wirtz 08873c7a9e layout fixes 2024-11-05 15:20:35 +01:00
Matthias Wirtz 2edbb9bd26 fix efficiency calculation 2024-11-05 15:20:35 +01:00
Matthias Wirtz 2e81a4e32c add GitHub Tags to Welcome Page (to see latest release) 2024-11-05 15:20:35 +01:00
Matthias Wirtz ca9bb1a99d use Open Street Map consistently 2024-11-05 15:20:35 +01:00
Matthias Wirtz 3b4731591a ensure timestamptz when using date_trunc for consistency 2024-11-05 15:20:35 +01:00
Matthias Wirtz 1ee2312bd2 use convert_km over case when ... 2024-11-05 15:20:35 +01:00
Matthias Wirtz e32aa3b28b Simplify SQL when using DATE_TRUNC 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 1f734f7b19 Welcome Dashboard 2024-11-05 15:20:35 +01:00
Matthias Wirtz f44eeee937 improve performance in drive stats after #4284 2024-11-05 15:20:35 +01:00
Matthias Wirtz 74f3f878fd fix: ensure dutch-tax dashboard is not repeating multiple times per car (row and table) (#4317) 2024-10-29 13:41:31 +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 a98faeb1f2 date as datetimelocal (#4313) 2024-10-29 11:39:07 +01:00
Jan 3f32617265 feat: add max speed & speed histogram to drive stats (#4253)
* feat: add max speed & speed histogram to drive stats

* fix: percentages between 0 and 100; set static color

* fix: optimize speed histogram query

* exclude Streaming API data

* bring color in line with drive details speed histrogram

* fix: add speed unit to panel title
2024-10-29 11:13:14 +01:00
Matthias Wirtz 2aab5153f3 fix: re-add missing changes from pr 4124 (#4310) 2024-10-28 08:58:54 +01:00
Matthias Wirtz dffbf3c1d0 perf: add ideal_battery_range_km as query condition (#4305)
* perf: add ideal_battery_range_km as query condition

* fix: add alias to select

* in case of min_id > 0 pass min_id to first query as well
2024-10-28 08:56: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 b07dc595c6 perf: improvement in charge level (#4301) 2024-10-24 08:35:50 +02:00
Matthias Wirtz d922c24912 fix: hard-coded length unit in battery health dashboard (#4300) 2024-10-23 11:23:36 +02:00
Matthias Wirtz 6e9c557745 fix: weighted average calculation for consumption in drives dashboard (#4289) 2024-10-22 08:01:12 +02:00
Matthias Wirtz 4d348a1f63 exclude streaming data in visited dashboard (#4287) 2024-10-21 14:07:40 +02:00
Matthias Wirtz d5cb2c652f perf: exclude streaming date when getting battery level (#4286) 2024-10-21 13:24:28 +02:00
Matthias WirtzandJan S 6249287788 fix: for drives not showing if duration < 1 minute and feat: add max speed in drives dashboard (#4284)
* fix for drives not showing if duration < 1 minute

* feat: add max Speed column to drives table

---------

Co-authored-by: Jan S <jan@js94x.de>
2024-10-20 09:39:37 +02:00
Matthias Wirtz 955bde3cb6 fix: number of drives per day in drive stats (#4285) 2024-10-20 09:33:43 +02:00
Matthias Wirtz 9adc7dd8b0 perf-improvements-drive-stats (#4258) 2024-10-19 15:58:24 +02:00
Matthias Wirtz 2b36bad743 perf: fix skipping streaming data in charging stats (#4252)
* perf-fix-skipping-streaming-data

* use drives instead of positions for another 60x improvement
2024-10-19 15:49:23 +02:00
Matthias Wirtz a4f2e42534 json_build_object instead of concat in battery-health (#4229) 2024-09-29 11:21:52 +02:00
Matthias Wirtz 1c2fa7830f multiple cars, same name, add vin next to name (#4230) 2024-09-29 11:19:42 +02:00
Gabriele f5d981248d increase max battery charge gauge threshold to 101 in case of LFP (#4191)
* increase max battery charge gauge threshold to 101 in case of LFP

fixes visualization issue of gauge turning "red" in case of 100% battery charged on lfp teslas

* overview dashboard version bump
2024-09-28 15:25:51 +02:00
Matthias Wirtz 62b1ec579a timezone fixes and moving window on beginning of period (#4217) 2024-09-19 19:12:53 +02:00
Matthias Wirtz c64384f0f6 add moving average / percentiles to charge level (#4200) 2024-09-16 14:09:45 +02:00
Alan CastroandAlan 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
Juan Carlos Heredia 30dbc27c38 feat: Improve cost filter on Charges dashboard to show charges with negative cost as well (#4179) 2024-09-09 09:02:17 +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