ESPHome Nuki Bridge

does it have an esp inside, then it shoud be possible

Hi, is it possible to use the esp32_ble_beacon: and this integration simultaneously ?

Hi, I have a button connected to my ESP32

lock:
  # Required:
  - platform: nuki_lock
    name: Nuki Lock
    is_connected: 
      name: "Nuki Connected"
    is_paired: 
      name: "Nuki Paired"      
  # Optional:
    battery_critical:
      name: "Nuki Battery Critical"
    battery_level:
      name: "Nuki Battery Level"

binary_sensor:
  
  - platform: gpio
    pin: 
      number: GPIO32
    name: "Button Lock Door"

How can I lock the door within the ESP32 without going out and back through HA, not sure how to code it?

Regards, Dave

I’ve been using this with great success for the last year ago. Not sure if there is actually a need to upgrade, however ESPHome has been bugging me to upgrade but the installation now fails. I see there were some recent changes to the required yaml however doesn’t appear to work for me.

error message:

 In file included from .piolibdeps/esphome-web-98a14c/NukiBleEsp/src/NukiLock.h:3,
                  from src/esphome/components/nuki_lock/nuki_lock.h:10,
                  from src/esphome/components/nuki_lock/nuki_lock.cpp:2:
 .piolibdeps/esphome-web-98a14c/NukiBleEsp/src/NukiBle.h:316:10: error: 'void Nuki::NukiBle::onDisconnect(NimBLEClient*)' marked 'override', but does not override
      void onDisconnect(BLEClient*) override;
           ^~~~~~~~~~~~
 Compiling .pioenvs/esphome-web-98a14c/src/esphome/components/sensor/filter.cpp.o
 *** [.pioenvs/esphome-web-98a14c/src/esphome/components/nuki_lock/nuki_lock.cpp.o] Error 1

yaml has been updated to the the current version

esphome:
  name: esphome-web-98a14c
  friendly_name: ESPHome Nuki 

  libraries:
  - Preferences
  - https://github.com/h2zero/NimBLE-Arduino
  - Crc16
  - https://github.com/uriyacovy/NukiBleEsp32

external_components:
  - source: github://uriyacovy/ESPHome_nuki_lock

esp32:
  board: "esp32dev"  # Or whatever other board you're using
  framework:
    type: arduino
    version: 2.0.16
    platform_version: 6.7.0

# Enable logging
logger:
  

# Enable Home Assistant API
api:
  encryption:
    key: "yjtpZ7MyLVjl4rhJckdeUYYAtuBdKVu4nWblvuavpZ4="

ota:
- platform: esphome



wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-98A14C"
    password: "u1PMuPCjx1JW"

captive_portal:
    


> lock:
>   # Required:
>   - platform: nuki_lock
>     name: Nuki Lock
>     is_connected: 
>       name: "Nuki Connected"
>     is_paired: 
>       name: "Nuki Paired"      
>   # Optional:
>     battery_critical:
>       name: "Nuki Battery Critical"
>     battery_level:
>       name: "Nuki Battery Level"
>     door_sensor:
>       name: "Nuki Door Sensor"
>     door_sensor_state:
>       name: "Nuki Door Sensor State"

Should be solved now, see here:

1 Like