API Configuration

Configure Mytess to connect to your TeslaMate API service

1Configure API Address

Enter your deployed TeslaMate API service address, format:

Intranethttp://192.168.1.x:3030
Publichttps://api.example.com

2Choose Authentication

No Authentication

Suitable for intranet or API protected by other means

AK/SK AuthenticationRecommended

Set API_ACCESS_KEY and API_SECRET_KEY on the API service, then enter the same pair in Mytess. They authenticate Mytess requests to TeslaMateAPI.

API_ACCESS_KEY=AKxxxxxxxxxxxxxx
API_SECRET_KEY=SKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

These keys are not Tesla account access/refresh tokens. TeslaMate uses those tokens for vehicle authorization; Mytess uses AK/SK only to access your TeslaMateAPI service.

Basic Authentication

Configure username/password via Nginx or other reverse proxy

3Remote Access (Optional)

If you need to access your TeslaMate API from outside, consider these options:

Cloudflare Tunnel
Tailscale / WireGuard
frp / ngrok
Nginx + Let's Encrypt
Test Connection

After configuration, click 'Test Connection' to verify, then select a vehicle to start using.

Common Issues

Connection Timeout

Check API address, port, firewall settings

Authentication Failed (401)

Verify authentication method and credentials

Certificate Issue

iOS requires valid HTTPS certificate, recommend using Let's Encrypt

Buy Now