Nuki V2.0 support


#1

Hi,

Nuki has just released a new version of their lock with an additional doorsensor. With this sensor you can see if the door is open or closed. Will the app be updated so the state of the doorsensor is visible and can be used as a trigger or as a condition?

Thanks in advance,

Eddy


#2

if you would have take a look at the athom app store page for the nuki app, you would see a link to the github of the app.

There you can find this ā€¦

this also abouty the 2.O version


#3

I am soon investigating the API to see if I can catch the state of the doorsensor. Then I will integrate it.

It might take until the last week of december before I have time to do this.

I also still need to make the Nuki app for Homey SDKv2-ready, make it easier since I can now get the token in the background by making you press the button on the lock, and will investigate if I can make it work with the Web API so I can detect who opened the door.

A lot of work to do, little time, but rest assured that I am going to look into this!


#4

I submittted a feature request to add the user to the HTTP bridge api. In this topic someone suggested a method to retrieve the user through the web api. I think it would be a good read for you for when you start working on this. See the topic below.


#5

Great to hear you will try to add it! Very happy with that.


#6

hello, yesterday I installed the Nuki and it works great. Now I would like to add the Nuki to Homey, but I do not know exactly how I get the data. IP and port 8081 (8080 is already occupied) but how do I get the token? tried to fill in the API here but then got the message 403 and 503. ps door sensor was not in my box vd doorlock and of bridge. also did not find the Homekit configuratie code Thanks for the responses.

edit:

NUKI SLOT | KOPPELEN AAN DE HOMEY robbshop

Homekit configuratie not found because uh :frowning: get the Nuki instead of 2.0 (return to Coolblue and order 2.0)


#7

I think the Nuki app has changed and it is no longer possible to enable the API from the app anymore, and therefor you cannot get the token anymore.

There are some tricks though, I will soon update the pairing process in the Homey Nuki app to match this:

  1. Go to https://api.nuki.io/discover/bridges from within the same network to see a list of bridges and their IP-addresses.
  2. In your browser, go to the IP and port listed, and add /auth for example: 192.168.1.123:8080/auth
  3. Within 30 seconds, press the button on your bridge.
  4. The webpage in your browser will now show the token