shauntarves / wyze-sdk

A modern Python client for controlling Wyze devices.
The Unlicense
313 stars 49 forks source link

error when interacting with locks #139

Closed Ronald-TR closed 1 year ago

Ronald-TR commented 1 year ago

When i try to call any method from locks i get a side effect error like "None is not iterable", but inspecting the API output, i'm receiving this:

{
    "ReqID": "99d7c451c5",
    "ErrNo": "14008",
    "ErrMsg": "PARAM_SIGN_INVALID"
}

Can someone help me to understand it? I tried to generate other values for the "sign" param but without success.

Ronald-TR commented 1 year ago

The locker that I'm using is Wyze Lock Bolt. I saw that this locker only uses bluetooth to comunicate with the wyze app. Can someone tell me if is possible to integrate with this locker?

shauntarves commented 1 year ago

Hi @Ronald-TR,

I've developed this against the Wyze Lock product. If the Wyze Lock Bolt is not wi-fi enabled (bluetooth only), then I doubt it will work with a client like this. This client basically mimics that http requests made by the Wyze app, but it cannot mimic proximity or near-field protocol like bluetooth 😢