alandtse / tesla

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
Apache License 2.0
555 stars 99 forks source link

Car: #940

Closed darkm20 closed 2 months ago

darkm20 commented 2 months ago

Is there an existing issue for this?

I have read about the Fleet API and understand I may need to use it

Version of the Tesla component

v3.20.5

Version of the Tesla car software

2024.8.7

Model

Model Y

Current Behavior

After having installed the Tesla Proxy App and having it registered correctly, Home Assistant is not able to authenticate.

Expected Behavior

Be authenticated

Debug logs

2024-04-11 11:29:44.720 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 7:59:59
2024-04-11 11:29:44.720 DEBUG (MainThread) [teslajsonpy.connection] get: https://c03d64a7-tesla-http-proxy/api/1/products {}
2024-04-11 11:29:44.791 DEBUG (MainThread) [teslajsonpy.connection] 412: {"error":"Account 6d83d417f881-4c7a-8080-0bcab5febaa8 must be registered in the current region https://fleet-api.prd.eu.vn.cloud.tesla.com, please see https://developer.tesla.com/docs/fleet-api#register"}

Anything else?

No response

skipishere commented 2 months ago

I think this is one for https://github.com/llamafilm/tesla-http-proxy-addon as the error message implies you are using the wrong endpoint for your car's region