# \[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:** 2

<div class="post-metadata">

**Author:** ![Viking42](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viking42/32/12687_2.png) [@Viking42](https://community.homey.app/u/Viking42)\
**Post date:** [July 28, 2019, 2:29pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/21 "2019-07-28T14:29:35Z")

</div>

Thanks,  
these error 503 prevent me from using your nuki actioner,

So i use the original nuki app, but the status sync with Homey takes about a minut, about twice longer than the original athom nuki app  
any chance to have this speed up?

---

<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:** [July 28, 2019, 4:50pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/22 "2019-07-28T16:50:42Z")

</div>

> [@Viking42](#):
>
> any chance to have this speed up?

Don’t know, my reaction time is almost instant and that seems to be the case for other users using my version as well. So I guess it must be something related to your network.

---

<div class="post-metadata">

**Author:** ![Earl\_Grey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/earl_grey/32/1500_2.png) [@Earl\_Grey](https://community.homey.app/u/Earl_Grey)\
**Post date:** [September 24, 2019, 10:36am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/23 "2019-09-24T10:36:54Z")

</div>

Is the Opener supported?

---

<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:** [September 24, 2019, 12:56pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/24 "2019-09-24T12:56:55Z")

</div>

The opener is not added to the api yet. You can request this on the developer forum from Nuki.

---

<div class="post-metadata">

**Author:** ![martijnhuis](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@martijnhuis](https://community.homey.app/u/martijnhuis)\
**Post date:** [November 7, 2019, 10:58am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/25 "2019-11-07T10:58:10Z")

</div>

I have an issue with pairing your app to Nuki bridge:

1st time: request tot [http://192.168.2.13:8080/auth](http://192.168.2.13:8080/auth) failed; reason connect ECONNREFUSED 192.168.2.13:8080  
2e time: "Network timeout: request to [[http://192.168.2.13:8080/list?token=](http://192.168.2.13:8080/list?token=)_specifictokenid_]

During paring with the nuki bridge i received the errors. And also no window to put a password in.  
I`m running your nuki app v 1.03 and the latest nuki fimware 2.6.3.  
The Athom Nuki app is also installed and worked. I did not uninstall it only made it inactive.  
I have the Nuki v2

---

<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:** [November 7, 2019, 12:15pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/26 "2019-11-07T12:15:16Z")

</div>

Have you tried it with the official Homey app disabled. The bridge is not the fastest piece of hardware. Looking at the errors it could be it does not respond in time to the request needed for pairing with my app.

---

<div class="post-metadata">

**Author:** ![martijnhuis](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@martijnhuis](https://community.homey.app/u/martijnhuis)\
**Post date:** [November 7, 2019, 2:18pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/27 "2019-11-07T14:18:17Z")

</div>

Yes i also de-installed it and rebooted the homey. Also powercycled the Nuki bridge. Same issue. WIFI connection is perfect for both devices. (i can see this on my Unifi controller)

---

<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:** [November 7, 2019, 7:48pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/28 "2019-11-07T19:48:16Z")

</div>

Did you push the button on the bridge during discovery as mentioned in the instructions?

---

<div class="post-metadata">

**Author:** ![martijnhuis](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@martijnhuis](https://community.homey.app/u/martijnhuis)\
**Post date:** [November 7, 2019, 8:02pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/29 "2019-11-07T20:02:58Z")

</div>

Yes otherwise no device is discovered.

---

<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:** [November 7, 2019, 9:33pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/30 "2019-11-07T21:33:03Z")

</div>

Well, I don’t know what is going on. I can explain how the pairing process works. Perhaps that gives you clues about where it falls.

1. Call [https://api.nuki.io/discover/bridges](https://api.nuki.io/discover/bridges). This will return all bridges connected on that IP.
2. For every found bridge it will first call the /auth endpoint. This enables the api (if not yet enabled) and returns the api token.
3. It will then call the /list endpoint using the token retrieved from step 2 to get the details from the bridge
4. With the details from the /list endpoint the device array is built

The errors you receive (ECONNREFUSED and Network timeout) indicate some sort of network issue. What you could do if you have the technical knowledge is try these steps manually using something like Postman and see if that gives more information as to why these requests fail.

---

<div class="post-metadata">

**Author:** ![martijnhuis](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@martijnhuis](https://community.homey.app/u/martijnhuis)\
**Post date:** [November 9, 2019, 10:09am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/31 "2019-11-09T10:09:57Z")

</div>

Thank you for the information. I will try it with postman.  
One question: does the communication between the Nuki and Homey also use bluetooth? Or only ip?

---

<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:** [November 9, 2019, 11:47am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/32 "2019-11-09T11:47:22Z")

</div>

Only IP and it only communicates with the Nuki bridge, not with the lock directly.

---

<div class="post-metadata">

**Author:** ![martijnhuis](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@martijnhuis](https://community.homey.app/u/martijnhuis)\
**Post date:** [November 9, 2019, 1:14pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/33 "2019-11-09T13:14:52Z")

</div>

I have tested it and within postman i’am able to pair and communicate/receive nukiID and state etc.  
When adding the device using your app the error keeps coming back. The ip and token are correct.  
Any idea? Caching something? Maybe reinstall your app?

---

<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:** [November 9, 2019, 1:44pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/34 "2019-11-09T13:44:58Z")

</div>

I have no idea unfortunately, I dont think caching is the issue. It could very well be something else with my app but I would have thought that other users would have experienced this same issue before. I’m afraid I can not help you further and you are stuck with the official app store app.

---

<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:** [November 11, 2019, 9:22pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/35 "2019-11-11T21:22:22Z")

</div>

> ## 1.1.0 - 2019-11-11
> 
> - Changed endpoint from /lockState to /list for polling the lock. The /list endpoints gets the cached state from the lock and using this will spare the batteries of the lock
> - Added the alarm\_battery capability and deprecated the previous “Battery Critical” trigger card. Please switch to the default “Battery Alarm” trigger card as the old one does not work anymore

---

<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:** [November 17, 2019, 8:43am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/36 "2019-11-17T08:43:00Z")

</div>

> ## v1.1.1 - 2019-11-17
> 
> Fix for alarm\_battery capability due to a bug in Homey core

---

<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:** [December 4, 2019, 8:07am UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/37 "2019-12-04T08:07:01Z")

</div>

> ## v1.1.2 - 2019-12-04
> 
> Fixed custom condition card for (un)locked but also deprecated it as it’s a duplicate of the default condition cards for the locked capability

---

<div class="post-metadata">

**Author:** ![Peter3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter3/32/16698_2.png) [@Peter3](https://community.homey.app/u/Peter3)\
**Post date:** [January 2, 2020, 1:24pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/38 "2020-01-02T13:24:25Z")

</div>

Hi,

I’m eager to try this solution, simply because I think the delay time for detecting changes in the official app is way too long. I followed installation instructions and had no issues/errors at all.

I disabled the official app. When I want to add the Nuki device, I get this error. Any idea?

 ![IMG_5130.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9eb1f6fdb6f69a8faf7c407e2f77aa4c250cee40.jpeg)

---

<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:** [January 2, 2020, 1:30pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/39 "2020-01-02T13:30:23Z")

</div>

Interesting. That would suggest the Nuki cloud returns an unexpected result. Upon pairing my app connects to the Nuki cloud to discover the bridge (it’s the only time the cloud is needed).

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:** ![Peter3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter3/32/16698_2.png) [@Peter3](https://community.homey.app/u/Peter3)\
**Post date:** [January 2, 2020, 1:32pm UTC](https://community.homey.app/t/app-pro-nuki-direct/10853/40 "2020-01-02T13:32:11Z")

</div>

> [@Phuturist](#):
>
> e Nuki cloud returns an unexpected result. Upon pairing my app connects to the Nuki cloud to discover the bridge (it’s the only time the cloud is needed).

After looking through your source code, I immediately called that endpoint and noticed it is missing the **ip** property, resulting in undefined of course… interesting. I’ll check my Nuki account if I can find a reason there

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/ab82165ffa7cc6913034a05a8da2f88c1faa1c90.png)

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

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