The graph shows registers just some seconds past the end, that is supposedly the time the Api delays the notification of the end of the charging session. That makes that the min range values in the legend for voltage, current and power shows zero and become useless. By adding a zero restriction to power or current, we avoid those zero registers and better restrict the charging session times. As a side effect, the right y-axis can show a better interval and the graph has more detail.
* make AC always green and DC always yellow
addresses #814
* make AC-charging green and DC-charging yellow also in Trip-dashboard
to be in sync with the changes for Chargings-Stats done with #1058
* Fix units of charge energy added to be correct
The name of the measurement didn't make sense, since it is plotting added energy but was using an unit of power (kW). Changed to make sense.
* Fix unit of energy added
Documentation was using the wrong unit for energy added, fixed.
* Fix unit of energy added
Documentation was using unit of power (kW) for measuring energy added. Fixed to use the correct unit (kWh)
* add more filtering capabilities
* charges: allow to filter for minimum charging `duration` in minutes (defaults to `0`, so no change in behaviour for the initial page view)
* drives: allow to filter for minimum `distance` and `speed` (both default to `0`, so no change in behaviour for the initial page view)
Note: this has only be tested with `km` (metric system); this also needs testing for `miles` (imperial system).
* use `convert_km()` on `distance` to support `km` and `miles`
Co-authored-by: Konstantin Baumann <konstantin.baumann@autodesk.com>
* Update addresses in dutch-tax
Remove names (geofence, address) to only display street+number+city.
* Fixing dutch-tax for timeFilter and car_id + repeat per car
addition to #1051
* 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>
* new dashboard for reporting to Dutch tax
based on #989
* Titles/labels now match pie-charts in Charging stats
Solves #814 - just had to reverse the "ORDER BY" for the pie-charts...
* Include reports in Docker image
* Use new table component
* Show geo fences where applicable
Closes#989Fixes#814
Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>
* Change colours in pie chart
* Add efficiency to overview
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
- Add 'tesla' tag
- Show currently configured time zone
- Fix date format
- Remove data links for now
- Update efficiency threshold colors
- Use "TeslaMate" datasource
* Update drives.json
Added OR end_position.usable_battery_level IS NULL. Found this to be a applicable situation where intermittent LTE issues as I had this past weekend.
* Sync drives query with drives dashboard
Co-authored-by: Adrian Kumpf <adrian.kumpf@posteo.de>