Nuki binding in OH5 doesn't discover bridge and can't finish initialization

The issue I’m dealing with right now is that the Nuki bridge doesn’t behave like it’s supposed to according to the binding documentation:

  • In openHAB UI add new thing, select Nuki Binding and start scan. LED on bridge should light up.

The light on the bridge doesn’t light up in my case. I tried pressing the button to see what happens but the bridge is not discovered.

Things that I tried:

  1. Manual addition. I set the bridge with the correct IP address, port and API Token, but it stayed in “initializing” state and never went on line.

  2. Resetting the bridge through the mobile application and trying both automatic discovery and manual addition.

  3. Checking if the bridge worked at all through the bridge management function of the mobile app, check the server connection, and connection to the smartlock. Everything works correctly in the official Nuki mobile app.

  4. Check that the bridge is discoverable through the API official function (chapter 3 of the V1.13.3 documentation) through calling https://api.nuki.io/discover/bridges returned the correct JSON array.

    {
      "bridges": [
        {
          "bridgeId": 1946588156,
          "ip": "192.168.1.164",
          "port": 8080,
          "dateUpdated": "2025-11-21T15:23:28Z"
        }
      ],
      "errorCode": 0
    }
    
  5. Activating the API and retrieving the token through the /auth command worked exactly as specified in section 5 of the official documentation, meaning that a call to http://192.168.1.164:8080/auth caused the light on the bridge to light up and pressing the button returned the correct API parameters exactly as it was supposed to happen:

    {
      "success": true,
      "token": "s2d2k6"
    }
    

Everything seems to indicate that the bridge is working correctly but it still can’t be discovered or added manually in OH5. Therefore I’m starting to suspect that something isn’t working with the Nuki binding.

Any help will be greatly appreciated

Claude

Does your openhab instance have working internet connection and is the bridge also reachable?

Try setting log level for org.openhab.binding.nuki to DEBUG , retry the discovery and post logs here.

Thank you for the prompt reply. In answer to your questions:

Yes, both bridge and openhab are on the same wifi network and I can ping the outside world from an SSH session to the openhab.

I decided to reboot the openhabian Pi before continuing with my troubleshooting. After the reboot I set the log level of org.openhab.binding.nuki to DEBUG and started a new scan.

To my surprise the light on the bridge went on and it was discovered correctly when I pressed the button. It appeared in the inbox and once accepted it seems to work correctly.

This is the log

logfile.xml (23.8 KB)

While I’m pleased to have this issue resolved I can’t explain why it didn’t work before I rebooted the Pi and what fixed the issue.

Anyway, this issue is resolved (for me) and thank you for the help.

Claude

1 Like