Icewheel Energy Key Beacon

A minimal web app to host your Tesla public key and interact with the Fleet API.

1. Your Public Key
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOsat6GW+VbklxpNIYhTpVr+VFkAxaWQBNbR5n4Faw2U/F4KNw0n8zQdarSzu5Xr0G2u+zrqXgr+J9+3p0NDHPg== -----END PUBLIC KEY-----
2. Important: Tesla App Configuration

In your Tesla Developer account, you must configure your app with the following URLs. The values are generated based on the current domain.

3. Partner Authentication Token

You can generate a partner token directly using the command line.

curl -X POST "https://fleet-auth.prd.vn.cloud.tesla.com/oauth2/v3/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "scope=openid user_data vehicle_device_data vehicle_cmds vehicle_charging_cmds energy_device_data energy_cmds offline_access" \
-d "audience=https://fleet-api.prd.na.vn.cloud.tesla.com"
4. Domain
5. Actions

Register your domain with Tesla in one or more regions.

Regions:

Verify that your domain is correctly registered.

Regions: