Skip to content

Releases: ebaauw/homebridge-nb

v1.4.7

11 Aug 13:44
884b0bb

Choose a tag to compare

Bump Dependencies

  • NodeJS v18.17.1 LTS;
  • homebridge-lib v6.4.1;
  • hb-nb-tools v1.1.5.

v1.4.6

28 Jul 16:19
a0ef276

Choose a tag to compare

Enhancements

  • Add removeStaleAccessories config.json setting, see #110.
  • Add support for keypad (as dummy stateless programmable switch, but with battery), see #116.
  • Use default names for devices when name is not set in the Nuki app, see #118.

v1.4.5

22 Jul 11:49
ca127ef

Choose a tag to compare

Enhancements

  • Change startup logic: don't finish initialisation until all bridges have initialised. This allows for accessory delegates to be recreated when the bridge is queried, instead of (only) when restoring accessories from cache, see #110.
  • Various changes how the Nuki devices are exposed, see #116:
    • When exposing latch function as separate Lock Mechanism service on a Smart Lock accessory, expose Service Label Index on both services.
    • Don't expose Battery Level nor Charging State on Battery service for Opener.
    • Support Charging State for Smart Lock (with battery packs). Default is now Not Charging instead of Not Chargeable.
    • Experimental: Expose Battery service on Door Sensor accessory when bridge reports doorsensorBatteryCritical on last known state of the smart lock. Not quite sure if and how the bridge would expose this (for the external door sensor to a v3 smart lock).
    • Change the order in which services are created; creating Battery service last;
    • Set primary service on Opener and Door Sensor accessories.

Bump Dependencies

  • NodeJS v18.17.0 LTS;
  • homebridge-lib v6.4.0;
  • hb-nb-tools v1.1.4.

v1.4.4

24 Jun 09:02
22af354

Choose a tag to compare

Bug Fixes

  • Shift schedule for discovery of new Nuki bridges a bit, so (hopefully) it won't coincide with polling, see #114.

Bump Dependencies

  • NodeJS v18.16.1 LTS;
  • hb-nb-tools v1.1.3;
  • homebridge-lib v6.3.18.

v1.4.3

20 May 10:43
c5f9128

Choose a tag to compare

Bump Dependencies

  • homebridge-lib v6.3.17;
  • hb-nb-tools v1.1.1.

v1.4.2

12 May 11:08
92a5c1a

Choose a tag to compare

Enhancements

  • Whitelist which devices to expose, see #69.

Bug Fixes

  • Wait 30s before retrying /auth after error, see #103.

Bump Dependencies

  • Homebridge v1.6.1;
  • homebridge-lib v6.3.15;
  • hb-nb-tools v1.1.0.

v1.4.1

16 Apr 11:43
4eeefaa

Choose a tag to compare

Bump Dependencies

  • NodeJS v18.16.0 LTS;
  • homebridge-lib v6.3.14;
  • hb-nb-tools v1.0.1.

v1.4.0

10 Apr 08:55
ab446cd

Choose a tag to compare

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.

v1.3.4

10 Mar 13:05
42eb78d

Choose a tag to compare

Bump Dependencies

  • NodeJS v18.15.0 LTS;
  • homebridge-lib v6.3.12.

v1.3.3

19 Feb 14:51
cc51b60

Choose a tag to compare

Bump Dependencies

  • NodeJS v18.14.1 LTS;
  • homebridge-lib v6.3.10.