misenhower / homebridge-wyze-connected-home

Wyze Connected Home plugin for Homebridge
MIT License
70 stars 52 forks source link

Light Bulb does not reflect real state #25

Open whreams opened 3 years ago

whreams commented 3 years ago

Real state of light bulb is not matching the HB status. Using the Wyze app, I toggle the state, and the HB state/HK state does not match.

whreams commented 3 years ago

Could be related???

[12/19/2020, 5:23:05 PM] [Wyze] Request failed: Error: read ETIMEDOUT [12/19/2020, 5:23:05 PM] [Wyze] Error, refreshing access token and trying again

whreams commented 3 years ago

After a few days of use, (new wyze user - old HB user) there seems to be some bouncing in the state when JSON is fed to the HB plugin. As I feed JSON to a bulb, it sometimes reacts correctly to the JSON, other times it bounces back a response of what the state of the bulb was before the request to change it. Example:

Requested State: { "On": true, "Brightness": 25, "ColorTemperature": 400 }

Current State: { "On": false, "Brightness": 25, "ColorTemperature": 400 }