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

MIssing reconfiguration possibility #36698

Open
gtzdennis opened this issue Jan 4, 2025 · 12 comments
Open

MIssing reconfiguration possibility #36698

gtzdennis opened this issue Jan 4, 2025 · 12 comments

Comments

@gtzdennis
Copy link

Feedback

From what I can see, the integration is currently missing the option to reconfigure it. I firstly set it up with a wrongly configured Tesla API Application and now have no chance to change it to the second (and correct) one I setup, but it's simply always running into an error.

URL

https://www.home-assistant.io/integrations/tesla_fleet/

Version

2025.1.0

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jan 4, 2025

Hey there @Bre77, mind taking a look at this feedback as it has been labeled with an integration (tesla_fleet) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of tesla_fleet can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign tesla_fleet Removes the current integration label and assignees on the feedback, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information) to the feedback.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information) on the feedback.

@Bre77
Copy link
Contributor

Bre77 commented Jan 4, 2025

If you delete the bad application credential and reload the integration it should prompt you to set it up with a replacement.

The way Home Assistant is designed is if you have no application credential, it will prompt you to create one. If you have one it automatically selects it. If you have two or more you're prompted to choose.

@IMNotMax
Copy link

IMNotMax commented Jan 6, 2025

And delete application credentials, just go to Settings > Devices & Services and click on the 3 dots on the upper right side
image

You'll find credentials for all the integrations (delete or edit)

@gtzdennis
Copy link
Author

And delete application credentials, just go to Settings > Devices & Services and click on the 3 dots on the upper right side image

You'll find credentials for all the integrations (delete or edit)

That work like a charm! Thanks a lot, didn't know about the OAuth Data being stored here.

@rjdalga
Copy link

rjdalga commented Jan 8, 2025

Okay, deleted application credentials. Then tried to Reconfigure the integration but error occurs: We don't recognize this client_id. Please use the client_id found in your app details.

@rjdalga
Copy link

rjdalga commented Jan 8, 2025

Authentication Expired: Clicking on 'Open Website' as part of the repair in HA leads to the above error.

@Bre77
Copy link
Contributor

Bre77 commented Jan 8, 2025

We don't recognize this client_id. Please use the client_id found in your app details.

Are you sure you're entering the client ID correctly? I'd delete it and try again.

@IMNotMax
Copy link

IMNotMax commented Jan 9, 2025

There is a nice how to here https://www.wswapps.com/books/home-assistant/page/tesla-fleet-setup
This one helps me to reconfigure the Tesla fleet integration.

@rjdalga
Copy link

rjdalga commented Jan 9, 2025

Thank you. FYI: Step 3 doesn't work 'For the Allowed Origin(s) setting you need a public domain where you can host a file. Hopefully soon we can simplify this step. Update: You can use https://fleetkey.cc/ if you don't have your own domain.'

@rjdalga
Copy link

rjdalga commented Jan 9, 2025

Https://fleetkey.cc/ is broken

@IMNotMax
Copy link

IMNotMax commented Jan 9, 2025

Just found out (don't know how it impacts current partners auth btw)
Look like you can create VM on the free tier of google cloud to create your own web server for your own domain.tld
Did not dig this info.

I made my little POC with a small raspberry pi 3, my domain (on cloud flare DNS), a nginx dockerized, cloudflared dockerized to have an operational web server for this purpose.
Pretty easy (and I'm just a hobbyist, not a full stack dev :) )

@sirKitKat
Copy link

for the public key: I'm running Home Assistant as a docker on unRaid and use Ngnix Proxy Manager & DuckDns.
In NPM, for the entry home-assistant, I added a location of the public key (in the advanced tab) and it worked :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants