I am new to homey and am testing the SHS version (currently I am still using Home Assistant).
I successfully installed and configured Zigbee2MQTT and can see all my devices. After adding my Nuki Lock Pro with MQTT I always get a message telling me that there are no Nuki devices. The topic on the MQTT Broker is nuki/SN/… and it works fine in HA. I found an older post where someone mentions to change the topic but I can not configure it in homey.
I know but some things doesn’t work properly. I can not unlock the door without pulling the latch. Also it claims the battery is at 100% which can not be (and z2m shows the correct value).
I don’t know how this answer can help me. I wrote that I want to use the MQTT implementation but it doesn’t find the lock.
Does anyone here has an idea why this happens? the prefix is “nuki” and I think it should find the lock there.
I guess I was confused because you literally wrote “I successfully installed and configured Zigbee2MQTT”. I guess that’s just completely irrelevant to your question.
I’m confused by your explanation. Zigbee2MQTT is in no way related to or needed for using Nuki with MQTT.
You can add Nuki through MQTT using the official Nuki app and selecting the Smart Lock (MQTT) device. After doing this, can enter address of your MQTT broker, port, username and password.
Note that with regards to the battery, my experience with the official Nuki app is poor. Despite the MQTT topic containing the actual battery percentage, the app only shows “OK” (or not) as the battery status.
EDIT:
Re-read you post, which seems to suggest that you are already using the Nuki app with MQTT.
When first adding an MQTT lock, you are asked for the information to connect to your MQTT broker. After doing so, the app should show you available MQTT locks. After the lock was added, it will not show again. Perhaps the lock was already added but not in the zone that you are expecting it?
You can check the app to see if a device was already added by going to More > Apps, and then opening the Nuki app. If the lock was added, it will show as a device.
Its working now! I restarted everything and now it found the lock instantly using MQTT. I have no idea why it didn’t work before because all other devices were found without any problems.