Unlocking door without opening it

Just got my brand new Nuki, very pleased with it so far!

I am trying to integrate it with my Home automation setup (HASS), and I have an issue. I have a knob-style door so I want Nuki to unlock + open the door when I come home, fine, that works.

However, I want to keep the door unlocked during the day, and only lock it at night, and then unlock it in the morning. Using the web API unlock command, it unlocks + opens the door, which is not what I want.

Is there a way to only unlock it using the API and not open it as well?

Do you mean you use the new simple lock action?

POST /smartlock/{smartlockId}/action/unlock

(which uses the default regarding pulling the latch)

Then what you are looking for is

POST /smartlock/{smartlockId}/action

with

{
  "action": 1
}

(as with this command you can use any possible lockAction - see https://developer.nuki.io/page/nuki-web-api-1-3-0/3#heading--smart-lock-action)

Ahh very nice, couldn’t decode that from the Swagger API myself, hadn’t found that page. Thanks for your swift help, will test this out!

1 Like