MytessMytessMytess
FeaturesGet StartedPricingDocs
Contact Us
Download

Deploy TeslaMate & mytesla/teslamateapi - Setup Guide

Fresh Install: Full Docker Compose Stack

Deploy a complete TeslaMate stack from scratch using Docker Compose. Includes TeslaMate, mytesla/teslamateapi, PostgreSQL database, Grafana, and Mosquitto MQTT broker. Secrets (ENCRYPTION_KEY, DATABASE_PASS, API_TOKEN) are generated automatically. Run: docker compose up -d.

Existing TeslaMate: Add TeslaMateAPI (One-click script)

If you already have TeslaMate running, add the mytesla/teslamateapi service with one command: curl -fsSL https://mytess.net/scripts/add-teslamateapi.sh -o add-api.sh && bash add-api.sh. The script reads your existing config, generates an API token, and patches your docker-compose.yml automatically.

Existing TeslaMate: Add TeslaMateAPI (Manual / NAS)

Add a teslamateapi service block to your docker-compose.yml inside the services: section. Use image: mytesla/teslamateapi:latest. Set DATABASE_USER, DATABASE_PASS, DATABASE_NAME, DATABASE_HOST, ENCRYPTION_KEY, MQTT_HOST, and API_TOKEN environment variables to match your existing TeslaMate configuration. Then run: docker compose up -d teslamateapi.

Configure Mytess App

Open Mytess → Settings → Server Config. Enter the API address (http://your-server-ip:3030 or your public domain) and the API_TOKEN value. Tap Test Connection to verify, then select your vehicle.

Important: Use mytesla/teslamateapi image

Mytess requires the mytesla/teslamateapi image, NOT tobiasehlert/teslamateapi. The mytesla build includes custom logic for drive insights, driving analysis, push notifications, and geofence-based time-of-use billing that are not available in the standard image.

MytessMytessMytess

A beautiful iOS app for TeslaMate users. Track your Tesla data, gain insights from every drive.

Product

  • Features
  • Pricing
  • Documentation

Resources

  • Deployment Guide
  • API Configuration
  • Privacy Policy
  • Terms of Service

© 2026 Mytess. All rights reserved.