shauntarves/wyze-sdk

New exception with plugs API

Closed this issue · 1 comments

I have been using the wyze-sdk for about two years to control a plug used to charge my laptop. Just last week, I started getting this exception when trying to access a specific plug instance via client.plugs.info(device_mac=''):

wyze_sdk.errors.WyzeApiError: The request to the Wyze API failed. The server responded with: {'code': '2001', 'msg': 'access token is error', 'traceId': '00bf55533814fb0b6a3059b865a829af', 'data': {}}

Any help would be appreciated!

I see now that I am using a deprecated version of the client and need to request a Wyze API key. Closing this issue.