Open Shoomaan opened 2 years ago
Lars, the component supports unlatching, did you read the readme of the component?
And in the Useful Tips section there's this:
of course i have read the readme. And I also saw that the lock.open command can be used to open the trap. But my problem is that in Homekit I have only unlock and lock. That's why my suggestion / wish was to configure the possibility of what should happen when lock.unlock is triggered. In the linked Homebridge plugin it is even further expanded that you can configure what should happen when the lock has the status locked or unlocked.
Current operation of this integration lock.lock - lock the door lock.unlock - unlock the door lock.open - open the latch
Operation of Nuki App with Homekit Var 1 - door knob configured lock - lock the door unlock - unlock the door and open the latch
Var2. Lever configured lock - lock the door unlock - unlock the door
Wish / Homebridge mode of operation lock - locking the door configurable mode of operation: a) unlock - unlock the door b) unlock - unlock door and open latch c) unlock if status is locked - open latch d) locked if status is locked - unlock door
I hope I could explain better what I mean.
Greetings Lars
Ok, now I understand what you mean.
This would require the implementation of the Bridge API "Simple Lock Actions", described [here]:(https://developer.nuki.io/page/nuki-bridge-http-api-1-13/4#heading--simple-lock-actions):
The endpoints would be /lock
and /unlock
, instead of /lockAction
, that is currently used, IIRC.
It could also be implemented in a different way: continue to use /lockAction
but with a configurable option that would override the default unlock
action with unlatch
. This is what I opted for with my original Nuki Card automation, the user could choose which action the bridge had to send for lock and unlock commands.
This is a Feature Request, could be implemented through a configurable option, but it's up to @kvj to decide.
Hey there, I'm quite happy with the integration, running a lot smoother then die official one. But I'm struggling with opening the door when I'm outside:
With the HomeKit Integration from Nuki, the door gets unlatched when I tell Siri to open the door. In both cases, when the door is locked and also when the door is already unlocked. This behavior comes from configuring bar / knob in the Nuki App.
Within the Nuki App, I can select between unlock and open. This would be the best option in HomeKit too, but not possible because of HomeKit restrictions.
With your integration, it always just unlocks the door, it never unlatches.
So I think there is no best way for all use cases but while searching I found this thread on the Nuki Dev board: https://developer.nuki.io/t/homekit-unlock-command-opens-door/533/15
Within this thread someone recommends adopting the way of the homebridge plugin which allows using several customizable options. Perhaps it is possible to implement this function into your integration?
best regards, Lars