/hb-nb-tools

Homebridge NB Tools

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Homebridge NB Tools

Downloads Version JavaScript Style Guide

Homebridge NB Tools

Copyright © 2020-2024 Erik Baauw. All rights reserved.

This repository provides a standalone installation of the command-line tools from Homebridge NB:

Tool Description
nb Interact with Nuki bridge from command line.

Each command-line tool takes a -h or --help argument to provide a brief overview of its functionality and command-line arguments.

Prerequisites

Homebridge NB communicates with the Nuki Bridge using the local Nuki Bridge HTTP API. You need to enable this API through the Nuki app.

Installation

$ sudo npm -g i hb-nb-tools

Homebridge NB Tools uses sodium-plus for encrypted tokens. This optional dependency contains C++ modules, that might need to be compiled on installation. In case you want to install Homebridge NB Tools on a system that doesn't include the build tools needed for this, you might need to skip installation of sodium-plus by

$ sudo npm -g i hb-nb-tools --omit=optional

Homebrdige NB Tools reverts to hashed tokens when sodium-plus isn't installed.