🔓 Encryption of API tokens
To ensure that the Tesla API tokens are stored securely, an encryption key must be provided via the ENCRYPTION_KEY
environment variable.
If you use a docker-compose.yml
file to run TeslaMate, add a line with the ENCRYPTION_KEY
to the environment
section or check out the updated installation guiddes on docs.teslamate.org:
services:
teslamate:
image: teslamate/teslamate:latest
environment:
- ENCRYPTION_KEY=your_secret_encryption_key
# ...
If no ENCRYPTION_KEY
environment variable is provided when running the database migrations a randomly generated key will be set for you to encrypt the tokens. In that case, a warning with further instructions will be displayed.
Improvements and Bug Fixes
- Add
charge_current_request
andcharge_current_request_max
MQTT topics - Add detection of refresh Model X (2022) (#2455 - @cwanja)
- Restart streaming API process if token expired
- Do not start erlang's EPMD service
- Store vehicle marketing names in the database
- Allow customizing the default geofence via the
DEFAULT_GEOFENCE
environment variable (#2564) - Bump Grafana to 8.5.6
Dashboards
- Add datasource to table and map panels (#2391- @andrewjw)
- Charge Details: Ensure that battery heater is shown when active during charging (#2527 - @woyteck1)
- Charging Stats, Charges: Add average cost per kWh to charging stats (#2693 - @yoyostile)
- Charging Stats, Charging Details: Add Charging curve (#2093 - @ToniA, #2152 - @fmossott)
- Charging Stats: Add panel with the cost of charges at SuC (#2448 - @CarlosCuezva)
- Charging Stats: Fix for better "Charge deltas" when the charging process is interrupted and re-started (#2566, #2656 - @nicoladefranceschi)
- Charging Stats: Set Y-Axis max of heatmap to 100 (#2461 - @DrMichael)
- Charging Stats: Update Charging Stats panel styling (#2481 - @cwanja)
- Drive Details: Add elevation summary (#2449 - @coreGreenberet)
- Drive Details: Record the tire pressure which was made available by Tesla in the 2022.4 SW release (#2706 - @NirKli)
- Drive Details: Set elevation units on axis
- Drive Stats: Optimize query to estimate mileage calculation (#2464 - @coreGreenberet )
- Locations: Let the gauge scale up to the maximum value (#2647 - @DrMichael)
- States: Update States top row panels height (#2487 - @cwanja)
- Timeline: Fix links (#2601 - @DrMichael)
- Trip: Render Trip piechart legend (#2473 - @cwanja)
- Migrate dashboards to the new timeseries panels
- Change unit of boolean fields
Translations
- Update Chinse translation (#2479 - @AemonCao)
- Add missing Swedish translation (#2731 - @tobiasehlert)
Documentation
- Add ProxyPreserveHost On to the Grafana entries in Apache2 config (#2471 - @DrMichael)
- Node-RED: Fix typo (#2410 - @baylanger)
- Update to projects page (TeslaMate-ABRP) (#2518 - @fetzu)
- Update HomeAssistant Integration examples for HA 2022.6 (#2704 - @star114)
- HomeAssistant Integration: enhance km to mi conversion / add timestamp class to charge time (#2735 - @dcod3d)
- Add FAQ around Docker timestamp logs (#2655 - @cwanja)
- Add HomeAssistant notification example (#2712 - @brombomb)
New Contributors
- @coreGreenberet made their first contribution in #2449
- @AemonCao made their first contribution in #2479
- @andrewjw made their first contribution in #2391
- @fetzu made their first contribution in #2518
- @nicoladefranceschi made their first contribution in #2566
- @fmossott made their first contribution in #2152
- @woyteck1 made their first contribution in #2527
- @star114 made their first contribution in #2704
- @brombomb made their first contribution in #2712
- @yoyostile made their first contribution in #2693
- @NirKli made their first contribution in #2706
- @dcod3d made their first contribution in #2735
Full Changelog: v1.26.1...v1.27.0