# TeslaMate

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

Source: https://talira.ai/catalog/teslamate-2b8r0zdq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [automotive / electric vehicles / data loggers](https://talira.ai/categories/automotive/electric-vehicles/data-loggers), [self hosted](https://talira.ai/categories/self-hosted)
- Platforms: web, docker, linux[^8][^12]
- Licence: AGPL-3.0-or-later[^9][^10][^11]
- Pricing: Free and open source[^9][^10]
- Pricing notes: Free and open source under AGPL-3.0-or-later; there's no hosted version or paid plan.
- Free tier: yes[^9][^10]
- Self-hostable: yes[^8][^9]
- Backed by: [TeslaMate](https://talira.ai/orgs/teslamate.md)
- Creator: Adrian Kumpf (initial author)

TeslaMate is a self-hosted data logger for Tesla cars: it records drives, charges, battery state, software updates and when each car was online or asleep, and lets the car fall asleep as soon as possible so logging adds no vampire drain. It's written in [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md), stores its data in [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) and ships more than 20 [Grafana](https://talira.ai/catalog/grafana-y52f1g3g.md) dashboards, among them battery health, charging stats, efficiency, projected range, vampire drain, trips and a lifetime driving map. It publishes live vehicle data to an MQTT broker, which is how it connects to [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md), [Node-RED](https://talira.ai/catalog/node-red-r5d3hf1b.md) and [Telegram](https://talira.ai/catalog/telegram-yb0f3wse.md), and it tracks charge costs, has geofences for custom locations, supports several cars per Tesla account and imports history from TeslaFi and tesla-apiscraper. It runs with [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) Compose (or as a [NixOS](https://talira.ai/catalog/nixos-ygtdyfk0.md) module) on a machine that's always on, signs in with Tesla API tokens you generate with a separate app, and is free under AGPL-3.0-or-later, with no hosted version.

## Links

- Website: https://docs.teslamate.org/
- GitHub: https://github.com/teslamate-org/teslamate
- Docs: https://docs.teslamate.org/

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/teslamate-1bq7vib0e9act3>[^1]
- [TrueNAS](https://talira.ai/catalog/truenas-pt2m6pd4.md): <https://apps.truenas.com/catalog/teslamate_community/>[^2]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/teslamate>[^3]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/teslamate>[^4]

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/teslamate>[^5]

## Problems it solves

- I want a detailed log of every drive and charging session of my Tesla on my own server
- track my Tesla's battery degradation over the years without paying for a subscription
- how much does charging my electric car at home actually cost me per month
- a self-hosted TeslaFi alternative that keeps my car's data private
- see where my EV loses range overnight while it's parked (vampire drain)
- my car logger keeps the car awake and drains the battery
- show my Tesla's charge level and location in Home Assistant
- automate my garage or heating based on whether my Tesla is home and charging
- get a Telegram message when my car finishes charging or a software update is available
- a map of everywhere I've ever driven my electric car
- compare my EV's real energy consumption per trip and in different temperatures
- keep a history of the firmware updates installed on my Tesla
- log two Teslas on the same account and compare their efficiency
- export my car's drive history into Grafana dashboards I can customise
- mark home, work and my usual charger as named places so trips read nicely
- move years of TeslaFi history into a logger I run myself
- run a Tesla data logger on a Raspberry Pi in my homelab
- see the projected range of my car at 100% charge over time to judge battery health
- a dashboard of my electric car's charging speed on each supercharger visit
- publish live vehicle data such as speed, charge state and doors to my MQTT broker

## Features

- high-precision recording of drives and charging sessions
- lets the car fall asleep as soon as possible so logging adds no vampire drain
- automatic address lookup through OpenStreetMap
- geofences to name custom locations such as home and work
- several vehicles per Tesla account
- charge cost tracking
- import from TeslaFi and tesla-apiscraper
- more than 20 bundled Grafana dashboards, including battery health, charging stats, efficiency, projected range, timeline, trips, vampire drain and a lifetime map
- vehicle data published to a local MQTT broker for Home Assistant, Node-RED and Telegram
- web interface in 19 languages, with light, dark and system themes
- Tesla Fleet API and Fleet Telemetry support for Tesla Business Fleet accounts
- Docker images for amd64 and arm64, and a NixOS module
- guides for HTTP Basic Auth and TLS behind Traefik or Apache

## Limitations

- No public API: MQTT is the only supported integration, and reading its database or web routes directly will break without notice[^6]
- Can't recover drives or charges missed while logging was stopped: Tesla's API doesn't provide historical data[^6]
- Doesn't create Tesla API tokens itself: you generate them with a separate app such as Tesla Auth[^7]
- No 32-bit ARM (armv7) images: Raspberry Pi users need a 64-bit OS on a Pi 3 or newer[^8]

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- has a company behind it
- created by Adrian Kumpf (initial author)

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://ca.unraid.net/api/apps/teslamate-1bq7vib0e9act3 (checked 20 Nov 2026)
[^2]: https://apps.truenas.com/catalog/teslamate_community/ (checked 20 Nov 2026)
[^3]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/teslamate.sh (checked 21 Nov 2026)
[^4]: https://railway.com/deploy/teslamate (checked 20 Nov 2026)
[^5]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^6]: https://docs.teslamate.org/docs/faq (checked 20 Nov 2026)
[^7]: https://docs.teslamate.org/docs/installation/tokens (checked 20 Nov 2026)
[^8]: https://docs.teslamate.org/docs/installation/docker (checked 20 Nov 2026)
[^9]: https://github.com/teslamate-org/teslamate/blob/main/README.md (checked 20 Nov 2026)
[^10]: https://github.com/teslamate-org/teslamate/blob/main/LICENSE (checked 20 Nov 2026)
[^11]: https://github.com/teslamate-org/teslamate/blob/main/NOTICE (checked 20 Nov 2026)
[^12]: https://docs.teslamate.org/docs/installation/nixos (checked 20 Nov 2026)
