tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
385 stars 767 forks source link

(BUG) Locks will lock/unlock, but Siri thinks it didn't work #329

Open sOckhamSter opened 4 years ago

sOckhamSter commented 4 years ago

I have a Danalock v3 connected to the SmartThings hub using Zigbee and presented to HomeKit via homebridge-smartthings-v2. When I operate the lock using the Home app it appears to work perfectly fine. If, however, you ask Siri to operate it, Siri apologises and says that they weren't able to lock/unlock it. But... it does actually work! Watching the logs, it looks like it might be because there is a delay of a second or two between the lock locking/unlocking, and the success status being returned, whereas Siri must be expecting an immediate response.

NOTICE: Sending Device Command: lock | Name: (Front Door Lock) | DeviceID: (46ec5112-0e07-4d29-9a30-54b5851bd5d5) | SendToLocalHub: (false) INFO: [Device Event]: (Front Door Lock) [LOCK] is locked

The previous version of homebridge-smartthings didn't seem to mind this and Siri would just say something like 'Ok', not caring if it had a response or not.

tonesto7 commented 4 years ago

Something is happening with smartthings that last week. I'm seeing the same weirdness with my locks, and other devices.

sOckhamSter commented 4 years ago

I’m sort of glad it’s not just me then, I hope it’s a ST glitch which fixes itself. To be fair, it’s the only bug I have after upgrading both Homebridge and your plugin so doing well so far! Excellent work, thank you :)

tjclayton commented 4 years ago

I am also seeing this issue. If there is other information that I can provide, please let me know.