Skip to content

Releases: hap-java/HAP-Java

2.0.4

23 Nov 21:24
Compare
Choose a tag to compare
  • Keep event subscriptions up to date when accessories are replaced, but not modified.

2.0.2

12 Oct 15:00
Compare
Choose a tag to compare
  • Various minor stability issues for after an accessory has been removed.

2.0.1

11 Feb 22:13
Compare
Choose a tag to compare

Fixes

  • Log accessory names instead of futures. #150
  • Fix rotation speed data type (BREAKING API CHANGE). According to HAP specification it must be float
  • Close JsonWriters #149
  • Fix UUID of HAP Version characteristic
  • Add Mute characteristic to Doorbell service
  • add support for Homekit Accessory Category as parameter for homekit bridge

New

New characteristics:

  • Identifier
  • Input Device Type
  • Input Source Type
  • Configured Name
  • Current Visibility State
  • Target Visibility State
  • Sleep Discovery Mode
  • Active Identifier
  • Closed Captions
  • Current Media State
  • Target Media State
  • Picture Mode
  • Power Mode
  • Remote Key
  • Volume Control Type
  • Volume Selector
  • AirPlay Enable
  • New services

Input Source

  • Television
  • Television Speaker
  • Smart Speaker

2.0.0

08 May 14:07
Compare
Choose a tag to compare
  • 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.

hap-1.1.5 (Final 1.1.x release)

10 Mar 20:49
97e7f1f
Compare
Choose a tag to compare

HAP-Java 1.1.5

Fixes

  • null values are now allowed, since Homekit allows them.
  • SecuritySystemAlarmType and TargetSecuritySystemState now match the Homekit documentation #44 #45
  • Null pointer exception no longer thrown if a characteristic is not implemented #32
  • Fixed incorrect support for BatteryLevel in battery-powered accessories. Appropriate characteristic is battery status. #50
  • Clear all connections in SessionManager during HomekitRoot.stop() #54
  • Fix issue in which communications would drop when encrypted frames didn't line up with network frames #64
  • Fix various spec violations and optimize communications to improve performance #65
  • Fix a pairing issue in which HAP-Java could listen on a different interface than that which it advertises #67
  • Allow window covering to be used without optional characteristics. The inclusion of HoldPositionCharacteristic did terrible things, and we're still not sure why. Addressed #56

New and improved

  • Occupancy sensor support #59
  • Leak sensors and valve support added #52
  • Notifications are batched now, when possible #66