homebridge-wyze-smart-home
homebridge-wyze-smart-home copied to clipboard
Wyze API Errors
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:
- Plugin Version:
- Homebridge Version: v1.81
- Node.js Version: v18.16.0
- NPM Version:
- Operating System: Raspbian