Releases: ebaauw/homebridge-lib
Releases · ebaauw/homebridge-lib
v4.2.2
Breaking change: Eve history is now persisted in cachedAccessories
instead of in a separate history_
xxx.json
file per accessory.
Enhancements:
Platform
:- Emit
accessoryRestored
irrespective whether plugin was included in config.json, letting the plugin decide whether to remove the cached accessory. - Remove cached accessory when no delegate has been setup after handling
accessoryRestored
event.
- Emit
ServiceDelegate
:- Add
accessoryDelete
property toServiceDelegate
. - Add
context
property toServiceDelegate
. - Persist history in
cachedAccessories
instead of in separate history file.
- Add
CharacteristicDelegate
:- Add
params.silent
to the constructor ofCharacteristicDelegate
to suppress log messages when characteristic value is set.
- Add
v4.1.1
v4.1.0
Bug fixes:
Platform
:- Prevent
heartbeat
events from drifting; - Stop emitting
heartbeat
events after shutdown;
- Prevent
AccessoryDelegate
:- Keep
alive
status for when accessory is (re-) connected to device. This is set automatically when a new accessory is created (as this is done after a new device has been discovered. CallsetAlive()
to mark a restored accessories alive, when the device has been re-connected; - Potentially breaking change Only emit
heartbeat
event when the delegate isalive
- this fixes the timing of the first history entry after startup;
- Keep
ServiceDelegate
:- Base timing of first history entry on accessory delegate's first heartbeat instead of on platform's first heartbeat;
Delegate
and subclasses:- Expose
this.Characteristics.Formats
,this.Characteristics.Perms
, andthis.Characteristics.Units
;
- Expose
AccessoryDelegate.History.Thermo
:- Add history entry immediately when ValvePosition changes.
EveHomeKitTypes
: Bug fixes Thermostat service:- Make ProgramCommand and ProgramData optional. Eve uses these for the schedule on the Eve Thermo, but these haven't been reverse engineered;
- Use Eve variant of CurrentTemperature (supporting temperatures below zero).
v4.0.11
Changes:
- Add
AirParticulateDensity
characteristic toEveHomeKitTypes
, see #8; - Removed check for 99 bridged accessories (is actually 149 in recent HomeKit versions), as this is now handled by HAP-NodeJS, see https://github.com/KhaosT/HAP-NodeJS/pull/658;
- Removed cleanup of orphaned cached accessories when plugin wasn't specified in config.json, as this is now handled by homebridge, see homebridge/homebridge#2190;
- Removed handler for uncaught exceptions, as this is now handled by homebridge, see homebridge/homebridge#2190.
Bump dependencies:
- homebridge v0.4.48;
- semver v6.0.0.