[APP][Pro] Nuki Direct

Hi,

Thinking of purchasing a Nuki Smart Lock 3.0.
Anyone got a referral discount links available that could kindly share?
i.e. Nuki Club: Exclusive benefits, offers & free membership - Nuki

1 Like

sent via pm

1 Like

thanks!

1 Like

i install it today on my HP2023… “could not get device by id” error

Yes i have the same error (HP2023 v62)

I tried to contact the developer via github but unfortunately no response

1 Like

unfortunately I’m afraid this app won’t work on Homey 2023. The developer is unreachable, also no response via github. Too bad it was a wonderful local app. R.I.P

I will push my version to hcs later tonight, its working for hcs 2023

5 Likes

that will be great… i’m going to try it!

@DominicVonk Thanks for the resurrection of the local nuki. works again on homey 2023

1 Like

Hi @DominicVonk,
I installed (cli, not HCS) your recent release 3.0.7 (cloned from github) on my homey pro 2023 and I hoped to solve the “could not get the device by id” error. But unfortunately the problem is still there. Any idea how to track down the reason?

btw: the app also starts with an error. Does ist matter? I can add my devices (smart lock 2.0 and opener) without any issues:

❯ homey app run
✓ Pre-processing app...
Added FlowCard `nuki_state_changed` for type `triggers`
Added FlowCard `lockstateChanged` for type `triggers`
Added FlowCard `alarm_battery_keypad_true` for type `triggers`
Added FlowCard `alarm_battery_keypad_false` for type `triggers`
Added FlowCard `contact_alarm_condition` for type `conditions`
Added FlowCard `alarm_battery_keypad` for type `conditions`
Added FlowCard `lockAction` for type `actions`
Added Driver `nuki`
Added FlowCard `nuki_state_changed_opener` for type `triggers`
Added FlowCard `openerstateChanged` for type `triggers`
Added FlowCard `continuous_mode_true` for type `triggers`
Added FlowCard `continuous_mode_false` for type `triggers`
Added FlowCard `ring_action` for type `triggers`
Added FlowCard `alarm_battery_keypad_true_opener` for type `triggers`
Added FlowCard `alarm_battery_keypad_false_opener` for type `triggers`
Added FlowCard `continuous_mode` for type `conditions`
Added FlowCard `ring_condition` for type `conditions`
Added FlowCard `alarm_battery_keypad_opener` for type `conditions`
Added FlowCard `openerAction` for type `actions`
Added Driver `opener`
Added Capability `alarm_battery_keypad`
Added Capability `continuous_mode`
Added Capability `lockstate`
Added Capability `nuki_state`
Added Capability `open_action`
Added Capability `openerstate`
✓ Validating app...
Warning: flow.actions['lockAction'].titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions['openerAction'].titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
✓ App validated successfully against level `debug`
✓ Creating Remote Debug Session...
✓ Preparing Environment Variables...
✓ Connecting to `Zuhause`...
✓ Starting `nuki.homey@3.0.6` remotely...
✓ Starting debugger at 0.0.0.0:9230...
 — Open `about://inspect` in Google Chrome and select the remote target.
✓ Starting `nuki.homey@3.0.6` in a Docker container...
 — Press CTRL+C to quit.
─────────────── Logging stdout & stderr ───────────────
Debugger listening on ws://0.0.0.0:9230/369e1fce-83fa-40d9-b759-b04982c00b90
For help, see: https://nodejs.org/en/docs/inspector
2023-04-25T22:29:13.376Z [log] [NukiApp] Initializing Nuki app ...
2023-04-25T22:29:13.421Z [err] [Homey:6407147158e4600b841442f0] [ManagerDrivers] [Driver:nuki] Error Initializing Device: Error: Cannot find module '../../lib/NukiBridge.js'
Require stack:
- /app/lib/NukiDevice.js
- /app/drivers/nuki/device.js
- /node_modules/@athombv/homey-apps-sdk-v3/lib/Util.js
- /node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js
- /node_modules/@athombv/homey-apps-sdk-v3/homey.js
- /node_modules/@athombv/homey-apps-sdk-v3/index.js
- /homey-app-runner/lib/App.js
- /homey-app-runner/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
    at Function.Module._load (node:internal/modules/cjs/loader:866:27)
    at Module.require (node:internal/modules/cjs/loader:1093:19)
    at Module.homeyRequire [as require] (/node_modules/@athombv/homey-apps-sdk-v3/index.js:12:19)
    at require (node:internal/modules/cjs/helpers:108:18)
    at Object.<anonymous> (/app/lib/NukiDevice.js:4:20)
    at Module._compile (node:internal/modules/cjs/loader:1191:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
    at Module.load (node:internal/modules/cjs/loader:1069:32)
    at Function.Module._load (node:internal/modules/cjs/loader:904:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/app/lib/NukiDevice.js',
    '/app/drivers/nuki/device.js',
    '/node_modules/@athombv/homey-apps-sdk-v3/lib/Util.js',
    '/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js',
    '/node_modules/@athombv/homey-apps-sdk-v3/homey.js',
    '/node_modules/@athombv/homey-apps-sdk-v3/index.js',
    '/homey-app-runner/lib/App.js',
    '/homey-app-runner/index.js'
  ]
}

Daniel

you really have to install the version of hcs … it still has a few bugs but works on the hp2023.

*door sensor not updating

I do not have the HCS installed at the moment. Seems to be that I have to give it a try.

I ran into the same problem with my HP2023 the version from HCS solves this!

I installed the 3.0.7 app trough HCS on my Homey 2023. But when I want to add my Nuki I get an error that says “no new devices have been found.” When I install the app on my Homey 2016, I get the same error. HTTP API is turned on, and the connection is good. I tried factory resetting the bridge, but that didn’t help as well.

1 Like

I have the same issue when trying to add my Nuki on my new Homey 2023. However, it still work perfectly on my Homey 2019 even though I upgraded to version 3.07. Initial installation on HP2019 was performed with an older version in the year 2020. I don’t remember what was the version at that time.
Could it be that we are not allowed to add Nuki on 2 different devices?

1 Like

I don’t think that would be the problem. Since it is not installed on my Homey 2016.

I just tried completely resetting my Nuki as well as the bridge, to check if that would solve the problem. Unfortunately it didn’t. The same problem persist.

I tried to add the Nuki again after the v10.0.0-rc.105 firmware update. Unfortunately the Bluetooth fix on the firmware update didn’t solve the problem of adding a new device with Nuki Direct.

Why do you think this BT fix should solve any problem with the Nuki Direct app and the Nuki Smart Lock?

To connect the Nuki Smart Lock (version 1.0, 2.0, 3.0), the Nuki Bridge is required. Homey, respectively the Nuki Direct App connects to the Smart Lock via the Nuki Bridge (WiFi).
For the Nuki Smart Lock 3.0 Pro, the bridge is not needed. But this requires that the Nuki Smart Lock 3.0 Pro is connected to the home WiFi network.

My mistake, I thought it used the Bluetooth it also uses to connect to the lock directly. But it doesn’t change the fact that I still can’t add it with the latest firmware :wink: