The Smart Lock supports MQTT integration via Wi-Fi or Thread networks. You can configure MQTT in your Nuki App including features like auto discovery for Home Assistant and locking permissions via the interface.
Requirements
- MQTT via Wi-Fi
Activation of the built-in Wi-Fi module and connection to the Wi-Fi network
- MQTT via Thread
Activation of Matter via Thread and connection to the Thread network
- App version 2023.4.1 or higher
- MQTT protocol version 3.1.1 or higher
Configure MQTT via the Nuki App
- Open the Nuki App, tap the desired Smart Lock and open the settings.
- Select ”Features & Configuration” and scroll in the Nuki App to the section ”Integrations” and select ”MQTT”.
- Follow the app instructions to proceed with the activation.
Additionally to the host name, username and password, you can configure the following options in the Nuki App:
- Auto discovery
With auto discovery enabled, your Smart Lock will automatically be recognized by Home Assistant after being added to the network.
- Allow locking
You can enable or disable locking actions via MQTT. The communication via the interface can be limited to exchanging information only.
Security
Although authentication with username and password takes place, communication between Smart Lock and broker is not encrypted. The MQTT connections are always established on port 1883. There is no additional encryption beyond the Wi-Fi encryption when using MQTT via Wi-Fi. This means that the security follows the security level of your network. However, you can limit the communication via the interface to exchanging information only. In the Nuki App you can define if locking actions can be executed via MQTT or not (”Configure MQTT” > ”Allow locking”).