Releases: ebaauw/homebridge-lib
Releases · ebaauw/homebridge-lib
v6.2.2
v6.2.1
v6.2.0
Enhancements
- Combine
History
classesContact
,Motion
,Room
, andWeather
into one classSensor
, 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, soOn
,Power
,Consumption
andThermo
remain separate for now.
Bug Fixes
- Incomplete developer documentation.
- Configured Name for restored accessories was re-initialised.
v6.1.0
Enhancements
EveHomeKitTypes
: newConsumption
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).
- New
OptionParser
: newnumberKey()
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 incachedAccessories
. 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
andWRITE
toPAIRED_READ
andPAIRED_WRITE
.
Bug Fixes
CharacteristicDelegate
: Make sure characteristic value is in range before setting properties (notablyminValue
).ServiceDelegate.History.Power
: Start collecting running consumption on Homebridge start.
Bump Dependencies
- NodeJS v18.13.0 LTS.
v6.0.2
v6.0.1
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
: addWeatherTrend
characteristic.AccessoryDelegate
: addname
property delegate so services names after the accessory can update their name when the accessory name has changed.ServiceDelegate
: optionally addconfiguredName
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
Enhancements
MyHomeKitTypes
: AddSubLevel
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
Enhancements
Systeminfo
: Handle macOS 13 Ventura
Bug Fixes
AccessoryDelegate.History.Power()
: Total Consumption reported in Wh instead of kWh, see ebaauw/homebridge-ups#5.
Bump Depedencies
- NodeJS v18.12.0 LTS;
- homebridge v1.5.1;
- semver v7.3.8.
v5.6.8
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
: setmaxValue
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
Bug Fixes
MyHomeKitTypes
: setminValue
andmaxValue
properties forCpuLoad
(show as Load in HomeKit), see ebaauw/homebridge-rpi#143.