Quick and easy integration into your home automation
MQTT offers a simple and stable option for integrating your Smart Lock Pro into your home automation.
Popular Smart Home hubs such as HomeBridge or Home Assistant can be connected MQTT effective immediately. So there is flexible integration into your various application scenarios, from simple status updates of your Smart Lock to complete Smart Home automation.
MQTT is supported as of firmware version 3.5.11 of the Smart Locks 3.0 Pro and 4.0.28 of the Smart Lock Pro (4th Generation).
With app version 2023.4.1 or higher you can also do the integration directly via the Nuki app.
MQTT at a glance
MQTT (Message Queuing Telemetry Transport) is a simple, so-called messaging protocol for communication between devices (machine-to-machine communication). In the Internet of Things (IoT), MQTT serves for the interconnectivity of various systems. Devices can be added flexibly to your Smart Home. And without having to have your own adapter or a certain integration being required.
As with other forms of interconnectivity, MQTT has a server (also called a “broker”) and multiple clients:
- The broker (server) represents the central operating platform of the MQTT message exchange.
It can be installed on a computer or dedicated device such as a Raspberry Pi. A widespread broker is Mosquitto.
- A MQTT client is any device (e.g. your Nuki Smart Lock Pro) that connects to the broker. Clients publish and/or subscribe messages via the broker via the so-called publish-subscribe-communication. In order to receive messages on a specific topic, the client must subscribe to the respective “topic”.
You can find the topics you can subscribe to in the specifications.
Nuki offers the Smart Lock ID as a topic to receive updates via messages. Additional sub-topics for subscription could be, for example, lock status, door status, battery status or even the last lock action.
Easy integration into your local network
MQTT is so suitable for your Smart Home because it is easy to implement and is comprehensive. The number of devices that can be interconnected is very large. You don't need detailed, technical background knowledge to build small home automations yourself.
Minimal data transfer
MQTT is an event-controlled protocol A client publishes a message one time via the broker. The broker sends information again only to subscribers when new data is acquired. The data transfer is kept to a minimum.
Low power consumption
Because with this communication protocol no active information query takes place, MQTT saves significantly more power than the connection via HTTP-API, for example.
Learn more about MQTT activation and configuration.