Commit Graph
518 Commits
Author SHA1 Message Date
github-actions[bot]github-actions[bot] <github-actions[bot]@users.noreply.github.com>Jakob Lichterfeld
3ba23da7a7 feat(nix): use nixos-25.05 and build(deps): update flake.lock (#4716)
* flake.lock: Update

Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/6599a8c6d02c1d37fe5b7804f70a39c262298729?narHash=sha256-045veG11u/fdRjYI%2B9dc19/u/14j7UFitwKWisE11Iw%3D' (2025-04-18)
  → 'github:cachix/devenv/c7f2256ee4a4a4ee9cbf1e82a6e49b253c374995?narHash=sha256-tk2mRZAf8C5uOkMVJHemJ3ld09CYVp/z94/lHqsQ8ZA%3D' (2025-05-20)
• Updated input 'devenv/cachix':
    'github:cachix/cachix/a624d3eaf4b1d225f918de8543ed739f2f574203?narHash=sha256-D0gP8srrX0qj%2BwNYNPdtVJsQuFzIng3q43thnHXQ/es%3D' (2025-03-15)
  → 'github:cachix/cachix/8a60090640b96f9df95d1ab99e5763a586be1404?narHash=sha256-pb5aYkE8FOoa4n123slgHiOf1UbNSnKe5pEZC%2BxXD5g%3D' (2025-04-09)
• Updated input 'devenv/git-hooks':
    'github:cachix/git-hooks.nix/dcf5072734cb576d2b0c59b2ac44f5050b5eac82?narHash=sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco%3D' (2025-03-22)
  → 'github:cachix/git-hooks.nix/fa466640195d38ec97cf0493d6d6882bc4d14969?narHash=sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS%2BnoCWo%3D' (2025-05-06)
• Updated input 'devenv/nix':
    'github:domenkozar/nix/f3f44b2baaf6c4c6e179de8cbb1cc6db031083cd?narHash=sha256-E3j%2B3MoY8Y96mG1dUIiLFm2tZmNbRvSiyN7CrSKuAVg%3D' (2025-03-12)
  → 'github:domenkozar/nix/b455edf3505f1bf0172b39a735caef94687d0d9c?narHash=sha256-bYyjarS3qSNqxfgc89IoVz8cAFDkF9yPE63EJr%2Bh50s%3D' (2025-04-29)
• Updated input 'devenv/nixpkgs':
    'github:cachix/devenv-nixpkgs/7bd9e84d0452f6d2e63b6e6da29fe73fac951857?narHash=sha256-qamMCz5mNpQmgBwc8SB5tVMlD5sbwVIToVZtSxMph9s%3D' (2024-12-06)
  → 'github:cachix/devenv-nixpkgs/c5208b594838ea8e6cca5997fbf784b7cca1ca90?narHash=sha256-zU2z0jlkJGWLhdNr/8AJSxqK8XD0IlQgHp3VZcP56Aw%3D' (2025-05-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/26d499fc9f1d567283d5d56fcf367edd815dba1d?narHash=sha256-FHlSkNqFmPxPJvy%2B6fNLaNeWnF1lZSgqVCl/eWaJRc4%3D' (2025-04-12)
  → 'github:NixOS/nixpkgs/2baa12ff69913392faf0ace833bc54bba297ea95?narHash=sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0%3D' (2025-05-21)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/8d404a69efe76146368885110f29a2ca3700bee6?narHash=sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI%3D' (2025-04-18)
  → 'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)

* style: linter findings

* feat(nix): use nixos-25.05

* chore(nix): update treefmt-nix dependency

* feat(nix): use postgreSQL 17 in devenv

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-26 13:30:56 +02:00
Brett AdamsandJakob Lichterfeld 8933d1d187 docs: clarify pricing for Teslemetry (#4705)
* Update Teslemetry

* docs: update changelog

* docs: update changelog

* ci: update typos false positive list

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-26 12:59:17 +02:00
Jakob Lichterfeld 22c09d7106 docs: update changelog 2025-05-26 11:47:10 +02:00
Jakob Lichterfeld eb87718e33 docs: update changelog 2025-05-26 11:36:45 +02:00
Matthias WirtzandJakob Lichterfeld 571ae70b6f feat: use Grafana 12.0.1 (#4756)
* Grafana 12.0.1

* remove workarounds as all supported platforms have 12.0.0 or later

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-24 13:16:47 +02:00
Matthias WirtzandJakob Lichterfeld 88eaf9a11c fix: consumption for drives with positive soc diff (#4746)
* fix consumption for drives with positive soc diff

* refactor query for total energy consumed (basing it on consumption gross query)

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-24 10:07:31 +02:00
Jakob Lichterfeld 82a1c669f3 docs: update changelog 2025-05-22 19:26:57 +02:00
Iustin PopandJakob Lichterfeld e1e15042a8 docs: improvement to the Debian installation instructions (#4734)
* Slight improvement to the Debian installation instructions

I've managed to do an install on Debian Trixie with most of the required
dependencies from Debian, with the exception of Grafana (which is not)
packaged. As such, I've modified the instructions to reflect this.

It's possible that in the future, TeslaMate will require newer versions,
and these instructions would become outdated. But that's not worse than
the current state, where for example Erlang/Elixir are no longer
available upstream as documented, so better to have two sets of
instructions for redundancy.

* Improve the separate Grafana server explanation

* Rewrap the text

* Further improve the remot grafana URL

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-19 09:01:48 +02:00
Matthias Wirtz ed9bbc9ec4 docs: update changelog 2025-05-16 07:13:38 +02:00
Matthias WirtzandJakob Lichterfeld c31c22d69c feat: use Grafana 12.0.0 (#4721)
* Grafana 12.0.0

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-07 18:53:26 +02:00
Brian MayandJakob Lichterfeld f88048b9d8 fix(nix): update cldr hash (#4723)
* fix: update cldr hash

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-05-07 15:31:16 +02:00
JakobLichterfeld a7d4e267da fix: new image on home dashboard as old got removed from Tesla mediaserver (#4702)
* fix: new image on home dashboard as old got removed from Tesla media server

* docs: update changelog
2025-04-27 12:39:57 +02:00
Jakob Lichterfeld 16cf7e6b1f build: prepare v2.0.1-dev 2025-04-26 11:38:36 +02:00
Jakob Lichterfeld c37638b320 build: release v2.0.0 2025-04-26 11:36:58 +02:00
Jakob Lichterfeld 1507c229a9 docs: update changelog 2025-04-26 11:32:25 +02:00
JakobLichterfeld db68283520 chore: rename branch to main (#4700)
* chore: rename branch to main

* docs: update changelog
2025-04-26 11:06:31 +02:00
JakobLichterfeld 2ac2baef62 fix(nix): update mix dependency hash in nix builds (#4695)
* fix(nix): update mix dependency hash in nix builds

* docs: update changelog
2025-04-26 10:35:10 +02:00
Jakob Lichterfeld a2850b8df8 Revert "docs: update changelog"
This reverts commit 9a5cc46e6a.
2025-04-26 10:20:55 +02:00
Jakob Lichterfeld 9a5cc46e6a docs: update changelog 2025-04-26 09:29:22 +02:00
Matthias Wirtz f03cd96b4e typos fixed 2025-04-25 20:44:56 +02:00
JakobLichterfeld 2946c88662 docs: update changelog with breaking changes description (#4691)
* docs: update changelog

* docs: add note for user which revoked permissions

* docs: update changelog
2025-04-25 19:09:02 +02:00
Matthias WirtzandJakob Lichterfeld f4cdc6c2b2 feat: use Grafana 11.6.1 to fix issues when using browser locale for date formats (#4662)
* Grafana 11.6.1

* fix #4690

* increase dateTimeAsLocal column width to 210 for en-us locale, remove obsolete config entries

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-25 16:24:36 +02:00
Jakob Lichterfeld 76c6898138 docs: update changelog 2025-04-22 11:51:51 +02:00
Matthias WirtzandJakob Lichterfeld 4b6e5bb559 fix: set $__timezone explicitly in dashboards to ensure truncation is done with respect to the Grafana timezone (#4684)
* set $__timezone explicitly

* convert to grafana timezone before to_char()

* exclude incomplete drives

* exclude incomplete drives in additional places

* docs: update changelog

* style: linter findings

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-22 11:45:36 +02:00
ca398000f8 fix(nix): non-recursive provider for ../grafana/dashboards (#4680)
* non-recursive provider for ../grafana/dashboards

* docs: update changelog

* fix(nix): fixc incorrect hashes

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
Co-authored-by: Brian May <brian@linuxpenguins.xyz>
2025-04-22 10:32:34 +02:00
Matthias WirtzandJakob Lichterfeld 38ff2a2858 fix: explicitly set height of home dashboard background image based on current layout & grafana css (#4681)
* explicitly set height of background image based on current layout & grafana css

* docs: update changelog

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-22 09:34:10 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jakob Lichterfeld
d1a0f42328 build(deps): bump phoenix_ecto from 4.6.2 to 4.6.3 (#4333)
* build(deps): bump phoenix_ecto from 4.6.2 to 4.6.3

Bumps [phoenix_ecto](https://github.com/phoenixframework/phoenix_ecto) from 4.6.2 to 4.6.3.
- [Changelog](https://github.com/phoenixframework/phoenix_ecto/blob/main/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_ecto/compare/v4.6.2...v4.6.3)

---
updated-dependencies:
- dependency-name: phoenix_ecto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-21 10:57:50 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jakob Lichterfeld
bfea76efcf 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)
* build(deps): bump react from 18.3.1 to 19.1.0 in /website

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.3.1 to 19.1.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.1.0/packages/react)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): update docusaurus to 3.7.0 and react-dom to 19.1.0 for React 19 support

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-21 10:28:42 +02:00
Matthias WirtzandJakob Lichterfeld 78e03b8153 fix: use same rated range calculation in updates dashboard as in battery health dashboard (#4682)
* limit drives in range calc to useable_battery_level > 0

this replicates the behavior used in battery health dashboard

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-21 09:31:34 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jakob Lichterfeld
6879092503 build(deps): bump ex_cldr from 2.40.2 to 2.42.0 (#4615)
* build(deps): bump ex_cldr from 2.40.2 to 2.42.0

Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.40.2 to 2.42.0.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr/compare/v2.40.2...v2.42.0)

---
updated-dependencies:
- dependency-name: ex_cldr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-19 09:24:15 +02:00
Jakob Lichterfeld 1e507ec0a4 docs: update changelog 2025-04-18 11:16:59 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jakob Lichterfeld
ad4d22848f build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /website (#4670)
* build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /website

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-18 11:16:37 +02:00
JakobLichterfeld b1bab00992 sec: upgrade esbuild to 0.25.2 and esbuild-sass-plugin to 3.3.1 to avoid GHSA-67mh-4wv8-2f99 (#4669)
* sec: upgrade esbuild to 0.25.2 and esbuild-sass-plugin to 3.3.1 to avoid GHSA-67mh-4wv8-2f99

see https://github.com/teslamate-org/teslamate/security/dependabot/60

* docs: update changelog

* style: linter findings
2025-04-18 10:51:42 +02:00
JakobLichterfeld 8923bd7de1 ci(dependabot): add ignore rules for path-based dependencies (#4666)
* ci(dependabot): add ignore rules for path-based dependencies

* docs: update changelog
2025-04-18 10:04:07 +02:00
Jakob Lichterfeld f1f1fcc86b docs: update changelog 2025-04-15 14:02:17 +02:00
Jakob Lichterfeld af4b7d0542 docs: update changelog 2025-04-15 12:54:03 +02:00
Jakob Lichterfeld 2dd3b6e525 docs: update changelog 2025-04-15 12:47:14 +02:00
Jakob Lichterfeld d12870fc3f docs: update changelog 2025-04-15 12:40:38 +02:00
54a4ee8b61 feat: check Postgres version on startup, require 16.7 / 17.3, update earthdistance extension (#4648)
* check postgres version on startup

* update earthdistance to 1.2

* detail postgres requirement

* align additional requirements

* 17 is available on nixpkgs now

* allow upcoming major as well but issue a warning

* style: linter findings

* ci: skip ghcr build for PRs from outside repo (#4660)

* ci: skip ghcr build for PRs from outside repo

* docs: update changelog

* ci: early exit if check paths triggers

* ci: improve ghcr check_if_pr_from_outside_repo logging

* feat:show tpms value to the low pressure tooltip in webview (#4654)

* Added the tpms value to the tooltip

* Update pot files

* mix format

* Revert "mix format"

This reverts commit bbfe5aaa9f.

* style: linter findings

* Update pot files

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
Co-authored-by: Nir Klinger <45952578+NirKli@users.noreply.github.com>
2025-04-15 10:53:38 +02:00
Nir KlingerandJakob Lichterfeld 2837ebf7e3 feat:show tpms value to the low pressure tooltip in webview (#4654)
* Added the tpms value to the tooltip

* Update pot files

* mix format

* Revert "mix format"

This reverts commit bbfe5aaa9f.

* style: linter findings

* Update pot files

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-15 10:29:32 +02:00
JakobLichterfeld cde0a979b7 ci: skip ghcr build for PRs from outside repo (#4660)
* ci: skip ghcr build for PRs from outside repo

* docs: update changelog

* ci: early exit if check paths triggers

* ci: improve ghcr check_if_pr_from_outside_repo logging
2025-04-15 10:21:49 +02:00
Jakob Lichterfeld bc0881723a docs: update changelog 2025-04-12 14:52:01 +02:00
Matthias WirtzandJakob Lichterfeld 012b82db25 feat: make use of car filter, add timefilter in locations dashboard (#4647)
* make use of car filter, add timefilter

* add charging_processes to last visited addresses

* docs: update changelog

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-12 13:26:23 +02:00
JakobLichterfeld 3b990e7312 ci: fix ghcr build (#4651)
* docs: update changelog

* docs: update changelog

* chore: ensure short commit hash get no spell warning

* Revert "chore: ensure short commit hash get no spell warning"

This reverts commit cc852dd55d.

* docs: update changelog to avoid typos false positive
2025-04-11 14:17:12 +02:00
JakobLichterfeld 3dcf0021a9 Revert "ci: fix ghcr build (#4649)" (#4650)
This reverts commit 477c2587d1.
2025-04-11 13:50:13 +02:00
JakobLichterfeld 477c2587d1 ci: fix ghcr build (#4649)
* ci: fix ghcr build

* docs: update changelog
2025-04-11 13:41:21 +02:00
Jakob Lichterfeld 51ebed3d1d docs: update changelog 2025-04-10 15:12:31 +02:00
JakobLichterfeld 19b92fdc7d chore(issue-template): add PostgreSQL version input and checkbox for latest version check in bug report template (#4643)
* feat: add PostgreSQL version input and checkbox for latest version check in bug report template

Enhance the bug report template by including fields for PostgreSQL version and a checkbox to confirm if the latest version is being used. This helps users provide relevant information for troubleshooting.

* docs: update changelog

* chore(issue-template): update PostgreSQL version input and checkbox descriptions in bug report template

Clarify PostgreSQL version information and ensure users check for the latest supported version.

* docs(issue-template): update PostgreSQL version label for clarity
2025-04-09 12:55:41 +02:00
Adrian Kumpf f5d0631d51 docs: update changelog 2025-04-08 19:24:04 +02:00
Jakob Lichterfeld 78b16182d8 docs: update changelog 2025-04-07 14:36:17 +02:00