-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
InvalidCredentials: "Local hash does not match server hash" #320
Comments
Are the two devices that you're not able to connect to running the same firmware version as the ones that work? Have you tried to factory reset and reconfigure them? |
The firmware versions match for both working and not working plugs (1.2.5 Build 240411 Rel. 143808). I wil try factory reseting and reconfiguring them and see if that works. Thanks for your help! |
I have factory reset the plugs and reconfigured them and it did not fix the issue. Do you have instructions on how I can run the rust implementation in debug mode so that I can investigate what is happening? |
Can you please post the logs that you get with the logging turned on? In Python, you can use import logging
logging.basicConfig(level=5) In Rust, you can use |
That's interesting. Can you please try pip install python-kasa
kasa --username "..." --password "..." To see if this library can authenticate? |
I have the exact same issue and can confirm that neither resetting and re-registering or using kasa module helps. Device in my case is P110 firmware version 1.3.1 build 240621 rel. 162048. Any help greatly appreciated. |
I have a similar problem
|
Thank you all for your help so far in investigating this unusual issue. Could you also test this library and check if changing the encryption version between 1 and 2 makes any difference? |
When trying to connect to the problematic plugs I get the following (with both version 1 and 2): |
Please try the code in this PR with It includes extra traces to help debug the issue. What I'm after is:
|
Hello,
I have several smart plugs (P100). I have successfully gotten this API working on all but 2 devices. Thank you for implementing this library!
Below is my sample code for restarting the P100 plugs:
And here is the output when executing the code:
Both, the computer executing the code and the smart plug are on the same LAN. I have looked at previous issues for any solutions. I have made sure the email is all lower case. I checked that the email matches the case sensitivity shown on my Tapo app.
What confuses me is how the username and password works for the other devices except for two. Do you know how to resolve this or at least how to debug this?
Any help would be very much appreciated!
Thanks,
Kaleem
The text was updated successfully, but these errors were encountered: