teslamate

A self-hosted data logger for your Tesla 🚘

MIT License

Stars
5.2K
Committers
189

Bot releases are hidden (Show)

teslamate - v1.23.6

Published by adriankumpf over 3 years ago

Improvements and Bug Fixes

  • Disable sign-in button if captcha code is missing
  • Fix login for Chinese accounts
teslamate - v1.23.5

Published by adriankumpf over 3 years ago

Improvements and Bug Fixes

  • Fix login with captcha

Dashboards

  • Timeline: Make added kWh more accurate
teslamate - v1.23.4

Published by adriankumpf over 3 years ago

Improvements and Bug Fixes

Dashboards

  • Drive Details: Don't round down duration (#1677 by Dulanic)
  • Projected Range: Prevent division by zero (#1678 by Dulanic)
  • Updates / States / Stastistics: Use local browser time (#1685 by Ed-M72)
  • Charge Level: Simplify database query (#1693 by Dulanic)
  • Timeline: Add new category Missing and some other adjustments (#1708 by DrMichael)
  • Timeline: Fix missing datasources (#1730 by nickbock)
  • Bump Grafana to 7.5.8 (Docker image)
teslamate - v1.23.3

Published by adriankumpf over 3 years ago

Bug Fixes

  • Fix API tokens form
teslamate - v1.23.2

Published by adriankumpf over 3 years ago

Bug Fixes

  • Fix sign-in for Chinese accounts
teslamate - v1.23.1

Published by adriankumpf over 3 years ago

Improvements and Bug Fixes

  • Tesla has removed the captcha again …
  • Fix error when changing the language to Chinese

Translations

teslamate - v1.23.0

Published by adriankumpf over 3 years ago

Improvements and Bug Fixes

  • Support Tesla's new captcha verification
  • Improve naming of addresses (city aliases)
  • Add power to published MQTT topics (#1504 by mnadvornik)
  • The Docker image now ships with Erlang/OTP 24 which comes with a JIT-compiler (enabled on most x86 64-bit platforms)
  • Only publish geofence via MQTT if it has changed
  • Fix calculation of gross consumption while charging
  • Fix service mode detection
  • Fix typo in code_challenge_method (#1571 by tuxbox)
  • Make dashboards.sh script portable e.g. to BSD (#1645 by tuxbox)

Dashboards

Translations

Documentation

  • Update Mosquitto version used in docker-compose examples
  • Add device classes and binary sensors to documented Home Assistant config (#1597 by flacjacket and #1634 by ffeingol)
teslamate - v1.22.0

Published by adriankumpf over 3 years ago

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)
teslamate - v1.21.6

Published by adriankumpf over 3 years ago

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

teslamate - v1.21.5

Published by adriankumpf over 3 years ago

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
teslamate - v1.21.4

Published by adriankumpf over 3 years ago

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

teslamate - v1.21.3

Published by adriankumpf over 3 years ago

  • 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
teslamate - v1.21.2

Published by adriankumpf over 3 years ago

⚠️ 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)
teslamate - v1.21.1

Published by adriankumpf almost 4 years ago

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

teslamate - v1.21.0

Published by adriankumpf almost 4 years ago

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

teslamate - v1.20.1

Published by adriankumpf almost 4 years ago

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
teslamate - v1.20.0

Published by adriankumpf about 4 years ago

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
teslamate - v1.19.4

Published by adriankumpf over 4 years ago

teslamate - v1.19.3

Published by adriankumpf over 4 years ago

Enhancements

Translations

Dashboards

  • Overview: Update battery gauge thresholds (#651 by wooter)
  • Drives: Add column header for reduced range (#662 by Dulanic)
  • Charging Stats: Show map with frequently used chargers (#666 by Dulanic)
    • Manual install: requires Grafana plugin grafana-map-panel
      grafana-cli --pluginUrl https://github.com/panodata/grafana-map-panel/releases/download/0.9.0/grafana-map-panel-0.9.0.zip plugins install grafana-worldmap-panel-ng
      

Other

  • Add option HTTP_BINDING_ADDRESS to control the bound IP address (#665 by dyxyl)
  • Docker image: Pre-install Grafana plugins
  • Drop unused indexes

Bug Fixes

  • Fix an issue that could cause a missed firmware update not to be logged retroactively
  • Fix an issue where the vehicle process could crash when logging was suspended manually
  • Improve error message for an invalid tokens table
  • Fix min. distance per drive on Efficiency dashboard to filter correctly in miles (#672 by Dulanic)
teslamate - v1.19.2

Published by adriankumpf over 4 years ago

Enhancements

Translations

Dashboards

  • Updates: Show update duration and time since last update (#632 by Dulanic)
  • Charging Stats: Show kWh at non-decimal level and MWh at the 3 decimal point level (#642 and #646 by Dulanic)

Bug Fixes

  • Do not publish NULL or incorrect values to MQTT topics if TeslaMate is restarted while the car is asleep