Releases: ebaauw/homebridge-nb
Releases · ebaauw/homebridge-nb
v1.4.7
v1.4.6
v1.4.5
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
doorsensorBatteryCriticalon 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
v1.4.3
v1.4.2
v1.4.1
v1.4.0
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, usingnpm -g i homebridge-nb --omit=optional. In this case, Homebridge NB reverts to using hashed tokens.
nb: add-Eparameter to select level of encryption (none,hashedToken, orencryptedToken);NbClient: addencryptionparameter.- Create a separate library,
hb-nb-toolsfor the modules interacting with the Nuki API and thenbtool, sonbcan be installed standalone, on servers not running Homebridge.
Bump Dependencies
- homebridge-lib v6.3.13;
- sodium-plus v0.9.0.