{"id":22820,"date":"2014-06-02T22:20:51","date_gmt":"2014-06-02T21:20:51","guid":{"rendered":"https:\/\/automatedhome.com\/?p=22820"},"modified":"2020-04-13T22:43:32","modified_gmt":"2020-04-13T21:43:32","slug":"the-home-kit-framework-details-on-apples-home-automation-protocol","status":"publish","type":"post","link":"https:\/\/automatedhome.com\/apple\/the-home-kit-framework-details-on-apples-home-automation-protocol.html","title":{"rendered":"The Home Kit Framework &#8211; Details on Apple&#8217;s Home Automation Protocol"},"content":{"rendered":"\n<p>When Automated Home launched in 1996 there were only a handful of smart home&nbsp;systems out there &#8211; and none of them worked together. But things have moved on. Now there are literally hundreds of home automation systems &#8211; which don&#8217;t work with each other.<\/p>\n\n\n\n<p>Each week seems to produce another Kickstarter smart home system. It seems everyone in the industry wants to invent their own wheel.<\/p>\n\n\n\n<p>We&#8217;ve often wondered over the years what might happen if Apple were to bring their famed user experience to the smart home world.<\/p>\n\n\n\n<p>Well wonder no more. &nbsp;At the WWDC Keynote earlier today apple announced &#8220;HomeKit&#8221; is coming in iOS 8 this Autumn and from their preliminary documentation we can&nbsp;determined the following.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>HomeKit is a new framework for communicating with and controlling connected devices in a user\u2019s home. Apps can enable users to discover devices in their home and configure them, or you can create actions to control those devices. Users can group actions together and trigger them using Siri.<\/p><\/blockquote>\n\n\n\n<p>So rather than merely providing the touchscreen interface to our smart homes, Apple will effectively make your iOS device the&nbsp;home automation hub in your setup.<\/p>\n\n\n\n<p>The i-word is important here. &nbsp;It&#8217;s not iOS or iPhone, it&#8217;s iNTEGRATION&#8230;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Home Kit provides seamless integration between accessories that support Apple&#8217;s Home Automation Protocol and iOS devices, allowing for new advances in home automation. By promoting a common protocol for home automation devices and making a public API available for configuring and communicating with those devices, Home Kit makes possible a marketplace where the app a user controls their home with doesn\u2019t have to be created by the vendor who made their home automation accessories, and where home automation accessories from multiple vendors can all be integrated into a single coherent whole without those vendors having to coordinate directly with each other.<\/p><\/blockquote>\n\n\n\n<p>The docs reveal that&nbsp;Home Kit includes&nbsp;major features&nbsp;like &#8216;Discovery&#8217; and that it will allow third-party apps to perform three major functions..<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>1. Discover accessories and add them to a persistent, cross-device home configuration database.<br>2. Display, edit, and act upon the data in the home configuration database.<br>3. Communicate with configured accessories and services to get them to perform actions, such as turning on the lights in the living room.<\/p><\/blockquote>\n\n\n\n<p>Control via Siri is another major feature here. &nbsp;In the past entire PCs along with mixers and networks of microphones around homes&nbsp;have been devoted&nbsp;to try and create&nbsp;what can be done so much better these days on a smartphone.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>For example, you can tell Siri you are \u201cgoing to bed\u201d and it could dim the lights, lock your doors, close the garage door and set the thermostat.<\/p><\/blockquote>\n\n\n\n<p><strong><a href=\"https:\/\/automatedhome.com\/apple\/5-homekit-compatible-devices-to-start-your-home-automation-system.html\" target=\"_blank\" rel=\"noopener noreferrer\">RELATED:&nbsp;5 HomeKit Compatible Devices to Start Your Home Automation System<\/a><\/strong><\/p>\n\n\n\n<p>According to the developer docs the HomeKit data hierarchy looks like this<\/p>\n\n\n\n<blockquote><p><strong>Homes<\/strong> (HMHome) are the top level container, and represent a structure that a user would generally consider to be a single home. Users might have multiple homes that are far apart, such as a primary home and a vacation home. Or they might have two homes that are close together, but that they consider different homes\u2014for example, a main home and a guest cottage on the same property.<\/p><figure><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-22838 size-full\" src=\"https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/homekit-hue.jpg?resize=250%2C206&#038;ssl=1\" alt=\"Apple Home Kit Philips Hue\" width=\"250\" height=\"206\"><\/figure><p><strong>Rooms<\/strong> (HMRoom) are optional parts of homes, and represent individual rooms in the home. Rooms don\u2019t have any physical characteristics\u2014size, location, etc. They\u2019re simply names that are meaningful to the user, such as \u201cliving room\u201d or \u201ckitchen\u201d. Meaningful room names enable commands like, \u201cSiri, turn on the kitchen lights.\u201d<\/p><p><strong>Accessories<\/strong> (HMAccessory) are installed into homes and assigned to rooms. These are the actual physical home automation devices, such as a garage door opener. If the user doesn\u2019t configure any rooms, Home Kit assigns accessories to a special default room for the home.<\/p><p><strong>Services<\/strong> (HMService) are the actual services provided by an accessory. Accessories have both user-controllable services, like a light, and services that are for their own use, like a firmware update service. Home Kit is most concerned with user-controllable services. A single accessory may have more than one user-controllable service. For example, most garage door openers have a service for opening and closing the door, and another service for the light on the garage door opener.<\/p><p><strong> Zones<\/strong> (HMZone) are optional groupings of rooms in a home. \u201cUpstairs\u201d and \u201cdownstairs\u201d would be represented by zones. Zones are completely optional\u2014rooms don\u2019t need to be in a zone. By adding rooms to a zone, the user is able to give commands to Siri such as, \u201cSiri, turn on all of the lights downstairs.\u201d<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"283\" src=\"https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=500%2C283&#038;ssl=1\" alt=\"Apple Home Automation Partners\" class=\"wp-image-22809\" srcset=\"https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=300%2C170&amp;ssl=1 300w, https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=180%2C101&amp;ssl=1 180w, https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=260%2C146&amp;ssl=1 260w, https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=373%2C210&amp;ssl=1 373w, https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/wwdc2014-ha.png?resize=120%2C67&amp;ssl=1 120w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure><\/div>\n\n\n\n<p>We look forward to learning&nbsp;more about HomeKit over the coming weeks and months as well as seeing what new hardware partnerships Apple comes up with. &nbsp;Is it possible that Apple&#8217;s clout could finally&nbsp;be enough to get an entire industry behind a common protocol?<\/p>\n\n\n\n<p>Or will the\u00a0walled garden and lack of support for other OS&#8217;s mean it will just be another standard to add the many that have gone before? \u00a0Let us know what you think in the comments below.<\/p>\n\n\n\n<p >No products found.<\/p>\n\n\n\n<p><a style=\"color: #52a79f;\" rel=\"noopener noreferrer\" href=\"http:\/\/www.apple.com\/\" target=\"_blank\">apple.com<\/a>\u00a0 : \u00a0<a rel=\"noopener noreferrer\" href=\"https:\/\/automatedhome.com\/apple\/5-homekit-compatible-devices-to-start-your-home-automation-system.html\" target=\"_blank\">5 HomeKit Compatible Devices<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When Automated Home launched in 1996 there were only a handful of smart home&nbsp;systems out there &#8211; and none of them worked together. But things&#8230;<\/p>\n","protected":false},"author":3,"featured_media":22827,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"apple_news_api_created_at":"2017-03-02T13:52:34Z","apple_news_api_id":"68a31596-e7b0-4839-a66d-9918ef755bdc","apple_news_api_modified_at":"2020-04-13T21:43:38Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AaKMVluewSDmmbZkY73Vb3A","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":"","apple_news_is_paid":"","apple_news_is_preview":"","apple_news_is_sponsored":"","apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":[],"apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","footnotes":""},"categories":[9],"tags":[3],"class_list":["post-22820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apple","tag-featured"],"apple_news_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/automatedhome.com\/wp-content\/uploads\/2014\/06\/homekit-logo1.png?fit=418%2C355&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/22820"}],"collection":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/comments?post=22820"}],"version-history":[{"count":41,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/22820\/revisions"}],"predecessor-version":[{"id":50126,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/posts\/22820\/revisions\/50126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/media\/22827"}],"wp:attachment":[{"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/media?parent=22820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/categories?post=22820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automatedhome.com\/wp-json\/wp\/v2\/tags?post=22820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}