homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
172 stars 23 forks source link

[Bug]: Lock Status Does Not Update When Toggling (Smart Lock E110 (T8503)) #646

Open austin-r-brown opened 2 weeks ago

austin-r-brown commented 2 weeks ago

What happened?

When toggling the lock from anywhere (Homebridge UI or Homekit in iOS) the lock successfully locks/unlocks, but it still shows the previous status. For instance - if the lock is locked and I tap the icon to unlock it, the lock does actually unlock but it does not show that lock is unlocked in the app until I refresh the Homebridge UI accessories page or close/reopen the Home app on my phone. If I click the lock a second time then it will show unlocked, but it is still incorrect because the lock is now locked. In other words, it is always showing the previous status after clicked.

Back when support for this lock was first added to the eufy-security-client in version 3.0.0, I hacked together my own version of this plugin from version 2.2.21 just to add support for my lock, and I am not seeing this bug in that version. Eventually I would like to be able to use the latest version of the plugin and have that bug be fixed. It seems that it is still happening in version 4.3.

My version from 2.2.21 with only minimal changes for adding support for my lock can be seen here: https://github.com/austin-r-brown/plugin/tree/master

Device Type

other (UnSupported)

Plugin Version

v3.0.x (Best Effort)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v20 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

N/A

config

N/A
github-actions[bot] commented 2 weeks ago

Did you check this Common Issues pages ?