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

Tesla integration can't authenticate #54263

Closed
nolenjohan opened this issue Aug 8, 2021 · 8 comments
Closed

Tesla integration can't authenticate #54263

nolenjohan opened this issue Aug 8, 2021 · 8 comments

Comments

@nolenjohan
Copy link

nolenjohan commented Aug 8, 2021

The problem

After upgrade to 2021.8.4 it's reported "Failed to setup: Could not authenticate":

Trying to authenticate is only rendering "Invalid authentication", I'm not using MFA, just password that have been verified to be fully functional when login to Tesla.

image

What is version of Home Assistant Core has the issue?

2021.8.4

What was the last working version of Home Assistant Core?

2021.8.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tesla

Link to integration documentation on our website

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

Example YAML snippet

N/A

Anything in the logs that might be useful for us?

No response

Additional information

No response

@probot-home-assistant
Copy link

Hey there @zabuldon, @alandtse, mind taking a look at this issue as it has been labeled with an integration (tesla) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)


tesla documentation
tesla source
(message by IssueLinks)

@gpb1
Copy link

gpb1 commented Aug 8, 2021

I am also having exactly the same issue - with all the same versions details. Also not using MFA for the Tesla authentication.

@adebree
Copy link

adebree commented Aug 8, 2021

Same behaviour for me, tried with accounts with and without MFA. Same result.

@jwall87
Copy link

jwall87 commented Aug 8, 2021

Shyue Ping Ong posted a fix (post # 64) that seems to work on this page - click here

Have not yet tested myself.

@crazybadger
Copy link

I've just updated and was delighted to see the MFA which I'd switched off so it worked with HA. Couldn't authenticate before I switched it back on and still can't now I have, so steps forward and backward!

@alandtse
Copy link
Contributor

alandtse commented Aug 8, 2021

Dupe of #54177. Please close and follow that one.

@terasankka
Copy link

I have the same issue. I had the integration without MFA. When I saw this update I enabled MFA and re-installed the integration. Not I just get Invalid authentication every time I try to add the integration. The MFA works on Tesla.com and with TeslaMate.

@clarsen
Copy link

clarsen commented Aug 29, 2021

The issue is an additional captcha challenge from clients that don't look like a web browser.

This is a library that handles that properly handles the interaction today: https://github.com/tdorssers/TeslaPy although it just shows the captcha image in a browser and asks you to type it before proceeding with the API authentication flow.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants