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

Error: Tapo(InvalidCredentials) #111

Closed
khandieyea opened this issue Aug 30, 2023 · 2 comments
Closed

Error: Tapo(InvalidCredentials) #111

khandieyea opened this issue Aug 30, 2023 · 2 comments

Comments

@khandieyea
Copy link

Hey,

Been trying to figure out how best to get access to my P110s to pull energy stats.
Paraphrasing off the internet here - something changed in the TAPO firmware at some point in the past and now most API implementations no longer work.
Does your API client still work on the latest firmware? (v1.2.3)

The part I can't figure out is I've never once set credentials for the device itself, so I can only assume it's the same as my TAPO Account. But still InvalidCredential.

tia

@mihai-dinculescu
Copy link
Owner

mihai-dinculescu commented Aug 30, 2023

Yes, it does work with firmware 1.2.3.

You are correct. The e-mail and the password combination are the ones of your TP-Link account.

Your device needs to connect to the internet on the initial setup and after every TP-Link password change so that it gets synced. Outside these two situations, you can keep your device off the internet.

An exception from the above rule is when you want to fetch the energy usage. That requires an internet connection for the device when the call is made. See #109 for details.

Some people got the invalid credentials error a while back because they had upper-case letters in their TP-Link e-mail. The fix for them was either to ensure they got the capitalisation right (as it shows up in the Tapo App) or to re-create their accounts with a lower-case e-mail.

@khandieyea
Copy link
Author

Ah! Thanks for this! The whole reset password after adding device.

Cheers!

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

No branches or pull requests

2 participants