at0dd / tesla-api

An unofficial .NET implementation of the Tesla API.
https://www.nuget.org/packages/Tesla-API/
MIT License
15 stars 14 forks source link

Tesla not returning location data by default #83

Closed MischaWeerwag closed 11 months ago

MischaWeerwag commented 1 year ago

https://developer.tesla.com/docs/fleet-api#vehicle_data

2023-10-24: Vehicle data update on firmware versions 2023.38+

Vehicles running firmware versions 2023.38+ will not return location information by default in vehicle data. Developers who need that information will need to add "location_data" parameter to the query, see here. This will result in a location sharing icon to show on the vehicle UI.

Important: Fetching vehicle data periodically is not recommended, check out Fleet Telemetry for streaming needs.

We should add this ?endpoints=location_data to GET /api/1/vehicles/{id}/vehicle_data for backward compatibility 👯

https://github.com/at0dd/tesla-api/pull/84 NOT TESTED

MischaWeerwag commented 1 year ago

Tested latest commit, which adds all possible endpoint to give backward compatibility.

at0dd commented 11 months ago

Merged!