HomeKit Deep Divek

WWDC 2018

Posted by Den on July 26, 2018 · 8 mins read
HomeKit Deep Dive

HomeKit Deep Dive

WWDC 2018

HomeKit Deep Dive

WWDC 2018

Home App in macOS

Remote Access

Accessory Categories

HomeKit Accessory Protocol Specification

HomeKit Accessory Development Kit

  • Easier to get started
  • Faster to intergrate
  • Reliable and secure
  • Stay in sync With iOS

HomeKit Accessory Tester

  • Available for MFi licensees
  • Application interface
  • Great for testing your accessory

HomeKit Certification Assistant

  • Available for MFi licensees
  • Self-certification tool
  • Automated test execution

HomeKit Accessory Simulator

  • Simulate any HomeKit accessory
  • Great for testing your app
  • No physical accessories required
  • Available via Hardware IO Tools for Xcode

Home Object Hierarchy

HMHome

HMZone

HMRoom

Accessories, Services, and Characteristics

HMAccessory

HMService

  • Naming best practice
    - Used by Home app and Siri
    - Choose good default names
    - No special characters or numbers

HMHome integration

HMActionSet

Predefined Action set types

  • HMActionSetType.WakeUp
  • HMActionSetType.Sleep
  • HMActionSetType.HomeDeparture
  • HMActionSetType.Arrival
  • HMActionSetType.UserDefined

HMHome integration

Event Triggers

Significant Time Events

Event Trigger Conditions

  • Conditionalize automated controls

Camera Accessories

  • Show live streams
  • Display still images
  • Control the camera settings
  • Control the speaker and microphone