Title: HomeKit in iOS 8: Explained Post by: HCK on August 28, 2014, 09:00:27 pm HomeKit in iOS 8: Explained
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_icon.jpg?itok=arBH7i7S' />[/url]</p> <p>HomeKit (http://www.imore.com/homekit) is the name for Apple's home automation framework for developers. With HomeKit, our iPhones and iPads will have a rational way to configure, communicate with, and control "the internet of things" around us, including connected lights, speakers, security systems, appliances, and more. Both locally when you're home and remotely when you're away, through apps and through <a href="http://www.imore.com/siri" title="Siri commands, tricks, apps, help, and how-to">Siri[/url], Apple's virtual personal assistant. HomeKit is doing all this seamlessly, but also securely and privately. So, how does HomeKit work?<!--break--></p> <h2>Managing your HomeKit</h2> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_room.jpg?itok=Apy_OC2L' />[/url]</p> <p>HomeKit is based on a "Home Manager" and a common database, stored in iOS, that contains all the information about the home, its rooms, the accessories inside them, and the services and characteristics of those accessories. Having everything stored all in one place makes for a more consistent experience across apps. so, for example, whatever you have set up in your light control app, will be the same in your speaker control app. Same home name. Same room names. Same accessory names.</p> <h3>Homes and rooms</h3> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_room_on.jpg?itok=9Zoy_FOf' />[/url]</p> <p>Home Manager, as the name implies, lets you manage "Homes", including designating a primary home if you have more than one. Each home has to have a unique name so you can specify which one you're referring to, including via Siri. For example, you can have "Main" and "Vacation" as home names.</p> <p>Home are made up of "Rooms". Rooms also have to have unique names, but only within their Homes. So, for example, you can have "Main Bedroom" and "Vacation Bedroom". Again, that's so you can refer to them specifically, and so can Siri.</p> <p>Rooms can be grouped into "Zones". These could include, for example, "Upstairs" and "Downstairs". Any number of rooms can be grouped in a zone, and the same room can exist in multiple zones. However, zones also need unique names within the home, for you and for Siri.</p> <p>Rooms are what contain your "Accessories". Accessories are the specific physical devices connected to your iPhone or iPad — the scales, speakers, locks, etc. Accessories also need unique names within a home, so they can be specifically accessed by you or Siri. So, "Main Bedroom Lights" and "Main Bedroom Speakers" are fine. "Main Bedroom Lights" and "Main Kitchen Lights" are not. (If you have multiple similar accessories in different rooms, you'll have to get more specific or creative with their names.)</p> <h3>Services and characteristics</h3> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_lights.jpg?itok=jDY7IO2B' />[/url]</p> <p>Accessories have "Services". These represent what an accessory can do. Services may or may not have names. If they're meant to be commonly used or accessed via Siri, they'll need a unique name to the home, just like the accessory itself. For example, a light bulb that lights up is a service that needs a name. Other services include garage door openers, door locks, thermostats, IP cameras, switches, and custom services.</p> <p>If a service is not meant to be commonly used, and would be better accessed via an app interface, they shouldn't have a name. For example, a maintenance function that updates firmware shouldn't have a names. Apple also defines some default service types, which Siri recognizes through natural language as well.</p> <p>Services can be grouped into "Service Groups." These could include, for example, "Night lights" that includes room lights, garage door opener lights, outside lights, and appliance lights, or "Party speakers" that pipes audio around the house. Service groups can include any number of services from any number of different accessories, and are intended to make it easier to control specific services across a range of accessories. The same service can be included in any number of different groups, so the same light can be in "Night Lights" and "Game time", but each service group needs a unique name per home for you and Siri.</p> <p>Services have "Characteristics". Characteristics are the interactive part of services. For example, whether a light bulb is on or off (the power state) is a characteristic. They're not named but they're recognized by Siri because Apple has defined certain types, like power state, lock state, target state, brightness, model number, current temperature, and custom characteristics.</p> <p>Some characteristics are read-only, like current temperature. Some are read-write, like asking for and re-setting the temperature. Some are write-only, like commands. So, for example, you can command any accessory to "identify" and it'll flash, beep, or otherwise show or tell you what and where it is.</p> <p>To help developers and manufacturers think outside the presets, HomeKit allows for custom services and characteristics to be defined. They're not understood natively by Siri the way Apple-defined services and characteristics are, but they allow for potentially much greater and more diverse functionality.</p> <h3>Actions and triggers</h3> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_garage.jpg?itok=N2J2WnsC' />[/url]</p> <p>Actions write to characteristics. For example, close the garage, lock the doors, turn off the lights, turn down the temperature, etc.</p> <p>Actions Sets are collections of actions that are executed together. For example, "Good night" could make sure your garage door is closed, front door is locked, night lights are on, day lights are off, TV is off, and coffee maker is set to help wake you up in the morning. "Game time" could make sure the lights are set to red, the sound system is on max, and everything else in the house is off or muted. Action sets aren't executed in a specific order. They all just happen as soon as they can, all at once if possible. Again, an action set needs a unique name per home for you and Siri.</p> <p>Triggers execute action sets at predefined dates and times. They can be single use or can be set to repeat. They can have delays built-in. Triggers can't be used through Siri, but they can be run by iOS in the background, unlike the rest of HomeKit, and also require unique names per home.</p> <p>Taken together, action sets and triggers let you create "scripts" to automate the control of any and all of your HomeKit compatible accessories.</p> <h2>Adding accessories to Home Kit</h2> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_cameras.jpg?itok=2IKv9hma' />[/url]</p> <p>Because HomeKit is a framework for developers and not an app — there's no Home.app for HomeKit there way there's a Health.app for HealthKit, Photos.app for PhotoKit, Passbook.app for PassKit, etc. — any app that ties into HomeKit has to be ready and able to help the user manage their accessories.</p> <p>That means, if a HomeKit app is launched and no "Home" is detected, the app has to walk the user through creating and naming it, then creating and naming the rooms in it, then providing the accessory browser so the user can find and add accessories to the home, name them, and assign them to the proper room. HomeKit can also report back to any app whether or not an accessory is accessible or not accessible, for example out of range, offline, turned off, etc.</p> <p>There's a special kind of accessory called a bridge. It's used when an accessory has several parts but only the main part can connect to Home Kit. For example, if an amp can connect to HomeKit but the speakers use an incompatible format, the amp would serve as a bridge to the speakers. Once a bridge is added, you can add the satellite accessories as well, and the bridge will handle the heavy lifting of translating between HomeKit and whatever format they use. So, add the amp, control the speakers through the amp.</p> <h3>Accessibility</h3> <p>Thanks to the integration with Siri, HomeKit also looks like a huge win for accessibility (http://www.imore.com/accessibility-iphone-ipad). Voice control plus a consistent experience across apps will hopefully lead to more apps and accessories being more accessible to more people with visual impairments.</p> <h2>HomeKit for developers</h2> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_bullets.jpg?itok=OqQ4O6Tg' />[/url]</p> <p>Apple has made it easier for developers to work with HomeKit by building a Home Kit Accessory Simulator right into Xcode 6. It acts just like a real accessory and allows developers to test apps as though they were connected to a real accessory.</p> <p>Apple also cautions developers that there are a lot of delegates to be implemented for HomeKit. Because there's a shared database, and multiple apps can make changes, and accessories can be added and removed, and have their states changed, there's an equal and opposite price to be paid for the convenience and consistency. That price is paid through the delegate methods. It's how HomeKit tells an app what's going on beyond that app so it can always be up to date.</p> <h2>HomeKit partners</h2> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_homekit_partners.jpg?itok=0aUgnXd4' />[/url]</p> <p>HomeKit, like HealthKit, and like PassKit before them, will depend on the quantity and quality of manufacturers and developers that support it. If past history is any indication, that means we'll get some amazing apps and accessories, some okay apps and accessories, and some barely thrown together web views meant to control gizmos of dubious construction and utility. As much as we complain about the level of control Apple exerts, we often complain even harder about those things outside Apple's control.</p> <p>Traditionally, though, Apple has paid even closer attention to the quality of hardware partners than to the App Store. How long it will take for our favorite lights, speakers, security systems, etc. to update for HomeKit remains to be seen. However, iDevices, iHome, Sylvania, Texas Instruments, Cree, Chamberlain, Marvell, Skybell, August, Honeywell, Haier, Schlage, Philips, Kwikset, Broadcom, netamo, and Withings have all already been announced. More, no doubt, are to come.</p> <h2>Security and privacy</h2> <p><a href='http://www.imore.com/homekit-ios-8-explained' title="HomeKit in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/06/wwdc_2014_privacy.jpg?itok=ozXpGlSg' />[/url]</p> <p>Not surprisingly, Apple takes HomeKit security and privacy very seriously. They've built it, reviewed it, and then reviewed it again. There's end-to-end encryption between connected devices and accessories, and adding a new accessory requires a setup code that comes from the accessory, typically on the packaging or a label. Likewise, Apple stresses that they don't believe privacy includes storing information about your home and your accessories on their servers.</p> <p>Locally, HomeKit apps can only be used while in the foreground. That makes sure people can see just exactly what's going on and when, and never have to worry about something happening secretly in the background. The only exception to this is triggers, which give iOS the ability to set off an action set. However, they need to be expressly set up by the user to do so.</p> <h2>Bottom line</h2> <p>HomeKit tackles a big, complex problem and tries to make it small and simple enough to fit onto your iOS devices and into your daily life. It's important to remember this is HomeKit 1.0, and there will almost certainly be kinks to work out and updates to come. However, if HomeKit comes even close to fulfilling its potential, we're going to find ourselves at the beginning of something truly remarkable, for our iPhones, our iPads, and for whatever comes next (http://www.imore.com/iwatch).</p> <h2>More of iOS 8: Explained</h2> <div id="block-block-69" class="block block-block"> <div class="content"> <ul><li>Handoff in iOS 8 and OS X Yosemite: Explained (http://www.imore.com/handoff-ios-8-os-x-yosemite-explained)</li> <li>Making and receiving phone calls on iOS 8 for iPad and OS X Yosemite: Explained (http://www.imore.com/call-answer-ios-8-and-os-x-yosemite-explained)</li> <li>Sending and receiving SMS/MMS on iOS 8 for iPad and OS X Yosemite: Explained (http://www.imore.com/sending-and-receiving-sms-mms-ios-8-ipad-and-os-x-yosemite-explained)</li> <li>AirDrop and Instant Hotspot in iOS 8 and OS X Yosemite: Explained (http://www.imore.com/airdrop-and-tethering-ios-8-and-os-x-yosemite-explained)</li> <li>QuickType keyboard in iOS 8: Explained (http://www.imore.com/quicktype-keyboards-ios-8-explained)</li> <li>Interactive notifications in iOS 8: Explained (http://www.imore.com/interactive-notifications-ios-8-explained)</li> <li>SceneKit in iOS 8: Explained (http://www.imore.com/ios-8-scenekit-explained)</li> <li>Metal in iOS 8: Explained (http://www.imore.com/metal-ios-8-explained)</li> <li>Widgets in iOS 8: Explained (http://www.imore.com/widgets-ios-8-explained)</li> <li>Share extensions in iOS 8: Explained (http://www.imore.com/sharing-ios-8-explained)</li> <li>Action extensions in iOS 8: Explained (http://www.imore.com/action-extensions-ios-8-explained)</li> <li>Inter-app photo and video editing in iOS 8: Explained (http://www.imore.com/inter-app-photo-and-video-editing-ios-8-explained)</li> <li>Custom keyboards in iOS 8: Explained (http://www.imore.com/custom-keyboards-ios-8-explained)</li> <li>Family Sharing on iOS 8: Explained (http://www.imore.com/family-sharing-ios-8-explained)</li> <li>iCloud Drive and Document Picker for iOS 8: Explained (http://www.imore.com/icloud-drive-documentpicker-ios-8-explained)</li> <li>Document provider extensions in iOS 8: Explained (http://www.imore.com/ios-8-document-provider-extensions-explained)</li> <li>TestFlight in iOS 8: Explained (http://www.imore.com/testflight-ios-8-explained)</li> <li>Apple Maps in iOS 8: Explained (http://www.imore.com/maps-ios-8-explained)</li> <li>iMessage in iOS 8: Explained (http://www.imore.com/imessage-ios-8-explained)</li> <li>Photos in iOS 8: Explained (http://www.imore.com/photos-ios-8-explained)</li> <li>Spotlight in iOS 8: Explained (http://www.imore.com/spotlight-ios-8-explained)</li> <li>Health in iOS 8: Explained (http://www.imore.com/health-ios-8-explained)</li> <li>Touch ID in iOS 8: Explained (http://www.imore.com/touch-id-ios-8-explained)</li> <li>HomeKit in iOS 8: Explained (http://www.imore.com/homekit-ios-8-explained)</li> </ul></div> </div> </div></div></div><div id="comment-wrapper-nid-26595"></div><img width='1' height='1' src='http://tipb.com.feedsportal.com/c/33998/f/616881/s/3deafd01/sc/4/mf.gif' border='0'/><br clear='all'/> <a href="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/1/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/1/rc.img" border="0"/>[/url] <a href="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/2/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/2/rc.img" border="0"/>[/url] <a href="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/3/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/rc/3/rc.img" border="0"/>[/url] <img src="http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/a2.img" border="0"/> (http://da.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/a2.htm)<img width="1" height="1" src="http://pi.feedsportal.com/r/204367033213/u/49/f/616881/c/33998/s/3deafd01/sc/4/a2t.img" border="0"/><img src="http://feeds.feedburner.com/~r/TheIphoneBlog/~4/qjjhgTxdSs8" height="1" width="1"/> Source: HomeKit in iOS 8: Explained (http://feedproxy.google.com/~r/TheIphoneBlog/~3/qjjhgTxdSs8/story01.htm) |