Nuki | Electronic door lock for smart access | Nuki The Smart Lock

How to Use Nuki Smart Lock with Home Assistant: Advanced Automation Guide

How to Use Nuki Smart Lock with Home Assistant: Advanced Automation Guide

By Nuki | Electronic door lock for smart access | Nuki The Smart Lock | Published: 2026-07-26

Category: How-to Guides

Unlock advanced home automation by integrating your Nuki Smart Lock with Home Assistant. Learn setup, automations, and smart home synergy.

Integrating your Nuki Smart Lock with Home Assistant unlocks a world of advanced automation possibilities. Whether you want lights to turn on when you unlock the door, or receive alerts when someone enters, this guide will walk you through the process step by step. Home Assistant is a powerful open-source platform that connects smart devices from different brands, and Nuki’s local API makes it a perfect match for privacy-focused automation.

In this advanced guide, we’ll cover the initial setup, configuration options, and creative automations that go beyond basic locking and unlocking. You’ll learn how to use sensors, geofencing, and even voice assistants to create a truly smart home experience. Let’s dive in.

Why Integrate Nuki with Home Assistant?

Home Assistant gives you complete control over your smart home without relying on cloud services. By integrating your Nuki Smart Lock, you can create automations that respond to your lock’s status, such as locking all doors when you leave or unlocking when you arrive. The Nuki integration supports local API access, meaning your data stays on your network for faster response times and enhanced privacy.

Additionally, combining Nuki with Home Assistant allows you to bridge devices that don’t natively communicate. For example, you can trigger a Nuki lock action based on a motion sensor from another brand, or use a smart button to toggle the lock. This flexibility makes Home Assistant the ultimate hub for Nuki users who want to push their smart home to the next level.

  • Local API for low-latency, offline-capable control
  • Combine Nuki with sensors, lights, and other smart devices
  • Create complex automations with conditions and triggers

Prerequisites and Setup

Before you begin, ensure you have Home Assistant installed and running (version 2023.6 or later recommended). You’ll also need a Nuki Smart Lock that supports the local API, such as the Smart Lock Pro (5th Gen) or Smart Lock Ultra. The Nuki Fob can be used for manual control, but for Home Assistant integration, the lock itself is essential. Additionally, a Nuki Door Sensor can provide accurate open/close status for more precise automations.

To add Nuki to Home Assistant, navigate to Configuration > Integrations, search for Nuki, and follow the setup wizard. You’ll need your Nuki Smart Lock’s IP address and the API token, which can be generated in the Nuki app under Settings > API. Once connected, Home Assistant will discover your lock and any accessories like the keypad-2-208683">Keypad 2 or Door Sensor. Test the connection by toggling the lock from the Home Assistant interface.

  • Ensure Home Assistant is updated to the latest version
  • Generate an API token in the Nuki app
  • Test the integration with a simple lock/unlock command

Creating Advanced Automations

With the integration set up, you can create automations that respond to lock events. For instance, use the Nuki Door Sensor’s state to trigger an automation: when the door opens and the lock is unlocked, turn on the hallway lights. Or, use a geofencing automation with your phone’s location: when you arrive home and your phone connects to Wi-Fi, automatically unlock the Nuki Smart Lock.

Another powerful automation is to use the Nuki Keypad 2 or Keypad 2 NFC for code-based triggers. For example, when a specific code is entered, send a notification to your phone with the user’s name. You can also create a routine that locks all doors at a certain time, even if you forget. The possibilities are endless, limited only by your imagination.

  • Trigger lights or alarms based on lock state
  • Use geofencing for hands-free entry
  • Send notifications when specific codes are used

Troubleshooting Common Issues

If the integration fails, first check that your Nuki Smart Lock is on the same network as Home Assistant. Ensure the API token is correct and that the lock’s firmware is up to date. For persistent issues, try restarting both the lock and Home Assistant. If you’re using the Nuki Power Pack, ensure it has sufficient charge to maintain a stable connection.

Another common problem is latency or missed events. This can often be resolved by enabling the local API option in the Nuki app and disabling cloud polling if not needed. For advanced users, consider using the MQTT integration for even faster event propagation. The Nuki community forum is also a great resource for troubleshooting specific scenarios.

  • Verify network connectivity and API token
  • Update firmware on all Nuki devices
  • Use local API for better performance

Integrating your Nuki Smart Lock with Home Assistant opens up a world of smart home possibilities. From simple automation to complex routines, you can tailor your home’s response to your lifestyle. Ready to take control? Explore the Smart Lock Ultra for the latest in smart lock technology and start building your perfect automation today.

Shop Related Products

Fob

Fob

$29.50 $59.00

Shop Now
Smart Lock Pro (5th Gen)

Smart Lock Pro (5th Gen)

$134.50 $269.00

Shop Now
Keypad 2 NFC

Keypad 2 NFC

$89.50 $179.00

Shop Now
Smart Lock Go

Smart Lock Go

$74.50 $149.00

Shop Now