A self-hosted data logger for your Tesla 🚘 [main maintainer=@JakobLichterfeld] https://docs.teslamate.org
  • Elixir 84.1%
  • HTML 6.1%
  • Nix 2.6%
  • MDX 2.3%
  • JavaScript 1.8%
  • Other 3%
Find a file
2026-02-28 17:20:09 +01:00
.github build: use Elixir 1.19.5 OTP 26 (#5130) 2026-02-12 11:39:26 +01:00
assets feat: use Bulma 1 for dark theme and revised it (#5112) 2026-02-21 23:01:51 +01:00
config feat: use Bulma 1 for dark theme and revised it (#5112) 2026-02-21 23:01:51 +01:00
grafana Grafana 12.4.0 (#4965) 2026-02-28 14:55:05 +01:00
lib fix(vehicle): update state transition to handle offline scenario after a drive end with no network (#5152) 2026-02-28 14:56:10 +01:00
nix feat: use Bulma 1 for dark theme and revised it (#5112) 2026-02-21 23:01:51 +01:00
priv build(deps): update & bump mix deps (#5139) 2026-02-13 18:16:54 +01:00
test fix(vehicle): update state transition to handle offline scenario after a drive end with no network (#5152) 2026-02-28 14:56:10 +01:00
website chore(website): bump serialize-javascript to version 7.0.3 to solve CWE-96 (#5156) 2026-02-28 16:27:04 +01:00
.credo.exs Add credo lint support (#3452) 2023-11-22 12:49:28 +01:00
.dialyzer_ignore.exs Add Dialyzer 2023-06-10 18:44:18 +02:00
.dockerignore Migrate from webpack to esbuild 2021-09-22 22:07:14 +02:00
.envrc fix: Avoid the need for impure for devenv (#4245) 2024-10-06 08:35:54 +02:00
.formatter.exs feat: Upgrade web development framework to Phoenix 1.7 (#3615) 2024-02-07 19:23:53 +01:00
.gitignore feat: Respect Retry-After header on 429 response code (#3943) 2024-06-07 10:10:35 +02:00
.markdownlint.yaml style(docs): fix line length fenced-code-style, no bare url links, multiple whitespaces, alt text, header style 2025-02-23 14:20:57 +01:00
.node-version build: update website dependencies, doc: fix markdown linter warnings in faq (#4046) 2024-07-06 15:15:14 +02:00
.typos.toml perf: Replace positions indexes from BTREE to BRIN to reduce memory usage (#5075) 2026-01-08 14:30:18 +01:00
CHANGELOG.md build: prepare v3.0.1-dev 2026-02-28 17:20:09 +01:00
CONTRIBUTING docs: add contributing guidelines (#4345) 2024-11-02 10:28:30 +01:00
coveralls.json ci: add treefmt as code formatting multiplexer, refactor CI to avoid duplication, reorg CI into DevOps workflow (#4219) 2024-10-14 08:54:10 +02:00
Dockerfile build: use Elixir 1.19.5 OTP 26 (#5130) 2026-02-12 11:39:26 +01:00
entrypoint.sh feat: Add ulimit cap to prevent memory bloat in some misconfigured versions of Docker/containerd Hosts (e.g. on Debian 13) 2025-11-05 16:45:52 +01:00
flake.lock build(deps): update flake.lock (#5154) 2026-02-28 15:50:26 +01:00
flake.nix feat(nix): use nixos-25.11 (#5062) 2026-02-11 09:07:52 +01:00
LICENSE Relicense TeslaMate: Transition from MIT to GNU AGPLv3 and add trademark (#5131) 2026-02-13 13:28:05 +01:00
Makefile Read version from file 2020-10-04 19:09:17 +02:00
mix.exs feat: use Bulma 1 for dark theme and revised it (#5112) 2026-02-21 23:01:51 +01:00
mix.lock build(deps): bump floki & gettext, remove override on ranch, require elixir 1.19 (#5142) 2026-02-14 16:35:53 +01:00
README.md Relicense TeslaMate: Transition from MIT to GNU AGPLv3 and add trademark (#5131) 2026-02-13 13:28:05 +01:00
SECURITY.md Create SECURITY.md 2021-09-30 19:19:29 +02:00
TRADEMARK.md Relicense TeslaMate: Transition from MIT to GNU AGPLv3 and add trademark (#5131) 2026-02-13 13:28:05 +01:00
treefmt.toml docs: update Home Assistant integration documentation with configuration URL and model name hints (#4359) 2024-11-06 15:50:05 +01:00
VERSION build: prepare v3.0.1-dev 2026-02-28 17:20:09 +01:00

TeslaMate

License OpenSSF Best Practices CI Publish Docker images Coverage current version docker image size docker pulls

A powerful, self-hosted data logger for your Tesla.

  • Written in Elixir
  • Data is stored in a Postgres database
  • Visualization and data analysis with Grafana
  • Vehicle data is published to a local MQTT Broker

⚠️ Security Warning

[!CAUTION] Use Official Versions Only

To protect yourself from malicious forks, malware, and data theft, please ensure you only obtain TeslaMate from the official source:

We have received reports of deceptive websites and unofficial mobile apps (e.g. on the App Store) using the TeslaMate name to distribute modified or harmful versions. If you are using a version from another source, your Tesla account credentials and vehicle data may be at risk.

Documentation

The documentation is available at https://docs.teslamate.org

Features

General

  • High precision drive data recording
  • No additional vampire drain: the car will fall asleep as soon as possible
  • Automatic address lookup
  • Easy integration into Home Assistant (via MQTT)
  • Easy integration into Node-Red & Telegram (via MQTT)
  • Geo-fencing feature to create custom locations
  • Supports multiple vehicles per Tesla Account
  • Charge cost tracking
  • Import from TeslaFi and tesla-apiscraper
  • Customizable theme mode (light, dark, or system default)

Dashboards

Sample screenshots of bundled dashboards can be seen by clicking the links below.

Screenshots

Sneak peak into TeslaMate interface and bundled dashboards. See the docs for additional screenshots.

Web Interface

Drive Details

Battery Health

License

TeslaMate is licensed under the GNU Affero General Public License v3.0 (AGPLv3).

This license is designed to ensure that TeslaMate remains free and open for everyone. By using, modifying, or building upon this project, you agree to the following:

  • Reciprocal Sharing (Copyleft): If you modify TeslaMate or incorporate it into another project, you must release the entire source code of your version under the same AGPLv3 license.
  • Universal Access to Source: This requirement applies regardless of how you provide the software to others—whether you distribute it as a downloadable application (e.g., in an App Store), as a pre-packaged image, or provide access to its functionality via a network service (SaaS).
  • No Closed-Source Derivatives: We do not permit the use of TeslaMate or its components in closed-source commercial products. If your software interacts with or relies on TeslaMate, it must be open-source. If you build upon this project, you are expected to contribute back to the community.

For the full legal terms, please refer to the LICENSE file.

Key Requirements:

  • Copyleft: If you modify TeslaMate and distribute it (e.g., as an app, binary, or package) or offer it as a service over a network (SaaS), you must make your modified source code available to all users under the same AGPLv3 license.
  • No "Closed" Forks: This license ensures that improvements made by commercial entities or third parties remain open to the entire community.
  • Attribution: You must keep all original copyright notices and license information intact.

Trademark Policy: The use of the TeslaMate name and logo is governed by our Trademark Policy.

Contributions: All contributors must sign our Contributor License Agreement. This is handled via cla-assistant.io automatically on first PR and does not take long. Why do we need this? It guarantees that TeslaMate will always remain Free Software (AGPL-3.0) and allows the teslamate-org to legally defend the project against license violations.

Star History

Star History Chart

Credits

  • Initial Author: Adrian Kumpf
  • List of Contributors:
  • TeslaMate Contributors