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
599 stars 99 forks source link

Beginning with 2023.38, location tracking fails #756

Closed dennypage closed 1 year ago

dennypage commented 1 year ago

Beginning with 2023.38, Tesla introduced controls on location sharing. Location information now requires an approval grant from within the vehicle.

Relevant information can be found in the vehicle_data endpoint in the Fleet API doc:

_For vehicles running firmware versions 2023.38+, locationdata is required to fetch vehicle location. This will result in a location sharing icon to show on the vehicle UI.

fgonza2 commented 1 year ago

i am seeing this issue as well, how can you approve it in-vehicle so it works?

dennypage commented 1 year ago

Not sure if it can be fixed with the current API...

darek-margas commented 1 year ago

So goodbye tracking in apps?

purcell-lab commented 1 year ago

Fix available for teslapy, presumably it needs to be ported to teslajsonpy before it can make it into this Home Assistant integration.

https://github.com/tdorssers/TeslaPy/issues/147

oakedcorn commented 1 year ago

Issue logged in teslajsonpy: https://github.com/zabuldon/teslajsonpy/issues/434

MrNickIE commented 1 year ago

A fix is available for TeslaMate in a fork https://github.com/teslamate-fork/teslamate-fork#installation-of-the-fork-with-the-fix-for-tesla-fw-2023381

Can this same code fix be applied to this Integration?