Open drewdah opened 11 months ago
Have you tried logging in again? I've seen this reported occasionally and it seems to resolve itself on its own and I'm suspecting some part of the Wyze servers went down and prevented access? Though Error 400 is usually saying its the requestor that's the problem.
The hard part is that the error stems from wyze-sdk
which is trying to reach out to the Wyze servers so the issue is either the information you're providing for logging in or the Wyze servers themselves.
I tried a few times when writing up the bug to grab screenshots and just tried again now this morning and got the same error. I'm able to log into the wyze.com site with the same copy/pasted username and password, so I tried deleting my API key again and creating a new one and that seems to have solved it.
Maybe Wyze is invalidating or blocking keys? I know they rate limit if we poll too often
I just ran into this same issue after setting it up yesterday, today it's failing with the same 400 error. Once you re-generated the token did it continue working for you?
Describe the bug I've had this addon installed for a few months, but recently it stopped working. I tried reloading the addon and it would fail to start, so I tried to uninstall / reinstall and when I entered my wyze credentials and the key id / auth key. I got "Problems Logging in. Please verify your username and password". I checked my username/password and the API keys and they are correct, I even tried creating a new API key with Wyze to see if that solved the problem, but it did not.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the integration to log me in and create my wyze vacuum entities
Screenshots![login-error-screenshot](https://github.com/romedtino/simple-wyze-vac/assets/273682/080e6212-0c30-4c20-b2f2-55a9036164b8)
Simple Wyze Vac Version
Wyze Vacuum Firmware Version
Home Assistant Version
Additional context The following error logs were visible in Settings -> System -> Logs that might be useful