TeslaMate

TeslaMate is a powerful, self-hosted data logger for your Tesla.

  • Databases
  • Home Automation
  • Monitoring & Logging
  • Tools & Utilities
TeslaMate is a powerful, self-hosted data logger for your Tesla. Postgres is required to save logged data.

Platform availability

Available on 4 of 10 platforms

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

84/100 Excellent

Maintained
100last commit 5 days ago
Popular
799,275 GitHub stars
Easy to install
654 install platforms, install notes, Docker image
Light to run
801 GB minimum RAM, runs on ARM
Security check
82no serious findings, 3 minor, CI, tests

Availability: platform listings confirmed today, links checked 2 days ago

GitHub stars
9,275
Open issues
73
Last commit
2026-11-16
Latest release
v4.4.0
License
AGPL-3.0
Activity
declining

Checked 5 days ago - source: GitHub (teslamate-org/teslamate)

Resources & Compatibility

Minimum requirements: 1 GB RAM. ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set ENCRYPTION_KEY before first start Put a long random value in ENCRYPTION_KEY (the secret used to unlock saved Tesla tokens) before starting the container, and keep it safe. TeslaMateAPI uses it to decrypt the stored Tesla access token, so losing it can stop car commands from working. source
  • Point it at TeslaMate and MQTT In the container's environment variables (the settings passed to the container), set DATABASE_HOST to your TeslaMate database and MQTT_HOST to your MQTT broker, and open port 8080 (the network port for the API). Without these, the API cannot read vehicle data or send commands to your Tesla. source
  • Use the car’s numeric ID in URLs When calling the API, include the car ID in the path, for example /api/v1/cars/1/command/charge_start. The API needs that number to know which Tesla to wake up, charge, or control. source
  • Database A PostgreSQL database is required to store logged vehicle data. source

Fetched today - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What should I do if my Tesla does not appear in TeslaMate?

Click Reload vehicles on the car overview or the Settings page.

Can TeslaMate log more than one Tesla that belongs to the same Tesla account?

Yes, it supports multiple vehicles per Tesla Account.

Can I import existing Tesla data into TeslaMate?

It can import data from TeslaFi and tesla-apiscraper.

How can TeslaMate be used with Home Assistant, Node-Red, or Telegram?

Vehicle data is published to a local MQTT broker, which enables Home Assistant, Node-Red, and Telegram integrations.

How can I reduce the risk of using a malicious TeslaMate version?

Use only official TeslaMate versions, because deceptive websites and unofficial mobile apps may distribute modified or harmful versions that can put Tesla account credentials and vehicle data at risk.

Answers sourced from docs.teslamate.org, github.com

Community

Collected 48 days ago - public community threads