I connected my nuki 5 pro successfully with my MQTT broker and home assistant and everything is working fine. However, I would love to see by which device (e. g., keypad) the lock has been opened, which I can find in the logs. However, it won’t tell me via MQTT. Do I have to add it to home assistant with the (alternative) Nuki integration and if so, where do I find the (thread connected) IP addresses of my nuki and the access token? I don’t want to connect via the Nuki web as I would like this to be limited to my local network.
The information on who (type and id) caused the lock action is exposed at the /lockActionEvent topic.
But you would need to manually add this to Home Assistant and parse the data.
Some example values can be found in the documentation available here.
Thank you Marc, that was a very good starting point!
I used this to define some sensors in Home Assistant which allow me to use these for further automations. Since this might help some of you, please find them below: