Releases: ebaauw/homebridge-deconz
Releases · ebaauw/homebridge-deconz
v0.1.0
Minor Version
This version uses a new internal representation of Eve history, causing cached history entries by a previous version to be ignored. To prevent gaps in your history, please make sure to download the history in Eve on all your devices, before upgrading Homebridge deCONZ.
Enhancements
- Dynamic settings, see https://github.com/ebaauw/homebridge-deconz/wiki/Dynamic-Configuration.
- Dynamic settings are now set through a REST API provided by Homebridge deCONZ. In future, the plugin settings window in the Homebridge UI will provide a user interface, but for now, you need to interact with the API, see the WIki.
- Dynamic settings are no longer set from HomeKit. Delete the Device Settings service; reduce the Gateway Settings service to Transition Time and Last Updated.
- Current settings include: exposing devices, exposing dynamic effects for lights, exposing scenes for groups (see #42), log level, low battery threshold, venetian blind, expose light or group as light vs outlet.
- When changing settings that determine how to expose a device, the accessory delegate is removed and then re-created, causing stale services and characteristics to be cleaned up.
- Eve History:
- Add support for Light Sensor (incl. built-in Daylight sensor), Switch (for CLIPGenericFlag), Lightbulb;
- Rework history, to allow any combination of up to seven data points, see #59.
Bug Fixes
- Don't sync changes to Configured Name to deCONZ, see #83.
- Motion sensor would set
config/delay
instead ofconfig.duration
, see #93.
Bump Dependencies
- deCONZ v2.19.3;
- NodeJS v18.13.0 LTS;
- homebridge-lib v.6.3.4;
v0.0.27
Enhancements
- Expose Configured Name on (almost) every service, to workaround iOS 16 initialising the service name from the accessory name. With this, the REST API resource names and HomeKit services names should now be synced (i.e. changing the service name in HomeKit results in the resource name in deCONZ being updated, and changing the name through the API results in the HomeKit service name being updated).
Note that HomeKit doesn't like configuration changes, and it might take some time before the changed service names display on all your Apple devices. - Add history to lights and non-metering plugs and switches. This history is modelled after the Eve Light Strip. It doesn't support history entries, but Eve will show Last on ... or On for ... under Power.
Because of this change, Eve now sees all devices with a single Lightbulb service supporting colour as Eve Light Strips, changing the icon and adding Transitions and Power On to the Settings (neither of which do anything). Devices with multiple Lightbulb services show the history (only) on the first service. This makes sense for lights with dynamic scenes and groups with Zigbee scenes, but not so much for devices with multiple light endpoints (like the dual ID GLEDOPTO). - Expose Service Label Index on (repeated) services for dynamic scenes under Mueller lights and Zigbee scenes under groups, to prevent HomeKit from re-ordering the scenes. These are now exposed as Lightbulb services (instead of Switch) in order not to confuse Eve with the Light Strip history.
Deconz.ApiClient
: API responses to PUT now return a nested object, starting from/
, so the response can be parsed like a web socket notification or response to getting the full state (for polling). This will mostly be noticeable when usingdeconz put
(when not specifying-v
):This also allows for better handling of nested attributes, especially for the upcoming$ deconz put /lights/5/state '{"on": true}' { "lights": { "5": { "state": { "on": true } } } }
config
onlights
resources.$ deconz put /lights/5/config '{"on": {"startup": false}}' { "lights": { "5": { "config": { "on": { "startup": false } } } } }
Bug Fixes
- Don't expose (temperature) history on smoke sensors, as this confuses Eve (showing Smoke as Yes, when it's not being detected).
- Identify wouldn't blink a light or group.
- Don't expose Last Seen and Status Fault on groups (as these only apply to Zigbee devices).
Bump Dependencies
- NodeJS v18.12.1 LTS;
- homebridge-lib v6.0.1;
- ws v8.11.0.
v0.0.25
Enhancements
- Support double press on Trådfri shortcut button, see #1114;
- Another Tuya switch, see #1118;
- Color gamut for LEDVANCE and OSRAM lights, see Discord.
Bug Fixes
- Intermittent TypeError on startup when adaptive lighting is active on some lights. See #78.
- For IPv4 connection to deCONZ web socket. NodeJS v18 resolves
localhost
to::1
instead of to127.0.0.1
, causing anECONNREFUSED
, as the deCONZ websocket doesn't listen to IPv6.
Bump Dependencies
- deCONZ v2.19.1.
- NodeJS v18.12.0 LTS;
- homebridge v1.5.1;
- homebridge-lib v5.7.1;
- ws v8.10.0.
v0.0.24
Enhancements
- Support double press on Trådfri shortcut button, see #1114;
- Another Tuya switch, see #1118;
- Color gamut for LEDVANCE and OSRAM lights, see Discord.
Bug Fixes
- Intermittent TypeError on startup when adaptive lighting is active on some lights. See #78.
- For IPv4 connection to deCONZ web socket. NodeJS v18 resolves
localhost
to::1
instead of to127.0.0.1
, causing anECONNREFUSED
, as the deCONZ websocket doesn't listen to IPv6.
Bump Dependencies
- deCONZ v2.19.1.
- NodeJS v18.12.0 LTS;
- homebridge v1.5.1;
- homebridge-lib v5.7.0;
- ws v8.10.0.
v0.0.23
Enhancements
- Add LockPhysicalControls to smart plugs, so the Eve will treat it like a later-gen Eve Energy with Eve history for On, in addition to Total Consumption.
Bug Fixes
- Devices with multiple
lights
resources: primary service was set service corresponding to resource with highest Zigbee endpoint instead of lowest.
Bump Dependencies
- deCONZ v2.18.2;
- NodeJS v16.17.1 LTS;
- homebridge-lib v5.6.8;
- ws v8.9.0.
v0.0.22
v0.0.21
Enhancements
- Add
brightnessAdjustment
config.json parameter, see #67; - Include analysed state from gateway (
deviceById
) in dump file.
Bug Fixes
- SyntaxError: lastUpdated: duplicate key on certain smart plugs, see #66;
- Adaptive lighting improvements, see #68.
Bump Dependencies
- NodeJS v16.17.0 LTS;
- homebridge-lib v5.6.5.
v0.0.19
v0.0.18
Enhancements
- Add support for Hue tap dial switch (
RDM002
); - Add support for Sunricher four-button remote (
ZG2833K4_EU06
); - Add
deconz
Tutorial to Wiki.
Bug Fixes
- Change error message when deCONZ reports invalid
bidigeid
, see #51. - AirPurifier (IKEA Starkvind): Filter Change was not set.
Bump Depedencies
- deCONZ v2.17.1;
- homebridge v1.5.0;
- NodeJS v16.16.0;
- homebridge-lib v5.6.4;
- ws v8.8.1.
v0.0.17
Enhancements
- Support for IKEA Starkvind Air Purifier, based on PR dresden-elektronik/deconz-rest-plugin#6124, which is expected to be merged in deCONZ v2.17.1. Note there's no history for Air Quality as the Starkvind reports PM2.5 rather than TVOC.
- Support for history of Light Level, as introduced by Eve app v5.5. Hue motion sensors are now exposed with combined Motion, Light Level and Temperature history.
- The debug dump file now includes the dynamic settings. For now, only Expose from the Device Settings services is included.
Bug Fixes
- Motion history missing for combined Motion/Temperature sensors (like Hue motion sensor).
- Some sensor values weren't set when creating the accessory.
Bump Dependencies
- deCONZ v2.16.1;
- Homebridge v1.4.1;
- NodeJS v16.15.1 LTS;
- homebridge-lib v5.6.0;
- ws v8.8.0.