ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Yale doorman state loop #159

Open ZEEN0j opened 1 year ago

ZEEN0j commented 1 year ago

Sometimes I’ll find my lock in this state. Usually it’s when unlocking and locking manually on the door. It will say locking but it’s in fact already locked. Confirmed physically and in the Verisure app. This started with 2.0.0.

IMG_0819 IMG_0818 IMG_0817

ptz0n commented 1 year ago

Interesting, anything in the logs?

ZEEN0j commented 1 year ago

I’m seeing this

2023-04-01 14:22:40Verisure Bridgeverisure SmartLock (Entré dörr): Setting target lock state to: 0 2023-04-01 14:22:40Verisure Bridgeverisure SmartLock (Entré dörr): Resolving: pollLockState 2023-04-01 14:22:41Verisure Bridgeverisure SmartLock (Entré dörr): Got "null" back from: pollLockState 2023-04-01 14:22:41Verisure Bridgeverisure SmartLock (Entré dörr): Resolving: pollLockState 2023-04-01 14:22:41Verisure Bridgeverisure SmartLock (Entré dörr): Got "null" back from: pollLockState 2023-04-01 14:22:41Verisure Bridgeverisure SmartLock (Entré dörr): Resolving: pollLockState 2023-04-01 14:22:41Verisure Bridgeverisure SmartLock (Entré dörr): Got "null" back from: pollLockState

ZEEN0j commented 1 year ago

Also this

2023-04-01 20:55:38Verisure BridgeERROR[Verisure Bridge 6ADE@Lock Target State] The write handler for the characteristic 'Lock Target State' on the accessory 'SmartLock (Entré dörr)' was slow to respond!

HJe81 commented 1 year ago

Any updates with this issue, seems that I have same problem.

tiestoinvesto commented 1 year ago

Yes, for me too.

torandreroland commented 1 year ago

I opened up pull request #161 to hopefully fix this issue.

ZEEN0j commented 1 year ago

Any progress?

torandreroland commented 1 year ago

@ptz0n, could you review the pull request?

tiestoinvesto commented 1 year ago

@ptz0n any progress? :)

d3linma commented 1 year ago

Yes, can you review the pull request?

ZEEN0j commented 1 year ago

Any update?

d3linma commented 1 year ago

Could you please review the pull request? Thank!

frogger11 commented 1 year ago

I also experience this phenomenon. Latest version of Homebridge/plugin

devkmadh commented 1 year ago

@ptz0n this seems to work. Can you have a quick look?

devkmadh commented 1 year ago

@torandreroland or anyone that got time, we need to add some tests. I'll see what I can do with my limited javascript knowledge :) https://github.com/ptz0n/homebridge-verisure/pull/161#issuecomment-1752492419

torandreroland commented 1 year ago

@devkmadh: Added test now. Hopefully this can be merged and new version pushed.

d3linma commented 8 months ago

Has this been merged. I still have the problem, and it sometime causes the API calls to Verisure to exceed the limited and the account is block for the rest of the day.

ZEEN0j commented 6 months ago

Please fix this