node-red-contrib-nukible
v1.0.3
Published
A Node-RED node to control a Nuki smart lock
Downloads
20
Maintainers
Readme
node-red-contrib-nukible
USE AT YOUR OWN RISK
A Node-RED node to control a Nuki smart lock. For more information regarding Nuki, have a look at https://nuki.io
The node uses the open source javascript library https://github.com/as19git67/nukible
Requirements
- A nuki smart lock
- a bluetooth device (like a USB bluetooth dongle on a Raspberry Pi)
- A node-red installation
Installation
Have a look at https://nodered.org/docs/getting-started/adding-nodes how to install a node:
Installation of node-red-contrib-nukible
Run the following command in the root directory of your Node-RED install or use the "Manage palette"
npm install node-red-contrib-nukible
Pair with Nuki lock
Change to the nukible directory (e.g. $HOME/.node-red/node_modules/node-red-contrib-nukible/node_modules/nukible/)
cp ../../scripts/pair_nuki.js .
Switch on the Nuki pairing mode (read Nuki instructions)
node pair_nuki.js
Use the given pairing information
AppId: 2318248227
PID: 12d272cc64e9
UUID: a8de233b5ba344f72933a56693abc2d3
AuthID: 135
SharedSecret: 28a88283727183727abeeeaf282737346277378446328197aa28ab37c72783a4
Usage
- Use the node-red-contrib-nukible nodes
- Add the credentials where were printed while paring to the nuki-credentials
- Deploy it and use it!
Thanks
- Thanks to "as19git67" for the nodejs module "nukible" which this node-red node uses.
- Thanks to https://nuki.io for the really great smart lock!
USE AT YOUR OWN RISK
Copyright
Copyright(c) 2018 Bernhard Suttner / https://bernhard-suttner.de