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.