Integrate Nuki into Ekey

Hi,

I’d like to integrate NUKI 5 Pro into my eKey fingerprint sensor environment. I followed this tutorial: EXAMPLE: Unlocking a Nuki Smart Lock Go, Pro or Ultra via Web API - HTTPS requests - ekey developer

I skipped the steps around the Swagger UI since I don’t have that or use it (yeah, noob here). However, it’s easy enough to create the required POST URL yourself (see below). I have taken the Nuki ID shown in the NUKI app and then translated it from hex into decimal value. I then also created the API token from the NUKI web interface as described in the abovementioned tutorial. Following that, I setup the HTTP request in eKey’s bionyx app:

  • Method: POST
  • URL: https://api.nuki.io/smartlock/123456789/action/unlock
  • Request Header: Empty
  • Request Body: Empty
  • Timeout: 6 s
  • Security: TlsWithCACheck
  • Authentification: Access-Token
  • Token: [Copied the token generated from the NUKI web interface]
  • Timeout: …a few years

However, I experience two problems:

  • The access token is immediately flagged as “Invalid access token” written in red letters below the pasted token
  • If I click “test”, I get the message “Execution failed - HTTP-Response Status-Code: 404 Not Found. The requested resource could not be found.”

I have no clue what the problem is or how to troubleshoot from here. Any advice? Thanks a lot!

Btw: I wish Nuki would simply offer a relay that could be hooked to external systems… That would make life so much easier!

Solved! Only problem was, that the Nuki Web Interface was for whatever reason not working properly/stuck; indicated by not synchronizing the status and no possibility to open/lock the smart lock via the Web Interface. Using the app it worked fine. Logging out and loggin on again solved the issue…

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.