Skip to content

Conversation

@alexw23
Copy link
Contributor

@alexw23 alexw23 commented May 29, 2025

Removing the type parameter was never used (it appears to have been copied from other navigate_* methods), so it’s been removed.

Side Note: How to find id

The id used in navigation_sc_request, is completely undocumented by Tesla. It took a while to figure out (as none of the IDs published publicly match this). However with some sniffing I finally found it.

With mitmproxy installed on your device, open Tesla App and head to Locations > Charging. Then select a charger, you'll see an API request like this.

POST https://akamai-apigateway-charging-ownership.tesla.com/graphql?deviceLanguage=en&deviceCountry=AU&ttpLocale=en_AU&vin=XXXXXXX&operationName=getChargingSiteInformation
Content-Type: application/json

Check the response body and you'll see a fastchargeSiteId, this will be used as id in the call to navigation_sc_request.

{
  "data": {
    "charging": {
      "siteStatic": {
        ...
        "fastchargeSiteId": {
          "value": 1389   # ← use this ID
        }
        ...
      }
    }
  },
  "extensions": {
    "txId": "xxxx"
  }
}

@alexw23 alexw23 changed the title Remove unused type from navigation_sc_request and default order to 0 Remove unused type from navigation_sc_request May 29, 2025
@alexw23 alexw23 changed the title Remove unused type from navigation_sc_request Remove unreferenced/unused type from navigation_sc_request May 29, 2025
@Bre77
Copy link
Member

Bre77 commented May 29, 2025

I would have assumed the ID was in https://developer.tesla.com/docs/fleet-api/endpoints/vehicle-endpoints#nearby-charging-sites but it doesnt appear like it is. Good find @alexw23

@Bre77 Bre77 merged commit 02399e6 into Teslemetry:main May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants