Commit Graph
493 Commits
Author SHA1 Message Date
Juan Carlos Heredia a557f3b313 Change car id selector by row on Charge Details dashboard (#3844)
* Add row instead of selector

* Update screenshot

* Add Car label

* Update line colors
2024-04-16 14:28:35 +02:00
Juan Carlos Heredia f4fb3118ff Velocity/Speed histogram in drive details dashboard (#3836)
* Update drive details dashboard and screenshot

* Update screenshot

* Update speed graph

* Update Screenshot

* Update default values

* Remove Time picker

* Remove the unit x axis and change color scheme

* Standardize the letter casing to upper casing
2024-04-14 08:50:43 +02:00
Juan Carlos Heredia 2c3adebdf2 Update Thresholds colors for ºF unit (#3834) 2024-04-11 18:10:38 +02:00
Juan Carlos Heredia c96a442a01 Add stats and update screenshots (#3824) 2024-04-09 12:58:41 +02:00
Juan Carlos Heredia a962a89876 Fix missing convert_celsius function (#3827) 2024-04-09 10:44:18 +02:00
Juan Carlos Heredia f3df9cd06e Battery Health dashboard: new stats panel for efficiency and improve query performance (#3806)
* Add stats panel for efficiency info and update screenshot

* Improve trip stats using only drives instead of positions
2024-04-08 10:56:19 +02:00
Juan Carlos Heredia b1308d89e9 Add more info on charge details dashboard (#3821)
* Add more info and stats

* Hide time picker

* Update screenshot
2024-04-07 11:45:14 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 09007c8240 build(deps): bump grafana/grafana from 10.4.0 to 10.4.1 in /grafana (#3800)
Bumps grafana/grafana from 10.4.0 to 10.4.1.

---
updated-dependencies:
- dependency-name: grafana/grafana
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 13:28:43 +02:00
Juan Carlos Heredia e9ba1e3539 Fix a bug on efficiency estimations (#3795) 2024-03-31 08:08:58 -05:00
DrMichael d2484e7c77 Update overview.json: add time range to charges links (#3758)
When following the charges links, the time range should be preserved...
2024-03-23 10:57:12 +01:00
DrMichael 1a0d9c7db0 Update overview.json: add time range to states link (#3757) 2024-03-23 10:56:10 +01:00
Juan Carlos Heredia 5323dae831 Improve estimations on Battery Health dashboard (#3756)
* Improve estimations on BH

* Update screenshot
2024-03-23 10:55:01 +01: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
Juan Carlos Heredia 550eaa173f Battery health dashboard: Added Distance (Logged - Mileage) stats (#3741) 2024-03-16 10:20:05 +01:00
Matthias Wirtz 9716a8be73 feat: Grafana 10.4.0 & Angular Deprecation (#3726)
* Grafana 10.4.0

* try disabling angular support again
2024-03-11 12:35:31 +01:00
DrMichael ca9816ba49 Update trip.json: slect last three drives
Apparently that only works reliably, when opened in a new tab.
2024-03-11 11:24:08 +01:00
Juan Carlos Heredia a59ac065bb Change tracking line color on Maps to blue (#3670)
* Updates plugins and tracking line color

* Update DataSource uids
2024-02-26 17:26:16 +01:00
Øivind Hoel f929657788 add stat for selected duration (#3667) 2024-02-13 08:53:22 +01:00
Franco Mossotto bb4f1d5507 charging-stats: map - add charges count and move label (#3625)
* charging-stats: map - add charges count and move label

* charging-stats: map - add charges count and move label

* charging-stats: map -  adj label position
2024-01-22 09:50:51 +01:00
Juan Carlos Heredia ddc2b913da Battery Health - Improve performance & adjust queries to handle empty or null data (#3627)
* Adjust controls for none or null data values

* Update usable_battery_level to improve performance
2024-01-22 09:49:44 +01:00
Juan Carlos Heredia f4fdedb2d7 Improve Battery health derived efficiency estimations and Fix error divided by zero (#3593)
* Improve Battery health derived efficiency estimations and Fix error divided by zero

* Fix unit convert

* Update screenshot

* Keep iteration value

* Remove name mention.
2024-01-19 15:38:46 +01:00
DrMichael fdfdd63d6f Update charges.json: reenable cost per kWh (#3544)
* Update charges.json: reenable cost per kWh

* Update charges.json
2023-12-05 11:19:15 +01:00
mechoriet de8227ce0b Fix Odometer_mi charger dashboard (#3534)
* fix Odometer_mi override
* adjust version so it could potentially update
2023-12-02 14:03:21 -06:00
DrMichael 9ca838e431 Update locations.json
Add car selector
2023-12-01 10:38:58 +01:00
Øivind Hoel d52b779b66 fix bug on load grafana dashboard #3499 (#3501) 2023-11-26 19:00:52 +01:00
Simon Shi e7e410a2fd grafana: support DATABASE_SSL_MODE (#3498) 2023-11-26 11:02:56 +01:00
Matthias Wirtz 1796294442 Grafana update to 10.1.2 (#3455)
* Grafana Update to 10.1.2

* add a hint on why 10.1.2 is chosen
2023-11-21 08:36:23 +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
Øivind Hoel 83fe4fa86d Use built-in grafana visuals instead of plugins (#3439)
* only dashboards

* make the dot blue instead of red, add missing xy chart for charge details

* add missing battery health xy chart

* increase route size for readability

* add new panels to charging-stats

* make plugin version implicit

* red route in drive details because blue doesn't stand out enough on OSM layer

* revert to red for charge location dot, make it somewhat bigger

* fatter line for trip too

* update battery health dash

* update lfp charging-stats

* fix charging stats maps

* improve DC curve visuals in charging stats, link to charging details

* wider lines in visited

* restore ability to edit query in visited dash

* align with https://github.com/teslamate-org/teslamate/pull/3454
2023-11-21 08:35:16 +01:00
DrMichael 0737a53188 Update charges.json (#3463)
Add Odometer
2023-11-20 16:28:34 +01:00
jlestelandJulien 036aa5b817 fix: Dashboard links (#3443)
Co-authored-by: Julien <julien@citio.digital>
2023-11-17 09:11:17 +01:00
JakobLichterfeld fdb8b6c193 Revert "[CI] Build PR images on GHCR (#3432)" (#3441)
This reverts commit b65b3f3992.
2023-11-17 02:57:09 +01:00
jlestelandJulien b65b3f3992 [CI] Build PR images on GHCR (#3432)
* Upgrade CI

* Keep lint and test on tags

* Keep actions/checkout@v3

* Consider CI on branches named v*

* Fix write packages

* Distinct Elixir CI and PR Build

* Rename build

* Fix type

* Add workflow_dispatch

* Add timeout to prevent stuck jobs

* Add actions for buildx and merge

* fix username ?

* Add grafana images from PR

* fix typo

* Finih merge action refactoring

* Exclude PRs related to .github from auto-run

* Don't try to auth on DockerHub when we can't

* tmp allow myself to execute

* Update ghcr_build.yml to be able to write on packages from public fork

* Revert ghcr_build.yml

* Update ghcr_build.yml

* Update to build on source repo

* Update ghcr_build.yml to test

* Use correct repo with REGISTRY_IMAGE

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Use dynamic variables to work in all repos

* Purge in source repo

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update action.yaml

* Update ghcr_build.yml

* Update buildx.yml

* Update action.yaml

* Fix vars

* Trace digests

* Update action.yml

* Update action.yml

* Fix typo

* Fox repo name

* Update buildx.yml

* Update action.yaml

* Fix repository name

* Run on any branch pushed

* Exclude PRs related to .github from auto-run

* Add buildjet dependency

* lint

* lint actions

* fix: links in dashboards

---------

Co-authored-by: Julien <julien@citio.digital>
2023-11-17 02:37:04 +01:00
Franco Mossotto 0dad5922b4 Avg cost statistics (#3030) 2023-11-16 18:39:14 +01:00
Eden YeminiandJesse Sightler 450147ebb4 feat: Add LFP variants of Grafanaf dashboards (#3311)
* Create a LFP variant of the overview dashboard

* Adjust overview parameters for LFP

* Name the overview LFP dashboard differently

* Create a LFP variant of the charging stats dashboard

* Create a LFP variant of the battery health dashboard

* Add unique UIDs and titles

* Added a separate retrieval of location data

* Only access location data as a separate api if it isn't available in the regular vehicle_data result

* Improved API with latest version of tesla api docs

* Revert "Merge branch 'patched' of https://github.com/jsight/teslamate into jsight-patched"

This reverts commit e3887db2bd, reversing
changes made to fba87d7e88.

---------

Co-authored-by: Jesse Sightler <jesse.sightler@gmail.com>
2023-11-16 16:25:12 +01:00
SjorsandDrMichael fa3e58bf75 Fix link to Charge Level dashboard (#3263)
* Fix link to Charge Level dashboard (DrM: not sure, whether that makes it through)

I noticed this link that should probably go to the charge level dashboard.

Also, semi-related, is there a reason all the uid's are random numbers? These are the uid's that appear in the URL of the dasboard. I changed them on my instance to more readable uid's, is this something that would be approved if I changed all the uid's of the dashboards, and fix all the links? The only breaking change I can foresee is bookmarked dashboards become invalid.

* Change wording from "median" to "average" since the mean is calculated

Median is a different calculation than average/mean. I don't think Grafana even supports calculating the median.

---------

Co-authored-by: DrMichael <DrMichael@users.noreply.github.com>
2023-11-13 17:12:42 +01:00
Adrian Kumpf 446ceed04f Downgrade Grafana to 9.5.10
as it was the last release with support for arm/v7
2023-11-12 20:10:13 +01:00
Adrian Kumpf 5716754150 Bump Grafana to 9.5.13 2023-11-12 19:57:09 +01:00
Juan Carlos Heredia fbe06f4018 Update query to get car efficiency on Battery Health dashboard (#3245)
* Update query to get car efficiency on Battery Health dasboard

* Improve query to avoid nulls when there are no long charging sessions

* fix misspelled word

* Fix hints and improve queries

* Fix calculations to get Max battery Capacity
2023-11-12 18:29:53 +01:00
jlestelandJulien 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 0d235daf81 Update charge-details.json (#3294)
Show location name in charge details.
As proposed in https://github.com/adriankumpf/teslamate/issues/3293
2023-11-12 18:22:21 +01:00
Dulanic fbfe8e2224 Update updates.json (#3289)
Fix for div by zero error.
2023-11-12 18:21:46 +01:00
Johannes Heck 01a9cf5861 Show all vehicles on drive stats dashboard (#3342)
* show all vehicles on drive stats dashboard

* fix car selection for efficiency and projected range dashboards as well
2023-11-12 18:15:30 +01:00
Juan Carlos HerediaandAdrian Kumpf 71789c95e8 Battery Health Grafana Dashboard (#3059)
* TeslaMate Custom Dashboards

TeslaMate Custom Dashboards: Battery Health, Charging Costs Stats, Charging CurveStats, Tracking Drives and more. There are two dashboards (Current Charge & Drive View) that could be browsed on the car while driving or charging.

* Reorder projects and add more screenshots

* Remove project not using TeslaMate

* Projects using TeslaMate (alphabetically arranged)

* Battery Health dashboard

* Redesign subqueries
in order to improve performance for global variables and estimations

* Rearrange labels

* Simplify charts with plotly and improved estimations

* Rearranged panels and optimized queries

* Added Mileage logged and aditional info

* Improve BatteryHealth queries

* Fix label

* Improve Battery Capacity estimations

---------

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2023-06-12 12:48:51 +02:00
DrMichael 88df9c6de5 Update charges.json (#3033)
Mark end_date (although not displayed) as dateTimeAsLocal. Better with downloads of the csv.
2023-06-12 12:20:22 +02:00
Adrian Kumpf 07d683ed5a Upgrade Grafana to 9.5
Closes #3026
2023-06-12 12:08:41 +02:00
OrangeBean 5b45ff3b5a Update drive-details.json missing dataSource for pressure units (#3225) 2023-06-11 01:06:45 +02:00
Adrian Kumpf a39e1a7389 Bump Grafana to 8.5.26 2023-06-10 19:35:33 +02:00
Adrian Kumpf 8756c66bca Fix typos 2023-02-03 21:20:10 +01:00
Obihörnchen 1d613e6d82 Bump pr0ps-trackmap-panel to 2.1.4 (#3076)
2.1.4 is released on official grafana plugin repo now. Let's use it again.
Note: 2.1.4 does not contain any functional changes, just metadata changes.
2023-01-18 18:17:18 +01:00