NodeJS v14
With NodeJS v14.x becoming the current LTS version, I now develop and test my plugins against the latest v14 of NodeJS. A warning message will be issued when you run another version. This other version might just work, but I recommend to use the latest LTS version.
Note that, when upgrading (or downgrading) to different major NodeJS version, you need to re-build any package containing C++ components. Typically, this involves uninstalling and re-installing the package.
Enhancements
- Add
maxFavourites
config.json setting to change the maximum number of TV input channels for supported Sonos favourites from the default 96 to a number between 16 and 96. Note that only input channels for actual favourites are shown, but resources are pre-allocated for the maximum number of supported input channels.
Bug Fixes
- TypeError when exposing a Slave accessory. Need to lookup the master using the master's ID instead of the slave's ID. See Discord.
Bump Dependencies
- NodeJS v14.15.0
- homebridge-lib v4.8.0.