Skip to content

Releases: ebaauw/homebridge-deconz

v0.1.0

22 Jan 16:29
3c7e14c
Compare
Choose a tag to compare

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 of config.duration, see #93.

Bump Dependencies

  • deCONZ v2.19.3;
  • NodeJS v18.13.0 LTS;
  • homebridge-lib v.6.3.4;

v0.0.27

13 Nov 17:15
ce0ee91
Compare
Choose a tag to compare

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 using deconz put (when not specifying -v):
    $ deconz put /lights/5/state '{"on": true}'
    {
      "lights": {
        "5": {
          "state": {
            "on": true
          }
        }
      }
    }
    
    This also allows for better handling of nested attributes, especially for the upcoming config on lights 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

28 Oct 15:48
3fe94db
Compare
Choose a tag to compare

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 to 127.0.0.1, causing an ECONNREFUSED, 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

28 Oct 13:00
8d0ee56
Compare
Choose a tag to compare

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 to 127.0.0.1, causing an ECONNREFUSED, 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

02 Oct 16:22
69fe925
Compare
Choose a tag to compare

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

23 Aug 14:57
808e044
Compare
Choose a tag to compare

Bug Fixes

  • Warning: assertion failed on lights that don't support adaptive lighting, see #67.
  • Brightness Adjustment missing from UI form. see #67.

v0.0.21

19 Aug 13:34
dafdc32
Compare
Choose a tag to compare

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

09 Aug 05:34
80a729b
Compare
Choose a tag to compare

Bug Fixes

  • AirPurifier (IKEA Starkvind): Filter Change was not set - take 2;
  • ZGPSwitch (most FoH switches), CLIPSwitch: TypeError on button event, see #62.

v0.0.18

07 Aug 09:08
a40bbcc
Compare
Choose a tag to compare

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

18 Jun 08:26
2e5664e
Compare
Choose a tag to compare

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.