Releases: lildude/ha-addon-teslamate
v2.3.0
TeslaMate Release Notes
v2.2.0
As always, there have been many improvements. We now support a proxy for the OpenStreetMap API. If you live in a geo-blocked location, this could simplify your setup. Your tokens are now more secure.
We use the latest dependencies and support PostgreSQL 18 (To update, back up your data and follow the guide. Please note: Volume mounts have changed in PostgreSQL18, see point 4 of the guide.).
We also avoid memory bloat on misconfigured Docker hosts. If your host has limited hardware, this will greatly improve your experience.
The dashboards have been improved in terms of performance, and all dashboards now function as expected when set to miles.
Enjoy it.
New features
- feat: support proxy for openstreet API (#4970 - @jaypark0006)
Improvements and bug fixes
- sec: set tokens to private schema (#4968 -@brianmay)
- build(deps): use elixir 1.18.4, node 22 & debian trixie (#4889 - @swiffer)
- fix: allow using different PostgreSQL port than default when using socket_dir connection (#4979 - @jaypark0006)
- perf: use anti join for short-circuit evaluation when getting non streamed drives (#4990 - @swiffer)
- feat: Add ulimit cap to prevent memory bloat in some misconfigured versions of Docker/containerd Hosts (e.g. on Debian 13) (#5025 - @JakobLichterfeld)
- feat: officially support PostgreSQL 18 (#4890 - @swiffer)
Build, CI, internal
- build(deps): update flake.lock (#4911)
- build(deps): bump @docusaurus/core from 3.8.1 to 3.9.1, @docusaurus/preset-classic from 3.8.1 to 3.9.1, bump dependencies in /website (#4977 - @JakobLichterfeld)
- build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#4933)
- build(deps): bump actions/cache from 4.2.3 to 4.3.0 (#4972)
- build(deps): bump nixbuild/nix-quick-install-action from 32 to 34 (#4974)
- build(deps): bump docker/login-action from 3.4.0 to 3.6.0 (#4975)
- build(deps): bump crate-ci/typos from 1.34.0 to 1.37.0 (#4976)
- build(deps): bump finch from 0.19.0 to 0.20.0 (#4929)
- build(deps): update flake.lock (#4991)
- build(deps): update flake.lock (#4997)
- build(deps): bump actions/stale from 9.1.0 to 10.1.0 (#5019)
- build(deps): bump @docusaurus/core from 3.9.1 to 3.9.2, @docusaurus/preset-classic from 3.9.1 to 3.9.2 and dependencies in /website (#5020)
Dashboards
- fix: charging stats now correctly calculate cost when set to miles (#4983 - @DrMichael)
- perf: Optimize Grafana query for trip view to leverage indexes more effectively (#4964 - @jaypark0006)
- feat: add shared buffers size to db info dashboard (#4989 - @swiffer)
- fix: cast to numeric instead of integer when converting from km to miles to avoid rounding issues in all dashboards (#4986 - @swiffer)
- fix: correctly determine charging phases in charge detail dashboard (#4988 - @swiffer)
Translations
- i18n: add spanish car location translation (#4892 - @jpizquierdo)
- i18n: add missing italian translations, correct the gender of some words and use more uniform translations (#4920 - @giovaorama)
- i18n: add thai car location translation (#4956 - @tomzt)
- i18n: update Traditional Chinese translations with missing translations and to avoid PRC terms and ensure consistency across UI strings (#4995 - @occultsound)
Documentation
- docs: for new installs, pin postgres container to debian trixie to avoid collation version mismatch (#4901 - @swiffer)
- docs: Update FreeBSD and Debian instructions to use GRAFANA_API_TOKEN for the dashboard writes (#4942 - @uqs)
- docs: rename Home Assistant object_id to default_entity_id to be compliant with latest HA (#4980 - @MrPaulAR)
- docs: explain MQTT in Readme via link to Wikipedia (#4985 - @DanCard)
- docs(dev): provide guidelines for checking dependency updates before merging (#4969 - @JakobLichterfeld)
- docs: add domain prefix to Home Assistant default_entity_id (#5014 - @gym22)
- docs: add star history (#5024 - @JakobLichterfeld)
- docs: bump Traefik to v3.5 and enable http3 in advanced guide (#5023 - @swiffer)
- docs: add docs for volume mount change with PostgreSQL 18 (#4890 - @swiffer)
Add-on Release Notes
What's Changed
- Update softprops/action-gh-release action to v2.3.3 by @renovate[bot] in #103
- Update home-assistant/builder action to v2025.09.0 by @renovate[bot] in #104
- Update softprops/action-gh-release action to v2.3.4 by @renovate[bot] in #107
- Update docker/login-action action to v3.6.0 by @renovate[bot] in #106
- Update softprops/action-gh-release action to v2.4.0 by @renovate[bot] in #108
- Update softprops/action-gh-release action to v2.4.1 by @renovate[bot] in #109
- Remove duplicated custom_plugins: [] by @bruvv in #110
- Add note for clearing TeslaMate config to re-show config links by @lildude in #113
- Drop armv7 support and codenotary by @lildude in #115
- Update TeslaMate to v2.2.0 by @renovate[bot] in #114
New Contributors
Full Changelog: v2.2.0...v2.3.0
v2.2.0
TeslaMate Release Notes
v2.1.1
Add-on Release Notes
What's Changed
- Update docker/login-action action to v3.5.0 by @renovate[bot] in #96
- Update actions/checkout action to v4.3.0 by @renovate[bot] in #97
- Update actions/checkout action to v5 by @renovate[bot] in #98
- Update TeslaMate to v2.1.1 by @renovate[bot] in #100
Full Changelog: v2.1.0...v2.2.0
v2.1.0
TeslaMate Release Notes
v2.1.0
As always, there are many improvements. We have introduced new database fields to store the total ascent and descent of a drive, which can be used in the drives and efficiency dashboards. This is a valuable addition for users who wish to analyze their driving patterns and performance in hilly areas, and it enhances the efficiency metrics.
The database will be migrated automatically to include these new fields. Depending on your host and the size of your database, this process may take some time. Please be patient and wait for the process to finish (depending on your host, it takes a few seconds to about a minute on a Raspberry Pi 3B+ with a 1 GB database).
We now use the latest Grafana 12.0.1, and you can now open a Google Maps link for the car's current location by clicking on the location marker icon in the webview to quickly navigate to your car's location, without having to open the Tesla app.
Additionally, we have fixed some issues with the consumption for drives with a positive SOC difference, and we have aligned the usage of time-range filters to resolve consumption gross issues in some edge cases.
The charging stats are now even more consistent. We now detect consecutive charges and exclude them from the charge / discharge stats (PV surplus charging: we've got you covered).
Enjoy it.
New features
- feat(webview): add map marker icon to open Google Maps link with car's current location (#4838 - @JakobLichterfeld)
- feat: add total ascent & descent to the drive table to use in the drives dashboards (#4798 - @swiffer)
- feat(nix): add idiomatic backup and restore scripts (#4835 - @JakobLichterfeld)
Improvements and bug fixes
- fix(nix): update cldr hash (#4723 - @brianmay)
- feat: use Grafana 12.0.0 (#4721 - @swiffer)
- feat: use Grafana 12.0.1 (#4756 - @swiffer)
- feat: preserve the folders when restoring dashboards (#4715 - @IngmarStein)
- feat: use Grafana 12.0.1+security-01 (#4799 - @swiffer)
- feat: use Grafana 12.0.2 (#4805 - @swiffer)
- feat(mqtt): always publish healthy status and disable retain to prevent stale healthy status via mqtt (#4817 - @allivshits)
- feat: use the k8s-style API introduced in Grafana v12 if using manual dashboard setup (#4764- @IngmarStein)
- feat(db-check): allow beta / rc PostgreSQL versions for testing (#4795 - @swiffer)
- feat: enhance HTTP limits for managing fleets with over 10 vehicles (#4607 - @jlestel)
Build, CI, internal
- build(deps): bump tzdata from 1.1.2 to 1.1.3 (#4713)
- build(deps-dev): bump mock from 0.3.8 to 0.3.9 (#4712)
- build(deps-dev): bump credo from 1.7.11 to 1.7.12 (#4711)
- build(deps): bump crate-ci/typos from 1.31.1 to 1.31.2 (#4710)
- fix(nix): update mix dependency hash in nix builds (08fe0ac - @JakobLichterfeld)
- feat(nix): use nixos-25.05 (#4716 - @JakobLichterfeld)
- build(deps): update flake.lock (#4716)
- fix(nix): skip duplicate cldr download to fix build on darwin and improve reproducibility (#4763 - @JakobLichterfeld)
- build(deps): bump DeterminateSystems/update-flake-lock from 24 to 25 (#4774)
- build(deps): bump crate-ci/typos from 1.31.2 to 1.32.0 (#4775)
- build(deps): bump castore from 1.0.12 to 1.0.14 (#4778)
- build(deps): update flake.lock (#4772)
- build(deps): bump phoenix_ecto from 4.6.3 to 4.6.4 (#4779)
- build(deps): bump @docusaurus/preset-classic from 3.7.0 to 3.8.0 in /website (#4776)
- build(deps): bump @docusaurus/core from 3.7.0 to 3.8.0, @docusaurus/preset-classic from 3.8.0 to 3.8.1, bump dependencies in /website (#4777 - @JakobLichterfeld)
- build(deps): bump nixbuild/nix-quick-install-action from 30 to 32 (#4813)
- build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /website (#4821)
- build(deps): bump plug_cowboy from 2.7.3 to 2.7.4 (#4816)
- build(deps): bump crate-ci/typos from 1.33.1 to 1.34.0 (#4814)
- build(deps): bump timex from 3.7.11 to 3.7.13 (#4815)
- build(deps): update flake.lock (#4828 - @JakobLichterfeld)
- build(nix): update mix dependency hash in nix builds (#4828 - @JakobLichterfeld)
- chore(issue-template): enhance bug report template with additional fields and guidance (#4827 - @JakobLichterfeld)
- build(deps): bump on-headers from 1.0.2 to 1.1.0 and compression from 1.0.2 to 1.1.0 in /website (#4831)
- sec(deps): override webpack-dev-server to version 5.2.1 to fix CVE-2025-30360 (#4833 - @JakobLichterfeld)
- ci(coverage): explicitly set mix-env to test (322c2a2 and e6931ab - @JakobLichterfeld)
- fix(mix): add "coveralls.github" to preferred_cli_env to avoid missing task error in CI runs (1c76994 - @JakobLichterfeld)
- build(deps): update flake.lock (#4834)
- chore(issue-template): update bug report template to include Unraid as unsupported installation method (#4829 - @JakobLichterfeld)
Dashboards
- fix: new image on home dashboard as old got removed from Tesla mediaserver (#4702 - @JakobLichterfeld, @swiffer)
- feat: update image on home dashboard to juniper and back to dark (#4742 - @swiffer)
- fix: consumpti...
v2.0.1
v2.0.0
🚨 This release is potentially a breaking change 🚨
TeslaMate v2 needs a PostgreSQL 16.7 or 17.3 or later database.
I recommend using the PostgreSQL 17 add-on from @alexbelgium's repository, or TimescaleDB (for advanced users), if you aren't already using compatible PostgreSQL version.
You can find details on migrating to a different PostgreSQL server in the DOCS.md file.
TeslaMate Release Notes
v2.0.0
This is a breaking change release: TeslaMate uses PostgreSQL as database, this is an external dependency and needs to be updated by yourself. We now require PostgreSQL 16.7 or 17.3 or higher as we are upgrading the bundled earthdistance extension to v1.2. TeslaMate will now fail to start if you are using an older version. Ensure to upgrade your database before upgrading TeslaMate. To upgrade PostgreSQL, you need to follow these instructions:
- Backup your data
- Upgrade PostgreSQL to postgres:17 (Yes, you will have to erase your data, which is why you need your backup in the first place.)
- Upgrade TeslaMate to this version
- Backup your data after the upgrade
Note for user which revoked permissions: If the SUPERUSER privilege has been revoked after the initial (manual) installation, it must be temporarily granted for pending earthdistance migrations to succeed. The privilege can then be safely revoked.
As always, there are also many improvements. The webview now shows the TPMS values in the low pressure tooltip. We use the latest Grafana 11.6.1 and have improved the battery health dashboard and aligned the range calculation through the dashboards. Additionally time zone handling has been improved and the date formats are now based on the browser locale.
Enjoy it.
Note for contributors: The default branch was renamed to main. Please update your local repository accordingly (see GitHub hint when visiting teslamate-org/teslamate or GitHub documentation for more information).
Breaking Changes
- feat: check Postgres version on startup, require 16.7 / 17.3, update earthdistance extension (#4648 - @swiffer)
New features
Improvements and bug fixes
- fix(nix): non-recursive provider for ../grafana/dashboards (#4680 - @swiffer)
- feat: use Grafana 11.6.1 (#4662 - @swiffer)
Build, CI, internal
- build(deps): bump image-size from 1.2.0 to 1.2.1 in /website (#4622)
- ci: switch to cache-nix-action as Magic Nix Cache is deprecated (#4626 - @JakobLichterfeld)
- build(deps): update flake.lock (#4603)
- build(deps): bump crate-ci/typos from 1.30.0 to 1.31.1 (#4611)
- build(deps): bump docker/login-action from 3.3.0 to 3.4.0 (#4612)
- build(deps): bump actions/cache from 4.2.2 to 4.2.3 (#4613)
- build(deps): bump tesla from 1.13.2 to 1.14.1 (#4616)
- ci(sec): remove pull_request_target workflow triggers to improve sec even further, the downside is that test images are now only created for repo's own PRs (#4637 - @JakobLichterfeld / Thanks to @Firebasky for responsibly disclosing the vulnerability)
- ci: fix ghcr build (..ddf85e6 - @JakobLichterfeld)
- ci: ensure ghcr images build correctly even if branch contains backslash (#4655 - @JakobLichterfeld)
- ci: skip ghcr build for PRs from outside repo (#4660 and 462b568 - @JakobLichterfeld)
- build(deps): bump estree-util-value-to-estree in /website (#4641)
- build(deps): update flake.lock (#4653)
- fix(nix): update mix dependency hash in nix builds (3d08431 - @JakobLichterfeld)
- ci(dependabot): add ignore rules for path-based dependencies (#4666 - @JakobLichterfeld)
- sec: upgrade esbuild to 0.25.2 and esbuild-sass-plugin to 3.3.1 to avoid GHSA-67mh-4wv8-2f99 (#4669 - @JakobLichterfeld)
- build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /website (#4670)
- build(deps): bump phoenix_html from 4.2.0 to 4.2.1 (#4667)
- build(deps): bump ex_cldr from 2.40.2 to 2.42.0 (#4615)
- build(deps): bump react from 18.3.1 to 19.1.0 and docusaurus/core from 3.4.0 to 3.7.0 in /website (#4618 - @JakobLichterfeld)
- build(deps): bump phoenix_ecto from 4.6.2 to 4.6.3 (#4333)
- build(deps): update flake.lock (#4674)
- fix(nix): update mix dependency hash in nix builds (#4695 - @JakobLichterfeld)
- chore: rename branch to main (#4700 - @JakobLichterfeld and @adriankumpf)
- build(deps-dev): bump phoenix_live_reload from 1.5.3 to 1.6.0 (#4699)
- build(deps): bump tortoise311 from 0.12.0 to 0.12.1 (#4698)
- build(deps): bump nix-community/cache-nix-action from 6.1.2 to 6.1.3 (#4696)
- build(deps): bump floki from 0.36.3 to 0.37.1 (#4697)
Dashboards
- fix: improve calc for usable (now) in battery health dashboard (#4644 - @swiffer)
- feat: make use of car filter, add timefilter in locations dashboard (#4647 - @swiffer)
- fix: use same rated range calculation in updates dashboard as in battery health dashboard (#4682 - @swiffer)
- fix: explicitly set height of home dashboard background image based on current layout & grafana css (#4681 -@swiffer)
- fix: s...
v1.5.0
TeslaMate Release Notes
v1.33.0
As always, there are many improvements.
We now use Grafana 11.6.0 which was release the last days, improved the logging and state transitions, added a new dashboard for database information and improved other dashboards. We also added a new section to the documentation about the Entity Relationship Model (ERM) of TeslaMate. This is a great help for developers who want to understand the data model of TeslaMate and how to extend it.
Enjoy it.
New features
Improvements and bug fixes
- fix(nix): wait for mosquitto to start before starting teslamate (#4419 - @brianmay)
- feat: use Grafana 11.4.0 (#4299 - @swiffer)
- feat: improve logging messages (#4467 - @micves and @brianmay)
- feat: optimize state transitions (#4473 - @micves and @brianmay)
- don't try to sleep if power > 0
- cancel an ongoing suspended state/trying to sleep and go back to online
- add conditions to enter charging
- feat: support accessing PostgreSQL on unix domain sockets (#4456 - @j-baker)
- fix(nix): temporarily disable browser locale in date formats for nix deployment as well (#4480 - @swiffer)
- feat: Grafana 11.5.0 (#4509 - @swiffer)
- feat: Grafana 11.5.2 (#4551 - @swiffer)
- fix(nix): update mix dependency hash in nix builds. (#4577 - @weiren2)
- feat: Grafana 11.6.0 (#4570 - @swiffer)
Build, CI, internal
- build(deps): bump castore from 1.0.9 to 1.0.10 (#4414)
- build(deps): bump @docusaurus/preset-classic from 3.5.2 to 3.6.3 in /website (#4412)
- build(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /website (#4424)
- build(deps): bump crate-ci/typos from 1.27.0 to 1.28.1 (#4411)
- build(deps): bump tesla from 1.13.0 to 1.13.2 (#4416)
- build(deps): bump postgrex from 0.19.1 to 0.19.3 (#4415)
- build(nix): switch to nixos-24.11 (#4420 - @brianmay)
- build(deps): update flake.lock (#4427)
- fix: update mix deps hash to fix build error on recent NixOS 24.11 update (#4428)
- build(deps): bump path-to-regexp and express in /website (#4433)
- build(deps): update flake.lock (#4440)
- build(deps): bump actions/cache from 4.1.2 to 4.2.0 (#4465)
- build(deps): bump phoenix from 1.7.14 to 1.7.18 (#4462)
- build(deps-dev): bump dialyxir from 1.4.4 to 1.4.5 (#4460)
- build(deps): bump ex_cldr from 2.40.1 to 2.40.2 (#4461)
- build(deps): bump crate-ci/typos from 1.28.1 to 1.29.0 (#4464)
- ci: update actions/cache to v4.2.0 (79107d5 - @JakobLichterfeld)
- build(deps): bump DeterminateSystems/magic-nix-cache-action from 8 to 9 (#4515)
- build(deps): bump actions/stale from 9.0.0 to 9.1.0 (#4516)
- build(deps): bump crate-ci/typos from 1.29.0 to 1.29.5 (#4514)
- build(deps-dev): bump excoveralls from 0.18.3 to 0.18.5 (#4524)
- build(deps-dev): bump credo from 1.7.8 to 1.7.11 (#4523)
- build(deps): bump @docusaurus/preset-classic from 3.6.3 to 3.7.0 in /website (#4518)
- build(deps): bump serialize-javascript from 6.0.1 to 6.0.2 in /website (#4548)
- build(deps): update flake.lock (#4455)
- style(markdownlint): allow 'details', 'summary', and 'TabItem' elements (d5b1a55 - @JakobLichterfeld)
- style(environment_variables): remove multiple whitespaces (603ff82 - @JakobLichterfeld)
- style(docs): fix line length fenced-code-style, no bare url links, multiple whitespaces, alt text, header style (1972584 - @JakobLichterfeld)
- build(deps): bump actions/cache from 4.2.0 to 4.2.2 (#4564)
- build(deps): bump crate-ci/typos from 1.29.5 to 1.30.0 (#4563)
- build(deps): bump castore from 1.0.11 to 1.0.12 (#4565)
- build(deps): bump plug_cowboy from 2.7.2 to 2.7.3 (#4566)
- build(deps): bump prismjs from 1.29.0 to 1.30.0 in /website (#4582)
- build(deps): bump @babel/runtime from 7.26.0 to 7.26.10 in /website (#4589)
- build(deps): bump @babel/helpers from 7.26.7 to 7.26.10 in /website (#4588)
- build(deps): bump @babel/runtime-corejs3 in /website (#4587)
- build(deps): update flake.lock (#4562)
Dashboards
- fix: for battery health dashboard erroring out if no charge data has been collected so far (#4448 - @swiffer)
- fix: url for releases in home dashboard (#4452 -@FLX3009)
- feat: add 0 as lower bound for gauge to ensure proper scaling (#4498 - @swiffer)
- feat(dashboards): improve elevation scale in drive stats (#4546 - @swiffer)
- feat: add Database Information Dashboard (#4578 - @jheredianet)
Translations
- feat: Translate remaining Spanish sentences ([#4529](https:/...