Skip to content

Releases: teslamate-org/teslamate

v1.22.0

17 Mar 18:24
v1.22.0
f869d96

Choose a tag to compare

Improvements and Bug Fixes

  • Add option to sign in with existing API tokens
  • Avoid false plugged_in events (#1423 by brianmay)
  • Handle distinct OSM IDs gracefully when chaning the address language
  • Set another user agent for auth requests
    • ⚠️ This fixes timeouts when signing in for the time being. Most users who are affected reported using a cloud hosting service. Expect this to break anytime Tesla decides to block this type of traffic coming from these providers.
  • Update user agent used for API requests to GitHub and OpenStreetMap

Dashboards

  • Add battery heater info to Overview and Charge Details dashboards (#1428 by ToniA)
  • Statistics: Calculate efficiency from charged energy (#1445 by ToniA)
  • Make Statistics dashboard look the same on both kilometers and miles (#1439 by ToniA)
  • Updates: Rename column to "Since Previous Update"

Translations

Documentation

  • Explaing the asleep mode with MCU1 and the non-streaming mode (#1453 by ToniA)

v1.21.6

10 Mar 20:03
v1.21.6
88867bd

Choose a tag to compare

Improvements and Bug Fixes

  • Change HTTP headers again to avoid auth requests timing out
  • Fix changing the address language
  • Add health check route (#1422 by brianmay)

Translations

v1.21.5

21 Feb 11:11
v1.21.5
80c3015

Choose a tag to compare

Improvements and Bug Fixes

  • Implement a workaround for login requests timing out
  • Handle failed token refresh requests gracefully

Dashboards

  • Overview: Fix Gross Panel font size (#1363 by DrMichael)
  • Charging Stats: Set bucket size on charging heatmap (#1355 by leewillis77)
  • Downgrade Grafana to 7.3.7 because of an incompatibility with the Trackmap plugin

v1.21.4

16 Feb 16:33
v1.21.4
ea36b56

Choose a tag to compare

Enhancements and Bug Fixes

  • Point out more clearly when starting into import mode
  • Hide sign-out button in import mode
  • Don't purge debug log statements from production release
  • Handle non-existing range values after the car was offline

Dashboards

  • Statistics: Show "Starting at" column and fix timezone issue (#1254 by DrMichael)
  • Charge Level: Fix usable battery level alternating between usable battery level and regular battery level
  • Bump Grafana to v7.4.1

Documentation

v1.21.3

06 Feb 17:02
v1.21.3
e397b11

Choose a tag to compare

  • Add support for v3 API tokens in China
  • Detect if TeslaFi CSV files contain data for more than one car
  • Change log level for streaming timeouts to debug

v1.21.2

31 Jan 17:44
v1.21.2
e4c88cd

Choose a tag to compare

⚠️ NOTE: Any previously stored API refresh tokens will no longer function, as Tesla has deprecated the existing authentication endpoint. Existing access tokens will continue to work until they expire. Eventually, a full login will be needed to obtain new refresh tokens.

To immediately obtain new tokens after upgrading, go to the TeslaMate settings page, sign out via the button at the bottom of the page and then sign in again.

⚠️ NOTE: This release changes TeslaMate's base Docker image to Debian. If you have any customizations on top of TeslaMate (like healthchecks), they could need updates to work on top of this new image.

Enhancements

  • Use the new Tesla authentication endpoint for refreshing access tokens
  • Drop support for the /oauth/token endpoint
  • Add a sign-out button at the bottom of the settings page

Translations

Dashboards

  • Display average outside temperature in charges dashboard (#1213 by DrMichael)

v1.21.1

10 Jan 15:43
v1.21.1
b0a1793

Choose a tag to compare

Enhancements

Translations

Documentation

  • Add some documentation about updating TeslaMate when installed with Docker (#1170 by fatbasstard)
  • Update "Import from tesla-apiscraper" documentation: Give an example how to get the vehicle_id from TeslaMate (#1174 by Bdot42)
  • Add link to unofficial Home Assistant addon (#1188 by matt-FFFFFF)

Other

  • Allow to use non-standard MQTT ports (via MQTT_PORT)
  • Refactoring: Use built-in Ecto enum type
  • Guard against unexpected MFA errors

Bug Fixes

v1.21.0

02 Jan 17:21
v1.21.0
154616c

Choose a tag to compare

Enhancements

Dashboards

  • Drive Details: Add button to download a drive as GPX file (#993 by ayonix)
  • New dashboard for reporting to Dutch tax (#998 and #1051 by roadrash2108)
  • Locations: Add panel to see when an address was last visited
  • Charges/Drives: Add more filtering capabilities (#1016 by Kosta-Github)
  • Overview: Fix unit of measurement for charge energy added (#1061 by landler)
  • Charge Level: Add green bars (20/80%) to match "Charge Delta" graph (#1059 by roadrash2108)
  • Charging-Stats/Trip: Change colors of AC/DC (#1058 by roadrash2108)
  • Statistics: Resolve issue with month groupings (#1082 by leewillis77)
  • Updates: Apply number of charges and average rated range to the correct update (#1147 by tlj)

Other

  • Add support for Tesla’s new authentication process (two-factor authentication)
  • Optimize TeslaFi CSV file import: reduced memory usage and increased performance
  • Require Elixir v1.11
  • Allow to connect to Postgres via IPv6 (via DATABASE_IPV6)
  • Allow to connect to MQTT broker via IPv6 (via MQTT_IPV6)
  • Improve detection of whether the vehicle is plugged in during cold weather (+ fix #1154 by virtualm2000)
  • Use connection pooling for SRTM downloads
  • Optimize Docker layer caching to speed up image build times
  • Battery level tooltip: Prevent division by zero error if car is totally down to 0%
  • Display the actual error if the import directory is not accessible

Translations

Documentation

v1.20.1

24 Oct 12:13

Choose a tag to compare

Enhancements

Dashboards

  • Charge Level: Always show 0% and 100% when state of charge is shown in a diagram (#980 by mbertheau)
  • Charging Stats: Titles/labels now match pie-charts (#998 by roadrash2108)
  • Drive Details: Increase width of odometer panel
  • Efficiency: Set a fixed max value and use LCD gauge
  • Statistics: Add links to other dashboards (#973 by DrMichael)

Translations

Other

  • Display update version in the homescreen update tooltip (#976 by ayonix)
  • Customize Grafana home screen logo (#1004 by gimmespam)
  • Bump Grafana to 7.2.1

Bug Fixes

  • Overview: Fix overlapping timestamps in discrete map (#995 by pmboothby)
  • Fix overlapping timestamps in trip and states dashboard
  • Fix tooltips in car overview being hidden by .card (#975 by ayonix)
  • Make Statistics dashboard compatible with older versions of Postgres
  • Open Statistics dashboard with browser time zone when coming from the TeslaMate UI

v1.20.0

04 Oct 16:42

Choose a tag to compare

Enhancements

Dashboards

  • Update consumption unit to Watt-hour to match in-car unit (#717 by mattw01)
  • Update dashboards to use the new components from Grafana 7
  • Charges: Show very short charging sessions
  • Charges: Add filter for voltage (#857 by Dulanic)
  • Charging Details: Show kWh even if still charging (#744 by Dulanic)
  • Charging Stats: Visualize % of sum instead of max kWh in charging heat map (#680 by Dulanic)
  • Charging Stats: Show cost per 100 km/mi (Charging Stats)
  • Drives: Update possible values for the "cold" column to be consistent (#702 by Dulanic)
  • Drive Details: Show drive efficiency
  • Mileage: Optimize query to get odometer (#804 by Dulanic)
  • Overview: Add 'total energy added' to chart (#690 by Dulanic)
  • Overview: Hide stale temperatures
  • Overview: Show most recent driver temp setting while driving
  • Overview: Add efficiency (#970 by DrMichael)
  • States: Display all states names (#755 by DrMichael)
  • Updates: Add links to release notes (#797 and #823 by pmboothby)
  • Updates: Show average range and number of chargers per software version to identify if an update had a bigger than expected impact on range (#731 and #762 by Dulanic)
  • Updates: Fix up the version display when it only has a week value and no point release (#925 by pyjamasam)
  • Vampire Drain: Utilize charges as additional anchor points (#769 by tacotran)
  • Add new Statistics dashboard (#965 by DrMichael)
  • Add the "shared crosshair" setting to some of the dashboards (#932 and #962 by Kosta-Github)
  • "Customize" Grafana logo (#890 by https://github.com/fatbasstard)
Note
  • The dashboards require Grafana 7. Make sure you are running the latest version of Grafana if you are not using the Docker installation.

Translations

Documentation

Other

  • Optimize conversion helper functions
  • Allow to set a cost by the minute per geo-fence
  • Allow to set charge cost by minute
  • Allow negative charge costs
  • Periodically store vehicle data while charging
  • Use a more performant HTTP client
  • Try to keep using API tokens if initial refresh at startup fails
  • Tweak streaming timeouts and create a new connection after too many disconnects
  • Change default sleep requirements to not require the car to be locked
  • Use GitHub Actions to build docker images and publish them to DockerHub
  • For those who want to help testing the latest development version: the docker images with the edge tag (teslamate/teslamate:edge and teslamate/grafana:edge) are for you.
  • Allow negative cost_per_unit for geofences (#968 by ayonix)
  • Speed up parsing of CSV files (data import)

Bug Fixes

  • Vampire Drain: Fix duplicate values with multiple cars (#726 by Dulanic)
  • Tooling: Ensure dashboards are restored into the same folder as they currently belong to (#712 by sumnerboy12)
  • Battery Level & Range: fix wrongly displayed values for multiple cars (#843 by lemmerk)
  • Fix handling of locations that cannot be geocoded
  • Show in progress charging sessions
  • Handle API errors during initialization