wyze-sdk
wyze-sdk copied to clipboard
Unknown device type detected - Lock Gateway
Unknown device type detected - Lock Gateway spews immediately after call to client.devices_list()
- Yet the lock gateway and door lock both appear in the device list.
- SDK lock code throws an Invalid argument exception (errno 22) from the client.locks.info line using the lock’s MAC.
- Selecting the lock device by matching with the same MAC in client.devices_list works (with limited functionality)
I’m new to python and don’t know what (if anything) I can do to fix or work around these issues.
This is because this code expects the name to be 'gateway' and Wyze is returning 'GateWay'. This is fixed in a pull request #54
gateway
lowercase has always worked in the past. @vtwaldo21 thank you for the PR, I'm going to take a look and run a few local tests, and will get it merged in.
That’s great! Any idea when the update might appear in github?
From: Shaun Tarves @.> Sent: Tuesday, November 30, 2021 5:40 AM To: shauntarves/wyze-sdk @.> Cc: Gerald Maffeo @.>; Author @.> Subject: Re: [shauntarves/wyze-sdk] Unknown device type detected - Lock Gateway (Issue #50)
gateway lowercase has always worked in the past. @vtwaldo21https://github.com/vtwaldo21 thank you for the PR, I'm going to take a look and run a few local tests, and will get it merged in.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/shauntarves/wyze-sdk/issues/50#issuecomment-982646202, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABIWKW3OKCW6HUAOKZVIWPTUOTH4BANCNFSM5IOKT4XQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Merged in #54