TeslaMate

A self-hosted data logger that records high precision drive data and charging costs for Tesla vehicles.

TeslaMate screenshot 1

TeslaMate is a self-hosted data logger designed to record high precision drive data and charging costs for Tesla vehicles. It functions as a server application that collects vehicle information via the Tesla API and stores it for long term analysis. By hosting the software on a private server, users maintain ownership of their vehicle telemetry and historical records.

The software is typically deployed using Docker and is compatible with various hardware environments, including a Raspberry Pi. It provides a web interface for management and utilizes a dedicated database to maintain historical records of vehicle activity, energy usage, and trip history. The system is designed to minimize vampire drain, ensuring the vehicle falls asleep as soon as possible after data collection.

Key features

  • High precision recording of drive data
  • Tracking of charging costs
  • Automatic address lookup for trips
  • Geo-fencing to create custom locations
  • Support for multiple vehicles per account
  • Integration with Home Assistant and Node-Red via MQTT
  • Import functionality for TeslaFi and tesla-apiscraper data
  • Customizable light and dark theme modes

TeslaMate is written in Elixir and uses a Postgres database for persistent data storage. For visualization and detailed data analysis, it integrates with Grafana to provide a set of bundled dashboards that transform raw database entries into readable charts and maps. The system publishes real-time vehicle data to a local MQTT broker, which enables connectivity with other home automation tools and notification services such as Telegram.

The architecture relies on a combination of a backend server, a database, and a visualization layer. This setup allows for the storage of granular data points that are often unavailable in standard vehicle logs. The software is licensed under the GNU Affero General Public License v3.0, which requires that any modifications to the source code remain open and available to the community.

This application is intended for Tesla owners who want full control over their vehicle data through a self-hosted infrastructure.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity15 days ago
Repository Age7 years
LicenseAGPL-3.0
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.