github ebaauw/homebridge-nb v1.4.0

latest releases: v1.5.3, v1.5.2, v1.5.1...
2 years ago

Enhancements

  • Use encrypted token for communication with the Nuki bridge, see #94. Please take notice of the following:
    • Encrypted tokens requires Nuki biridge firmware >= 2.14.0 (or >= 1.22.1 for the v1 bridge). Make sure to upgrade your bridge firmware before upgrading Homebridge NB;
    • As with hashed tokens, the clocks on the server running Homebridge and the Nuki bridge to be synchronised;
    • The encryption of the token is provided by sodium-plus. Unfortunately this repository contains a C++ module, that might need to be compiled on installation. I've made this an optional dependency, so Homebridge NB can be installed on systems without build tools, using npm -g i homebridge-nb --omit=optional. In this case, Homebridge NB reverts to using hashed tokens.
  • nb: add -E parameter to select level of encryption (none, hashedToken, or encryptedToken);
  • NbClient: add encryption parameter.
  • Create a separate library, hb-nb-tools for the modules interacting with the Nuki API and the nb tool, so nb can be installed standalone, on servers not running Homebridge.

Bump Dependencies

  • homebridge-lib v6.3.13;
  • sodium-plus v0.9.0.

Don't miss a new homebridge-nb release

NewReleases is sending notifications on new releases.