TeslaMate-Grafana

TeslaMate-Grafana

Docker app from CorneliousJD's Repository

Overview

A custom grafana image that auto provisions the datasource and dashboards for use with the TeslaMate container. Default user/pass is admin/admin Note, this container will need permission to write to the /mnt/user/appdata/teslamate/grafana/ directory - please adjust permissions accordingly. An easy way to do this is as follows... BEFORE adding this container, run the following command on your Unraid system, just copy/paste the entire command into the Unraid web terminal. mkdir /mnt/user/appdata/teslamate && mkdir /mnt/user/appdata/teslamate/grafana && chmod 0777 /mnt/user/appdata/teslamate/grafana If you run the container w/out this command and it fails to allow creating the SQLite DB, then an easy way to allow the proper permissions after would be just to do a chmod 0777 /mnt/user/appdata/teslamate/grafana

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)
  • Web interface in 19 languages (Catalan, Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Japanese, Korean, Norwegian Bokmål, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish, Ukrainian); untranslated text falls back to English

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 or later (AGPL-3.0-or-later). See NOTICE for the copyright notice, the additional terms under section 7 of the AGPL, and the trademark notice. For the full legal terms, please refer to the LICENSE file.

This license is designed to ensure that TeslaMate remains free and open for everyone and that improvements made by commercial entities or third parties remain open to the entire community. By using, modifying, or building upon this project, you agree to the following:

  • Copyleft: If you modify TeslaMate or incorporate it into another project, you must release the entire source code of your version under the same license (AGPL-3.0-or-later). This applies regardless of how you provide the software to others, in any form, including, without limitation, as a downloadable application, a binary, a package, a pre-packaged image, or a network service (SaaS).
  • No Closed-Source Derivatives: We do not permit the use of TeslaMate or its components in closed-source products. Any software made to work with TeslaMate, including, without limitation, apps, dashboards, integrations, and services, must be open-source under an AGPL-compatible license. Software that integrates with TeslaMate may do so only via the supported integration surface (MQTT). If you build upon this project, you are expected to contribute back to the community.
  • Attribution: You must keep all original copyright notices, the NOTICE file, and license information intact, and clearly mark modified versions as modified.

Trademark Policy: The use of all trademarks of the TeslaMate project is governed by our Trademark Policy.

Disclaimer: TeslaMate is an independent project and is not affiliated with, endorsed by, or sponsored by Tesla, Inc. "Tesla" and related marks are trademarks of Tesla, Inc.

Contributions: All contributors must sign our Fiduciary License Agreement (FLA 2.0). 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 and allows the teslamate-org to legally defend the project against license violations.

Popularity

teslamate-org/teslamate on Trendshift

Star History Chart

Credits

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

Requirements

TeslaMate

Categories

Download Statistics

23,346,699
Total Downloads
428,370
This Month
335,674
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
teslamate/grafana
Last Updated2026-10-04
First Seen2022-07-25

Runtime arguments

Web UI
http://[IP]:[PORT:3000]
Network
bridge
Shell
sh
Privileged
false

Template configuration

Web InterfacePorttcp
Target
3000
Default
3333
Value
3333
TeslaMate Database UsernameVariable
Target
DATABASE_USER
Default
teslamate
Value
teslamate
TeslaMate Database PasswordVariable
Target
DATABASE_PASS
Value
password
TeslaMate Database NameVariable
Target
DATABASE_NAME
Default
teslamate
Value
teslamate
PostgreSQL Database HostVariable
Target
DATABASE_HOST
Value
10.0.0.10
AppDataPathrw
Target
/var/lib/grafana/
Default
/mnt/user/appdata/teslamate/grafana/
Value
/mnt/user/appdata/teslamate/grafana/
GF_SERVER_ROOT_URLVariable
Value
https://teslamate-grafana.domain.com