RMCob / homebridge-wyze-connected-home-op

Wyze Connected Home plugin for Homebridge with support for the Wyze Outdoor Plug
http://github.com/RMCob/homebridge-wyze-connected-home
MIT License
41 stars 20 forks source link

Wyze lock bolt shows as unlocked #32

Open jkhalid777 opened 2 years ago

jkhalid777 commented 2 years ago

The Wyze lock bolt with fingerprint scanner (not their old one with keypad) shows as unlocked in the HomeKi, although the door is locked.

image

Error log shows: bridge.io/w/JtMGR for more info. [2022-05-22, 11:17:38 p.m.] [homebridge-wyze-connected-home-v3] This plugin generated a warning from the characteristic 'Lock Target State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [2022-05-22, 11:17:39 p.m.] [homebridge-wyze-connected-home-v3] This plugin generated a warning from the characteristic 'Lock Current State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [2022-05-22, 11:17:55 p.m.] [homebridge-wyze-connected-home-v3] This plugin generated a warning from the characteristic 'Lock Current State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [2022-05-22, 11:17:55 p.m.] [homebridge-wyze-connected-home-v3] This plugin generated a warning from the characteristic 'Lock Target State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [2022-05-22, 11:17:56 p.m.] [homebridge-wyze-connected-home-v3] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside write handler for characteristic: Exceeded maximum attempts. See https://homebridge.io/w/JtMGR for more info. [2022-05-22, 11:18:05 p.m.] [homebridge-wyze-connected-home-v3] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside write handler for characteristic: Exceeded maximum attempts. See https://homebridge.io/w/JtMGR for more info.

jfarmer08 commented 2 years ago

@jkhalid777 Can you turn on debug logging for Homebridge? If i can see that output I might be able to correct this in my version if that would help. I dont have this lock so that would be the only way. I suspect the values could be reversed, but it could be more.

https://github.com/jfarmer08/homebridge-wyze-smart-home

tj-noor commented 2 years ago

This device uses Bluetooth to communicate & not Wi-Fi making it difficult to get accurate results. I believe this is also slowing down my Homebridge instance but I cannot remove this device to rule it out. Do you have any plans to add an exclusion list for devices? I may be able to provide logs if you still need them.

jfarmer08 commented 2 years ago

I can use the logs to determine if anything is different. Also you can create a future request on my project for exclusion list.