Skip to content

2.0.0

Compare
Choose a tag to compare
@andylintner andylintner released this 08 May 14:07
· 75 commits to master since this release
  • major refactoring to support optional characteristics
  • structure and names adapted to HAP spec structure and naming.
  • structure is following
    • accessory package include basis accessory as the listed in HAP spec, plus interfaces for optional characteristics. clients should extend the accessory classes. e.g. WindowCoveringAccessory or AccessoryWithBrightness
    • characteristics package consists of all characteristics, optional and mandatory. e.g. TargetHorizontalTiltAngleCharacteristic. The naming is done in accordance to HAP spec.
    • services package consists of services, which grouping characteristics. e.g. WindowCoveringService defines mandatory and optional characteristics for a window covering service as it is defined in HAP spec.
    • server package consists classes to run HomeKit server and handle communication
  • the process is following: client, e.g. openHAB bindings, extends accessory classes, e.g. WindowCoveringAccessory and implements all required methods. WindowCoveringAccessory is linked already to WindowCoveringService, that in turn is link to single characteristics.
  • linked service support

New and improved

  • Valid values are supported for enum characteristics instead of min and max values
  • Supported valid states for Thermostat, SecuritySystem, HeaterCooler and HumidifierDehumidifier [#108] #120
  • Support for FilterMaintenance. Can be used as a linked service for an Air Purifier #124

Fixes

  • Fix for re-advertising service when using alternative jMDNS implementations.