817964
12
Zoom out
Zoom in
Previous page
1/14
Next page
5. Home Assistant Discovery
The Nuki MQTT API supports the MQTT Discovery of Home Assistant which enables Home
Assistant to automatically add devices to its database once they are connected to the MQTT
server. It can also be used from other integrations to automatically discover Nuki devices that
connect to an MQTT server.
Home Assistant Discovery can be activated during provisioning.
When Home Assistant Discovery is activated the Nuki device publishes on each MQTT connect
messages into the relevant topics with the prefix “homeassistant” which is hardcoded and can
not be changed.
Those topics are retained by the MQTT server (i.e. the retain flag is set for the …/configure
topic). If the Nuki device is removed from the MQTT server the retained topics will have to be
manually deleted in order to remove the devices fully from Home Assistant. Disabling Home
Assistant Auto Discovery or the MQTT API with the Nuki App while the Nuki device is connected
to the MQTT server will also attempt to clear the retained topics once by sending empty
messages to the retained …/configure topics.
5.1 Smart Lock
The following devices are published into the respective topic:
homeassistant/device_type/nuki_id_in_hex/nuki_name/config
Name
Device Type
Description
Smart Lock
Lock
Lock commands & states
Smart Lock Battery
Sensor
Smart Lock battery in %
Smart Lock Battery Critical
Binary_sensor
Smart Lock battery critical
flag
Smart Lock Battery Charging
Binary_sensor
Smart Lock battery is
charging flag
Smart Lock Unlatch
Button
Button for unlatch command
Nuki Home Solutions GmbH
Münzgrabenstraße 92/4 • 8010 Graz • Austria • F +43 316 22 84 12 50
12


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Nuki MQTT API at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Nuki MQTT API in the language / languages: English as an attachment in your email.

The manual is 0.17 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info