Back to Trending
Repository
yekk-me

yekk-me/teslamate-mytess-docker

Docker Compose deployment scripts for TeslaMate with Mytess iOS app integration. Quick setup with pre-configured TeslaMateAPI.

51stars
3forks
3issues
1views

Mytess(iOS app)TeslaMate Deployment Scripts

English | 中文

Quick deployment scripts for TeslaMate with Mytess integration

About Mytess

Mytess is a beautiful native iOS app that transforms your TeslaMate data into actionable insights on your iPhone.

Mytess Dashboard Mytess Drive Insights

Key Features

Smart Drive Insights

Analyze your driving efficiency with "Golden Foot" scoring, safety distance analysis, and low temperature regeneration alerts.

Drive Insights Drive Analysis

Intelligent Charging Cost Calculation

Geofence-based automatic location identification with time-of-use (ToU) pricing support. Batch cost updates for historical data.

Charging Costs Cost Management

Interactive Map Mode

Visualize all drive routes on map with timeline selector for trip exploration and detailed elevation insights.

Map Mode Route Visualization

Real-time Notifications

Charging status alerts with Live Activity support on Dynamic Island and navigation sync.

Notifications Live Activity

Privacy First

All data stays on your own server with no third-party data sharing. Direct connection to your TeslaMate instance.

Download: App Store | Website: mytess.net


About This Repository

This repository provides:

  • Docker Compose configurations for TeslaMate deployment
  • Pre-configured TeslaMateAPI for Mytess iOS app connectivity
  • Enhanced deployment with modern web interface and unified authentication

Why These Deployment Scripts?

  • Mytess-Ready: Pre-configured TeslaMateAPI for seamless Mytess app connectivity
  • Modern Interface: Optional Mytesla Dash with unified authentication
  • One-Command Deployment: Get TeslaMate running in minutes

Quick Start

Option 1: Official TeslaMate (International Users)

Uses official TeslaMate images. Suitable for international users.

git clone https://github.com/yekk-me/teslamate-mytess-docker.git
cd teslamate-mytess-docker/script
docker compose up -d

Access points:

  • TeslaMate: http://your-ip:4000
  • Grafana: http://your-ip:3000
  • TeslaMateAPI: http://your-ip:3030

Official TeslaMate/Grafana with Mytesla enhancement components.

git clone https://github.com/yekk-me/teslamate-mytess-docker.git
cd teslamate-mytess-docker/script
docker compose -f docker-compose-with-mytesla.yml up -d

Access points:

  • Unified entry: http://your-ip (redirects to Dashboard)
  • TeslaMate: http://your-ip/teslamate
  • Grafana: http://your-ip/grafana
  • TeslaMateAPI: http://your-ip/mytesla/api
  • Default login: admin / admin123

Image composition:

  • TeslaMate: teslamate/teslamate:v2.2 (official)
  • Grafana: teslamate/grafana:v2.2 (official)
  • Mytesla components: Auth, Dash, TeslaMateAPI, Env-Adapter

Mytesla version advantages:

  • Official TeslaMate/Grafana for latest updates
  • Traefik reverse proxy with unified authentication
  • Modern Mytesla Dash web interface (mobile-friendly)
  • Enhanced TeslaMateAPI (full Mytess iOS app support)
  • Single-port access to all services
  • Production-ready security architecture

Connecting Mytess to Your TeslaMate

  1. Find your TeslaMateAPI endpoint

    • Basic version: http://your-ip:3030
    • Mytesla Dash version: http://your-ip/mytesla/api
  2. Open Mytess app

    • Go to Settings → Server Configuration
    • Enter your server URL
    • Enter your API token (set in API_TOKEN environment variable)
  3. Test connection

    • Tap "Test Connection"
    • If successful, you'll see your vehicle data

Configuration

Security Settings (MUST CHANGE)

Before production deployment, change these environment variables:

# Authentication (Mytesla Dash version)
AUTH_USERNAME=admin              # Change this!
AUTH_PASSWORD=admin123           # Change this!
SECRET_KEY=change-me-random-32   # Change this!

# TeslaMate encryption
ENCRYPTION_KEY=change-me-random  # Change this!

# Database
POSTGRES_PASSWORD=teslamate      # Change this!

# API Token (for Mytess app)
API_TOKEN=change-me-token        # Change this!

Generate secure keys:

openssl rand -base64 32

For detailed configuration instructions, see script/README.md.

Architecture

Basic Version

┌─────────────┐
│  TeslaMate  │ ← Collects Tesla data
└──────┬──────┘
       │
┌──────▼──────┐
│ PostgreSQL  │ ← Stores data
└──────┬──────┘
       │
┌──────▼──────────┐
│ TeslaMateAPI    │ ← Provides API
└──────┬──────────┘
       │
┌──────▼──────┐
│   Mytess    │ ← iOS app
└─────────────┘

Mytesla Dash Version

Includes Traefik reverse proxy for unified authentication and modern web dashboard.

Troubleshooting

Cannot access from mobile

  • Check firewall allows required ports (80, 3030 for basic; 80 for Mytesla Dash)
  • Verify server is accessible from mobile network
  • Try accessing from browser first

Mytess connection failed

  • Verify TeslaMateAPI is running: docker compose ps
  • Check API_TOKEN matches between config and Mytess app
  • Ensure URL format is correct (include http://)

Map not loading in TeslaMate

  • Check TeslaMate logs if map doesn't load: docker compose logs teslamate
  • Verify network connectivity to OpenStreetMap servers

Documentation

Community & Support

FAQ

Q: Do I need to pay for these scripts? A: No, these deployment scripts are completely free. Mytess is a separate $9.9 iOS app available on the App Store.

Q: What's the difference between Grafana and Mytesla Dash? A: Grafana provides detailed data visualization with customizable dashboards. Mytesla Dash is a modern, mobile-friendly alternative with unified authentication and simpler setup.

Q: Does Mytesla Dash require a license? A: Yes, Mytesla Dash requires a one-time authorization. For licensing inquiries, please contact hi@mytesla.cc.

Q: Can I use Mytess with my existing TeslaMate installation? A: Yes! You only need TeslaMateAPI running. See the deployment guide for adding TeslaMateAPI to existing setups.

Q: Is my data secure? A: Yes! All data stays on your own server. Mytess connects directly to your TeslaMate instance - no third-party servers involved.

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
gogs/gogs

The painless way to host your own Git service

48.0k
Nov 26, 2026
RepositoryJavaScript
louislam/uptime-kuma

A fancy self-hosted monitoring tool

95.1k
Nov 30, 2026
RepositoryGo
netdata/netdata

Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations

81.7k
Nov 30, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.9k
Dec 2, 2026
RepositoryTypeScript
appwrite/appwrite

The open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and more

58.8k
Dec 2, 2026
RepositoryGo
IceWhaleTech/CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

37.8k
Nov 17, 2026
RepositoryTypeScript
usememos/memos

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

64.8k
Dec 1, 2026
RepositoryTypeScript
makeplane/plane

🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

63.6k
Dec 1, 2026
RepositoryTypeScript
fastapi/full-stack-fastapi-template

Full-stack web application template with FastAPI, React, SQLModel, PostgreSQL, Vite, Tailwind CSS, shadcn/ui, FastAPI Cloud, and Docker Compose.

46.3k
Nov 26, 2026