Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to the driver profile currently in use #798

Open
pfurrie opened this issue Dec 11, 2023 · 4 comments
Open

Access to the driver profile currently in use #798

pfurrie opened this issue Dec 11, 2023 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pfurrie
Copy link

pfurrie commented Dec 11, 2023

Is your feature request related to a problem? Please describe.
Not related to a problem

Describe the solution you'd like
To be able to obtain the name of the currently active driver profile. For my car, it could be "Pat" or "Mollie" or "Debbi" or "Guest"

Describe alternatives you've considered
Have considered looking to Tessie API or directly to Tesla, but this seemed to be the best first option.

Additional context
I'm unsure why this isn't already a feature, but have tried to imagine why it might be this way by design. Perhaps someone thinks this is a privacy issue? Considering that it's my car, and that the only data I'm looking to gather is which profile is in use, it is difficult to imagine why this would be of any concern. And I suppose someone might think "Why would anyone even want it?" To that I'd point out that Tessie can provide the "now_playing_artist" field (among other media info data), and the current driver profile feels as relevant, so, why not?

@skipishere
Copy link
Collaborator

The problem is the Tesla API that is currently being used is unofficial and not documented by Tesla. What has been documented has been done by others reverse engineering the API the Tesla app uses. If you know where/how (or even if it is available to the API) to get hold of this data I'm sure it could be added.

@baylanger
Copy link

baylanger commented Dec 11, 2023

@skipishere isn’t the API now officially documented?

Tesla Dev Docs

Edit…

Tesla API Docs

@skipishere
Copy link
Collaborator

@skipishere isn’t the API now officially documented?

Tesla Dev Docs

As I said, this currently uses the unofficial API that isn't documented. There is an issue raised about moving to the official API now that it exists but it's not nice and simple to swap over to, see issue #743

@alandtse
Copy link
Owner

alandtse commented Dec 12, 2023

Also this was previously requested. The unofficial API didn't seem to have the appropriate data to show the driver. #221

I'll leave this open for a little in case someone has more info or can figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants