Tuesday, June 17, 2014

iOS 8.0 HomeKit - In Detail

HomeKit 

Home Kit provides seamless integration between accessories that support Apple's home automation protocol and iOS devices, allowing for new advances in home automation.  By promoting a common home automation protocol and providing an API for configuring and communicating with those devices, Home Kit makes a possible market place where the app a user controls their home doesn't have to be created by the vendor who made the home automation accessories. The home automation accessories from multiple vendors can all be integrated into a single coherent whole without those vendors having to coordinate each other

Home Kit provides below capabilities to 3rd party applications 

- Discover accessories and add them to a persistent, cross device home configuration database
- Display, Edit, and act upon the data in the home configuration database 
- Communicate with configured accessories and services to get them perform actions such as turning on lights 

the Home configuration data base is not only available for 3rd party apps, but also for Siri. This allows users to give commands like "Siri, turn on the lights in the living room."

Home Kit views a Home as a collection of home automation accessories. The basic classes and hierarchies look like this. 

Home (HMHome).- Users can have multiple homes, a HMHome instance tells a single home entity 

Rooms (HMRoom) - are optional part of homes and represents individual rooms in the home. HMHome doesn't have any physical characterising, instead they are just names. For e.g. "Living room"

No comments:

Post a Comment