2022-04-10 21:26:01 +02:00
2022-03-22 21:10:43 +01:00
2022-03-22 21:10:43 +01:00
2022-04-10 13:55:14 +02:00
2022-03-22 21:10:43 +01:00
2022-04-09 22:50:40 +02:00
2022-04-10 21:26:01 +02:00
2022-04-09 22:50:40 +02:00
2022-04-10 21:26:01 +02:00
2022-04-06 10:39:02 +02:00
2022-04-09 12:10:27 +02:00
2022-04-10 21:26:01 +02:00
2022-04-09 20:20:52 +02:00

About

The NUKI Hub software acts as a bridge between a NUKI Lock and a smart home system. Via MQTT, the state can be queried and commands can be executed

Setup

The firmware uses the Wifi Manager to configure the WiFi network. Power up the ESP32, a new Access Point should appear. Connect to this access point and in a browser navigate to "192.168.4.1". Use the web interface configure your Wifi network.

After configuring the Wifi, the ESP should automatically connect to your network. Use the web interface to setup the MQTT broker; just navigate to the IP-Address assigned to the ESP32 via DHCP (often found the web interface of the internet router).

Paring

Just enable pairing mode on the NUKI lock and power on the ESP32. Pairing should be automatic. Unfortunately there's no feedback at the time, except for debug output on the serial line. If it worked, the lock state and the battery level should be reported via MQTT.

MQTT Interface

  • lock/state: Reports the current lock state as a string. Possible values are: uncalibrated, locked, unlocked, unlatched, unlockedLnga, unlatching, bootRun, motorBlocked

  • lock/trigger: The trigger of the last action: autoLock, automatic, button, manual, system

  • lock/completionStatus: Status of the last action: success, motorBlocked, canceled, tooRecent, busy, lowMotorVoltage, clutchFailure, motorPowerFailure, incompleteFailure, invalidCode, otherError, unknown

  • lock/doorSensorState: State of the door sensor: unavailable, deactivated, doorClosed, doorOpened, doorStateUnknown, calibrating

  • lock/action: (to be renamed to action). Allows to execute lock actions. After executing the action, the value is reset to an empty string. Possible actions: unlock, lock, unlatch, lockNgo, lockNgoUnlatch, fullLock, fobAction1, fobAction2, fobAction3

  • battery/voltage: Reports the current battery voltage in Volts.

  • battery/level: Battery level in percent

  • battery/critical: 1 if battery level is critical, otherwise 0

  • battery/charging: 1 if charging, otherwise 0

  • battery/voltage: Current Battery voltage (V)

  • battery/drain: The drain of the last lock action in Milliwattseconds (mWs)

  • battery/maxTurnCurrent: The highest current of the turn motor during the last lock action (A)

  • presence/devices: List of detected bluetooth devices as CSV. Can be used for presence detection

Disclaimer

This is a third party software for NUKI smart door locks. This project or any of it's authors aren't associated with Nuki Home Solutions GmbH. Please refer for official products and offical support to their website:

https://nuki.io/

For further license details, check the included LICENSE file.

Description
No description provided
Readme MIT 109 MiB
Languages
C++ 91.6%
C 4.3%
HTML 2%
CMake 0.7%
Python 0.5%
Other 0.8%