iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Door lock shows stuck in "unlocking" state even after auto-lock has happened #42

Closed mfw2010 closed 1 year ago

mfw2010 commented 1 year ago

I have a Yale Smart Lock with Z-wave module and it all works really well. The only issue now is that the lock state is stuck on "unlocking" even after the auto-lock has taken place. It seems like the event from smartthings does not then update the lock status.

iklein99 commented 1 year ago

What version of the plugin are you running?

On Oct 11, 2022, at 11:40 AM, mfw2010 @.***> wrote:

I have a Yale Smart Lock with Z-wave module and it all works really well. The only issue now is that the lock state is stuck on "unlocking" even after the auto-lock has taken place. It seems like the event from smartthings does not then update the lock status.

— Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/42, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55ES6F45TW4E52Z5BL3TWCWC57ANCNFSM6AAAAAARCNNJTI. You are receiving this because you are subscribed to this thread.

mfw2010 commented 1 year ago

homebridge-smartthings-ik v1.4.4 - assume that's the latest which also has the fix?

mfw2010 commented 1 year ago

I think one of the events has an issue. When I unlock from the SmartThings app, HomeKit received a target state of “locking” and is stuck in that state. Eventually when I then lock via the SmartThings app, HomeKit successfully updates the status to locked

iklein99 commented 1 year ago

Ok. I’ll look into it.

On Oct 11, 2022, at 1:23 PM, mfw2010 @.***> wrote:

I think one of the events has an issue. When I unlock from the SmartThings app, HomeKit received a target state of “locking” and is stuck in that state. Eventually when I then lock via the SmartThings app, HomeKit successfully updates the status to locked

— Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/42#issuecomment-1275033526, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG55ETZ5EOJRYP7HQ6STFTWCWO75ANCNFSM6AAAAAARCNNJTI. You are receiving this because you commented.

iklein99 commented 1 year ago

I reproduced the issue. I never use Smartthings app to control my devices, so I never saw this. I'll have a fix soon.

mfw2010 commented 1 year ago

That’s great thank you. I never use SmartThings app to control devices either. This was behaving the same way even in case of auto locking, glad you can reproduce it.

iklein99 commented 1 year ago

Should be fixed in 1.4.5. Give it a shot.

mfw2010 commented 1 year ago

That seems to have now been fixed, thank you that was quick!