-
Notifications
You must be signed in to change notification settings - Fork 17
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
Wyze API Errors #248
Comments
Message that will be displayed on users' first issue |
Maybe has to do with #245? |
I can confirm I am having the same problems and also generated a new API key with same error persisting. |
I am also having the same problem with the plugin, even after updating my API key. The problem started sometime yesterday (2024-05-16).
|
same here. maybe cause of 2FA? |
Maybe @xcz011 can help answer this? |
Wyze is pushing 2FA on all of us May 31. Can anyone confirm status with 2FA enabled? |
I’ve been using 2FA with Microsoft Authenticator for months without issue. |
I've had 2FA enabled on my Wyze account for a long time and had no issues until this recent Wyze API change. |
Same here, I have had 2FA in place for a long time. Any progress here? |
I know the Wyze integration in HACS for Home Assistant is working fine so I have switched to that for the time being. |
This addon does not use 2FA anymore. It was remove a few revision back. Can
you confirm that your using and api key. Also when you’re changing over you
might have to delete your refresh token from the persist directory.
Thanks Allen :)
…On Thu, May 30, 2024 at 11:54 AM anderfrank ***@***.***> wrote:
Same here, I have had 2FA in place for a long time. Any progress here?
I know the Wyze integration in HACS for Home Assistant is working fine so
I have switched to that for the time being.
—
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKHFB5QGQMEON2ZJTQGBXLZE5KTXAVCNFSM6AAAAABHHFVNIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQGI2TCNRUG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Can you confirm the new API (#245) is implemented with this plugin? I have been using an API key with this plugin for many months and it just stopped working recently with Wyze disabling the old API. |
I'm seeing the same behavior. Everything just stopped working. Communication between HomeKit and Wyze plugin is fine (tap a light on in Home.app, the light is displayed in the UI as going on with no error, and on the Homebridge web page the light is also displayed as on - but in reality it's unchanged, still off. Wyze logs show NO errors... My guess is the #245 issue is driving all this. BTW, before the 2FA deadline I asked Wyze tech support if this would impact Homebridge and was told no. So, yeah, another triumph for tech support... |
This may be redundant information, as several have already answered, but I thought I might as well. I have been using 2FA since I made my Wyze account, but I am getting these errors too, I tried a new API key/ID, and the problem persists, as others have noted this is likely to do with Wyze API changes, I hope this can be resolved, I will happily provide any logs, or other information if it may help resolve this issue. |
Sorry to pile on here, but I'm having the same issue. I've been using an API key and already had 2FA enabled before the switch, but around that same time the plugin completely stopped working. I'm getting the same API errors others have mentioned, but haven't had any problems with Scrypted. I tried regenerating the key, but no difference. Has anyone else had any luck in troubleshooting? I'm happy to wait patiently and appreciate the work I'm sure it'll take to fix, but I'm hoping I'm just doing something wrong. |
I can confirm that the suggestion "delete your refresh token from the persist directory" solved the issue.
|
Describe The Bug:
The plugin no longer logs into the Wyze API properly.
I also deleted my existing API key and created a new one, issue persists.
To Reproduce:
Attempt to configure the plugin.
Expected behavior:
Plugin should log into the Wyze API and connect my devices.
Logs:
'''
[04/05/2024, 15:41:35] [Wyze] Wyze API Error (2001): 'access token is error'
[04/05/2024, 15:41:35] [Wyze] Wyze API Error (2002): 'RefreshTokenError'
[04/05/2024, 15:41:35] [Wyze] Error getting devices: Error: Refresh Token could not be used to get a new access token. Error: Wyze API Error (2002) - RefreshTokenError'''
Plugin Config:
{
"name": "Wyze",
"username": "[email]",
"password": "[password]",
"keyId": "61e9a810-716b-4ba2-9b04-269cc82a59b5",
"apiKey": "[apiKey]",
"refreshInterval": 60000,
"hms": false,
"showAdvancedOptions": false,
"apiLogEnabled": false,
"pluginLoggingEnabled": false,
"lowBatteryPercentage": 30,
"excludeMacAddress": false,
"excludedeviceType": false,
"platform": "WyzeSmartHome"
}
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: