Homebridge platform plugin to manage Nuki Smart Locks via Bluetooth
Nuki's HomeKit implementation only allows to Lock and Unlock the door. homebridge-nubli exposes two Locks to HomeKit. One that lets you lock and unlock the door (door won't open) and another that lets you unlatch the door. It also shows whether the door is open via the integrated door sensor. This enables you to use HomeKit automations without opening the door, like unlocking the door in the morning and locking it again in the evening.
You can use both HomeKit integrations at the same time, although homebridge-nubli provides the same functionality as the official HomeKit integration (and even more).
npm install homebridge-nubli --save
config.json
and configure accessory. See Configuration section.To pair your Smart Lock run the following command in your shell (inside the Homebridge directory):
node node_modules/nubli/examples/pair.js
Note: The Smart Lock must be in pairing mode (Press the Button on the Lock until the ring is fully illuminated).
Create a new nubliConfig folder inside your homebridge folder and copy the node_modules/nubli/config/*.json files to nubliConfig.
mkdir nubliConfig
cp node_modules/nubli/config/*.json ./nubliConfig
To configure the plugin add the following to the platform section in config.json
.
{
"platform": "Nubli",
"configPath": "/path/to/homebridge/nubliConfig/",
"debug": false,
"locks": [
{
"name": "Entrance Lock",
"uuid": "UUID of the Smart Lock"
}
]
}
The UUID is the file name (without extension) of the Nubli configuration. You can find them with:
ls -l /path/to/homebridge/nubliConfig
If you have any questions or help please open an issue on the GitHub project page.
Pull requests are always welcome. If you have a device that is not supported yet please open an issue or open a pull request with your modifications.
The project is subject to the MIT license unless otherwise noted. A copy can be found in the root directory of the project LICENSE.