TeslaMate iOS App Setup Guide — Mytess Documentation
Get started with Mytess, the best TeslaMate iOS app, in three simple steps. This guide walks you through deploying the API service, connecting the app, and viewing your Tesla data.
Step 1 — Deploy TeslaMateAPI
Deploy the mytesla/teslamateapi service alongside your TeslaMate instance using Docker Compose. If you are starting from scratch, use our one-line install script: curl -fsSL https://mytess.net/scripts/mytess-install.sh | bash. This automatically sets up TeslaMate, the API service, PostgreSQL, Grafana, and Mosquitto MQTT broker. If you already have TeslaMate running, add the teslamateapi service to your existing docker-compose.yml and run docker compose up -d.
Step 2 — Configure the Mytess iOS App
Download Mytess from the App Store. Open the app and go to Settings. Enter your TeslaMateAPI address (e.g. http://your-server-ip:8080) and API token. Tap Test Connection to verify. If your server is behind a Cloudflare Tunnel or reverse proxy, enter the public HTTPS URL. You can also enable Basic Auth or use Cloudflare Service Auth (CF-Access-Client-Id / CF-Access-Client-Secret headers) for extra security.
Step 3 — View Your Tesla Data
Once connected, Mytess displays your Tesla's real-time status, battery health, trip history, charging costs, and statistics. Enable push notifications in Settings to receive alerts for charge complete, parking overtime, and more. A one-time PRO upgrade ($9.9) unlocks all premium features including battery degradation tracking, drive insights, advanced statistics, and Live Activity on the Dynamic Island.
Need Help?
Visit the FAQ page for common issues, or join our Telegram group for community support. You can also email us at hi@mytesla.cc.
TeslaMate API Configuration — Mytess iOS App
This guide explains how to configure the Mytess TeslaMate iOS app to connect to your self-hosted TeslaMate API service. Supported authentication methods include API token, Basic Auth, and Cloudflare Service Auth. Remote access is supported via Cloudflare Tunnel, Tailscale, or any HTTPS reverse proxy.
Step 1 — Obtain your API address and token
After deploying mytesla/teslamateapi using Docker Compose, find your server IP and exposed port (default 8080). Your API_TOKEN is defined in your docker-compose environment. Example API address: http://192.168.1.100:8080.
Step 2 — Configure the Mytess iOS app
Open the Mytess app on your iPhone or iPad. Navigate to Settings → API Configuration. Enter:
- API Address: Your TeslaMateAPI URL (HTTP or HTTPS)
- API Token: The token you set in docker-compose
Tap Test Connection. A success message confirms the connection is working. Your Tesla data will start loading immediately.
Remote Access via Cloudflare Tunnel
To access TeslaMate outside your local network without port forwarding, use Cloudflare Tunnel. Create a tunnel in the Cloudflare Zero Trust dashboard pointing to your teslamateapi container (port 8080). Enter the public HTTPS tunnel URL in Mytess Settings. For additional security, create a Cloudflare Access Service Token and configure it in the app (CF-Access-Client-Id and CF-Access-Client-Secret).
Remote Access via Tailscale
Install Tailscale on your server and your iPhone. Join the same Tailnet. Use the Tailscale IP address of your server (e.g. http://100.x.x.x:8080) as the API address in Mytess. No port forwarding required. Works securely over any network.
Basic Authentication
If your reverse proxy (Nginx, Caddy, etc.) requires HTTP Basic Auth, enable it in Mytess Settings under Advanced. Enter your username and password. The app appends the Authorization header to all API requests.
Common Issues
- Connection refused: Ensure the teslamateapi container is running (
docker compose ps) and the port is not blocked by a firewall. - 401 Unauthorized: Check that your API_TOKEN matches what is configured in the app.
- Homepage shows no data: Restart TeslaMate services with
docker compose restartto trigger MQTT data push. - SSL certificate error: Ensure your reverse proxy uses a valid TLS certificate. Self-signed certs are not supported.
API 설정
Mytess를 TeslaMate API 서비스에 연결
1API 주소 설정
TeslaMate API 서비스 주소 입력, 형식:
2인증 방법 선택
내부 네트워크 환경 또는 다른 방법으로 보호된 API용
API 서비스 환경 변수에서 설정
API_TOKEN=your_secret_tokenNginx 등 리버스 프록시에서 사용자명/비밀번호 설정
3원격 접근 (선택)
외부에서 TeslaMate API에 접근하려면:
설정 후 '연결 테스트'를 클릭하여 확인하세요.
자주 묻는 질문
API 주소, 포트, 방화벽 설정 확인
인증 방법과 자격 증명 확인
iOS는 유효한 HTTPS 인증서 필요, Let's Encrypt 추천