Releases: teslamate-org/teslamate
Releases · teslamate-org/teslamate
v1.22.0
Improvements and Bug Fixes
- Add option to sign in with existing API tokens
- Avoid false
plugged_inevents (#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
v1.21.6
v1.21.5
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
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
- Add TeslaMateApi to the list of projects using TeslaMate (#1350 by tobiasehlert)
- Update installation docks (#1287 by tobiasehlert)
- Update HomeAssistant documentation (#1321 by jschollenberger)
v1.21.3
- 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
⚠️ 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/tokenendpoint - Add a sign-out button at the bottom of the settings page
Translations
Dashboards
v1.21.1
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
- Update drive duration query to avoid displaying different times for drives (Details vs Overview) (#1191 by fatbasstard)
- Fix font colors for light theme (Updates dashboard) (#1169 by fatbasstard)
- Fix typo (Statistics dashboard) (#1185 by rogiervandergeer)
v1.21.0
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
- Fix version info on development guide & minor spelling fix (#994 by techgaun)
- Update backup_restore.md (#1027 by pihomeserver)
- Improve garage door automation example (#1039 by andrewfoster)
- Update traefik guide to use a single public hostname instead of two (#1101 by pmboothby)
- Projects using TeslaMate:
- TeslaMateAgile: mention Tibber support (#1097 by tobiasehlert)
- Add TeslaMate_Telegram_Bot (#1122 by JakobLichterfeld)
- Update installation instructions for Apache (#1124 by juankymoral)
v1.20.1
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
- Update Norwegian translation (#996 and #1007 by spacecosmos)
- Update Swedish translation (#1029 by tobiasehlert)
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
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
- Update Chinese (Simplified) translation (#747 by edward4hgl)
- Update French translation (#693 by tomS3210)
- Tweak Dutch translation (#880 and#881 by https://github.com/fatbasstard)
Documentation
- Update HomeAssistant documentation (#705 by ngardiner)
- TeslaFi Import: Clarify steps 3 and 4 about emptying the import folder (#703 by ramonsmits)
- Update Upgrade documentation (#790 by roadrash2108)
- Add a page that lists projects that use TeslaMate: docs.teslamate.org/docs/projects
- An note about moving the backup file (#813 by traviscollins)
- Add
-Tflag to backup command (#851 by acemtp)
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
edgetag (teslamate/teslamate:edgeandteslamate/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