# \[APP\]\[Pro\] Nuki Direct

**URL:** <https://community.homey.app/t/app-pro-nuki-direct/10853>\
**Category:** Apps\
**Tags:** app, unofficial, homey-pro\
**Created:** [March 20, 2019, 6:36pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853 "2019-03-20T18:36:24Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [April 25, 2020, 5:01pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/61 "2020-04-25T17:01:57Z")

</div>

> [@Phuturist](#):
>
> What happens if you call this URL from a device within the same network as your Nuki bridge?
> 
> [https://api.nuki.io/discover/bridges](https://api.nuki.io/discover/bridges)

What happens if you call this URL from a device within the same network as your Nuki bridge?

[https://api.nuki.io/discover/bridges](https://api.nuki.io/discover/bridges)

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [April 26, 2020, 11:04am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/62 "2020-04-26T11:04:16Z")

</div>

I’ll get back to you! @Phuturist  
I get {“bridges”:[{“bridgeId”:841547821,“dateUpdated”:“2020-04-25T15:45:04Z”}],“errorCode”:0}

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [April 26, 2020, 3:37pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/63 "2020-04-26T15:37:45Z")

</div>

There is something wrong with that. It’s susposed to look like this:

`{"bridges":[{"bridgeId":500008,"ip":"192.168.0.1","port":8080,"dateUpdated":"2018-08-29T17:57:52Z"}],"errorCode":0}`

Did you enable the HTTP API in your Nuki Bridge?

---

<div class="post-metadata">

**Author:** ![victoroos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoroos/32/8344_2.png) [@victoroos](https://community.homey.app/u/victoroos)\
**Post date:** [April 26, 2020, 3:46pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/64 "2020-04-26T15:46:37Z")

</div>

@Phuturist edit. I fiddled something around in my router and now it shows {“bridges”:[{“bridgeId”:841547821,“ip”:“192.168.178.45”,“port”:8080,“dateUpdated”:“2020-04-26T16:04:06Z”}],“errorCode”:0}

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [April 26, 2020, 4:26pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/65 "2020-04-26T16:26:20Z")

</div>

Is your Nuki on the same VLAN as Homey? If not, that is why it isnt working. If so there is something wrong with your Nuki bridge and cloud connection and you need to contact Nuki support about it. This is from the HTTP Bridge API documentation:

Calling the URL [https://api.nuki.io/discover/bridges](https://api.nuki.io/discover/bridges) returns a JSON array with all bridges which  
have been connected to the Nuki Servers through the same IP address than the one calling the URL  
within the last 30 days. The array contains the local IP address, port, the ID of each bridge and the  
date of the last change of the entry in the JSON array.

Example:

Copy

```auto
{
 "bridges": [
 {
 "bridgeId":2117604523,"ip":"192.168.1.50","port":8080,"dateUpdated":"2017-06-14T06:53:44Z"
 }
 ],
 "errorCode":0
}

```

Once a bridge has been discovered on the LAN the API can be activated and the API token retrieved  
by calling the `/auth` command. The user has to confirm this request by pressing the button on the  
bridge. For more details see the description of the `/auth` command.

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 14, 2020, 5:37pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/66 "2020-05-14T17:37:43Z")

</div>

Hi all,

Thanks for the app. Would love to use it, but I’m not even getting to the point of an added lock. Any ideas about this?

 ![IMG_0256](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e240f250f00e8a5d6a40a141ead74561b8f6e79b.jpeg)

And when no error is shown it is searching for devices but says there are none found. Which is weird cause the lock is definitely connected to the bridge.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 14, 2020, 6:58pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/67 "2020-05-14T18:58:44Z")

</div>

> [@Martijn\_C](#):
>
> Any ideas about this?

Did you follow the instructions and specifically these steps?

> [@Phuturist](#):
>
> First enable the HTTP API in your Nuki Bridge. You can do this within the Nuki smartphone app. Go to manage your devices and select your Nuki Bridge. There you can enable the HTTP API.

> [@Phuturist](#):
>
> Press the button of your Nuki Bridge(s) during the discovery process

And if so, are you sure you are using the correct token to authenticate?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [May 14, 2020, 7:23pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/68 "2020-05-14T19:23:37Z")

</div>

And now available in the [Homey Community App Store](https://community.homey.app/t/homey-community-app-store/29865)!

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 14, 2020, 8:26pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/69 "2020-05-14T20:26:05Z")

</div>

Yes, I did.  
About the press; long press until the light starts coming on? Or one single short press? Not that it made a difference. I tried both.

About the correct token: How do I know that and where do I find the right token and change the token if it’s not right? Maybe I’m missing something but I haven’t read anything about checking for or changing a token.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![mazpo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazpo/32/3680_2.png) [@mazpo](https://community.homey.app/u/mazpo)\
**Post date:** [May 15, 2020, 8:49am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/70 "2020-05-15T08:49:33Z")

</div>

i got my nuki installed the first time. i installed app from the new community app store. htttp api was already enabled. first try i got a timeout (i think because my wifi is very slow) 2nd time i was connected via cellphone to homey and then it worked. i pressed multiple times long and short and then the nuki was shown.maybe this helps you

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 9:09am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/71 "2020-05-15T09:09:13Z")

</div>

Unfortunately I cannot get it to work. Now it does search but I get a time-out from the network. No idea why. Sometimes it seems to connect but it says ‘no devices found’. I have a fully equiped smart home with no communication problems so a network problem seems unlikely. I see someone having the same issue above, with no solution, so I guess I can’t try anything else?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 15, 2020, 1:05pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/72 "2020-05-15T13:05:57Z")

</div>

What do you see when you access [https://api.nuki.io/discover/bridges](https://api.nuki.io/discover/bridges) from a device within the same LAN as your Nuki Bridge?

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 1:17pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/73 "2020-05-15T13:17:58Z")

</div>

{“bridges”:[{“bridgeId”:965134910,“ip”:“192.168.2.30”,“port”:8080,“dateUpdated”:“2020-05-15T10:35:35Z”}],“errorCode”:0}

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 15, 2020, 1:22pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/74 "2020-05-15T13:22:48Z")

</div>

Wht do you see when you access ‘[http://192.168.2.30/auth](http://192.168.2.30/auth)’ from a device in the same LAN after you pushed the button on the bridge?

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 1:25pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/75 "2020-05-15T13:25:21Z")

</div>

Niets. Geen verbinding mogelijk.  
Zou de bridge een probleem hebben? Hij werkt overigens met de Nuki app wel ok.

Sorry. English. Nothing. No connection possible.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 15, 2020, 1:29pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/76 "2020-05-15T13:29:11Z")

</div>

Sorry, wrong URL, try: [http://192.168.2.30:8080/auth](http://192.168.2.30:8080/auth)

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 1:33pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/77 "2020-05-15T13:33:12Z")

</div>

First few times nothing. Hence the time out I guess. Keeps loading.

Then a few times a 503 error.

And the last time this;  
{“success”: false}

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 1:41pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/78 "2020-05-15T13:41:02Z")

</div>

It worked! After many many times doing the same thing. 😉

Don’t know how or why. But well… thanks for the help!

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 15, 2020, 1:42pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/79 "2020-05-15T13:42:50Z")

</div>

There may still be an issue with your Bridge causing my app to not function optimal. Error 503 indicates a problem with your Nuki Bridge. If you have the 2nd gen Bridge you should update it to the latest firmware.

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [May 15, 2020, 1:46pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/80 "2020-05-15T13:46:14Z")

</div>

I did. It has all the latest firmware. I’ll contact Nuki about it. It is a review sample for media so they’ll probably send a new one.

A side question; will you add open/closed possibilities like the Athom app in the near future?

[Previous page](https://community.homey.app/t/app-pro-nuki-direct/10853.md?page=3)

[Next page](https://community.homey.app/t/app-pro-nuki-direct/10853.md?page=5)
