Skip to content

Releases: ebaauw/homebridge-lib

v6.2.2

15 Jan 21:24
a306460
Compare
Choose a tag to compare

Bug Fixes

  • ServiceDelegate.History.Power: consumption not computed.

v6.2.1

15 Jan 19:23
469ff70
Compare
Choose a tag to compare

Bug Fix

  • History entries no longer added when history was rolled over before history re-initialisation.

v6.2.0

15 Jan 18:29
c43c45b
Compare
Choose a tag to compare

Enhancements

  • Combine History classes Contact, Motion, Room, and Weather into one class Sensor, allowing any combination of contact, motion, light level, temperature, humidity, air pressure, and voc density sensor history in one accessory. It would seem that Eve handles 7 characteristics at most, so On, Power, Consumption and Thermo remain separate for now.

Bug Fixes

  • Incomplete developer documentation.
  • Configured Name for restored accessories was re-initialised.

v6.1.0

15 Jan 09:47
c49b728
Compare
Choose a tag to compare

Enhancements

  • EveHomeKitTypes: new Consumption service after Eve Energy Strip.
  • ServiceDelegate: add Configured Name to all services (except Accessory Info) to handle iOS 16 logic of naming services.
  • ServiceDelegate.History:
    • New lastActivationValue() method to set value of Last Activiation for accessories with multiple services with Last Activation.
    • New LightLevel subclass (but Eve still requires a dummy Motion Sensor service to display the history for Light Level).
  • OptionParser: new numberKey() method to verify non-integer numeric values.
  • SystemInfo: new Raspberry Pi model CM45.

Under the Hood

  • Refactor ServiceDelegate.History and subclasses. Allow for more history configurations and reduce memory footprint in cachedAccessories. Cached history entries from a previous version will be lost, so make sure to load history into Eve (on each device) before updating your plugins, to prevent a gap in Eve history.
  • Refactor name prefix for logging.
  • Changes for HAP-NodeKS v0.11.0:
    • Change documentation to reflect new/changed services and characteristics;
    • Change deprecated permissions READ and WRITE to PAIRED_READ and PAIRED_WRITE.

Bug Fixes

  • CharacteristicDelegate: Make sure characteristic value is in range before setting properties (notably minValue).
  • ServiceDelegate.History.Power: Start collecting running consumption on Homebridge start.

Bump Dependencies

  • NodeJS v18.13.0 LTS.

v6.0.2

26 Nov 10:27
ff2d3db
Compare
Choose a tag to compare

Enhancements

  • ServiceDelegate.History: add boolean params.config to constructor, to expose optionally Config Data and Config Request on the History service.

Bump Dependencies

  • Homebridge v1.6.0.

v6.0.1

13 Nov 16:25
983182e
Compare
Choose a tag to compare

Breaking Changes

  • The History services now take the characteristic delegate parameters as part of param.

Enhancements

  • Add ServiceDelegate.History.Light for history after Eve Light Strip.
  • EveHomeKitTypes: add WeatherTrend characteristic.
  • AccessoryDelegate: add name property delegate so services names after the accessory can update their name when the accessory name has changed.
  • ServiceDelegate: optionally add configuredName characteristic delegate for Configured Name. Also update the accessory name if this is the primary service.

Bump Dependencies

  • NodeJS v18.12.1 LTS.

v5.7.2

31 Oct 18:16
d63b90b
Compare
Choose a tag to compare

Enhancements

  • MyHomeKitTypes: Add SubLevel for homebridge-zp.

Bug Fixes

  • EveHomeKitTypes: Eve shows TotalConsumption in 0.01 kWh resolution, see ebaauw/homebridge-ups#8.
  • ServiceDelegate.History.Power, see ebaauw/homebridge-ups#8:
    • Accumulate consumption in full precision, and only round when sending values to HomeKit;
    • Total Consumption with 0.01 kWh resolution;
    • Add history entries with 0.1 W * 10 min resolution.
  • ServiceDelegate.History.Consumption:
    • Add history entries with 0.1 W * 10 min resolution.

v5.7.0

28 Oct 09:51
f13d2d5
Compare
Choose a tag to compare

Enhancements

  • Systeminfo: Handle macOS 13 Ventura

Bug Fixes

Bump Depedencies

  • NodeJS v18.12.0 LTS;
  • homebridge v1.5.1;
  • semver v7.3.8.

v5.6.8

24 Sep 15:40
7220e2d
Compare
Choose a tag to compare

Enhancements

  • Expose semver through homebridge-lib, so plugins no longer have to list it as separate dependency. This reduces the memory footprint a bit.
  • MyHomeKitTypes.Characteristics.LowBatteryTheshold: set maxValue property to 100%, so Homebridge UPS can indicate Low Battery when battery needs to be replaced.
  • ServiceDelegate.History.Consumption, ServiceDelegate.History.Power: add optional support for history on On. Note that for Eve to show history for On, the Outlet service needs to expose LockPhysicalControls.

Bug Fixes

  • Minor code cleanup.

Bump Dependencies

  • NodeJS v16.17.1 LTS;
  • bonjour-hap v3.6.4.

v5.6.7

18 Sep 20:43
7ee7df4
Compare
Choose a tag to compare

Bug Fixes