After spending several hours troubleshooting this issue, I finally found a workaround that solved it completely. Hopefully this will save other users some time.
Setup
-
Homey Pro (Early 2023)
-
Homey Pro v13.3.0
-
Nuki Smart Lock Ultra
-
Nuki firmware 5.7.11
-
iPhone (iOS)
-
Apple TV 4K (used only for testing)
Problem
I was unable to pair my Nuki Smart Lock Ultra with Homey using Matter.
After enabling Matter in the Nuki app:
-
Homey successfully detected the lock.
-
The Matter QR code was accepted.
-
Homey displayed “Searching for device…”
-
Pairing always failed with the following error:
Connection failed
Unable to pair device:
incorrect_state (0x0003)
What I tried (without success)
I tried all of the following:
-
Restarted Homey Pro
-
Restarted the Nuki lock
-
Updated Homey to the latest version
-
Updated the Nuki firmware to the latest version
-
Added the device using both the Matter driver and the Nuki driver
-
Scanned the Matter QR code
-
Entered the Matter pairing code manually
-
Moved Homey to within 50 cm (20 inches) of the lock
-
Kept the iPhone close to the lock
-
Verified that Thread was enabled and working on Homey
None of these steps solved the problem.
The workaround
I then decided to try pairing the lock with Apple Home.
Step 1
Add the lock to Apple Home using the Matter QR code.
The pairing completed immediately without any issues.
Step 2
Without removing it from Apple Home, go back to Homey and add the lock via Matter.
This time Homey paired with the lock successfully.
Step 3
After confirming that the lock was working correctly in Homey, I removed it from Apple Home.
Result:
The lock continues to work perfectly in Homey over Matter/Thread.
Verification
In Homey’s Advanced Device Settings, the device now reports:
-
Network Type: Thread
-
Vendor: Nuki
-
Product: Smart Lock Ultra
-
Matter Specification: 1.4.1
So the communication is indeed Matter over Thread, not cloud-based.
Conclusion
It appears that the issue only affects the initial Matter commissioning between Homey and the Nuki Smart Lock Ultra.
Once the lock has been commissioned by another Matter controller (Apple Home in my case), Homey can successfully join as a Matter administrator. After that, Apple Home can even be removed and Homey continues to control the lock normally.
I don’t know whether this is a Homey bug, a Nuki bug, or an interoperability issue between the two, but this workaround solved the problem completely for me.
Versions used
-
Homey Pro (Early 2023)
-
Homey Pro v13.3.0
-
Nuki Smart Lock Ultra
-
Firmware 5.7.11
-
Matter 1.4.1
I hope this helps anyone experiencing the same incorrect_state (0x0003) error.
If anyone else can reproduce this behavior or confirm the workaround, it would be interesting to know whether this is a general interoperability issue between Homey and the latest Nuki Smart Lock Ultra during the initial Matter commissioning process.