HomeKit Smart Home Platform
The smart home platform makes it easy for people to use home automation apps on their iOS devices to control or set up their home-connected homes, regardless of the manufacturer of the accessory. The best home Automation app integrates HomeKit and iOS to help users:
- Building houses, rooms and spaces
- Add, find, and remove homes, such as bulbs or thermostat controllers
- Define behaviors that apply to multiple homes
- Use Siri to control their homes
Read HomeKit Developer Guide to learn how to use HomeKit in your app. The following guide will help you create a simple and ready-to-use home automation app.
do not assume that your furniture is the first home for the user to install. Your app should make it easy for users to create homes, rooms, and spaces, but it also makes it easy for users to place your home in a set space.
make it easy to add a new home. Do not force users to create an account before they can add a home. Your app is better able to automatically search for new homes and push them into the UI significantly. Be sure to display enough information about each home so that users can easily identify them.
help users identify the furniture they are adjusting. Provide a control to help the user physically identify the home; For example, you might let the user flash a light bulb to see if they are adjusting the bulb they want to adjust.
give users a different way to find home. The date, season, and current location of the user will affect which home is important in a given situation, so your app should provide a way to find a home based on the category, name or location in the house.
based on the recommended set of operations for home installation. Action sets allow users to define unique behaviors for multiple homes. For example, a "leave" operation set may reduce the temperature of the house, turn off the lights and lock all the doors. Your app can suggest predefined sets of actions or let users create their own set of actions. If users are able to create their own set of actions, it is a good idea to have the user choose from the furniture you suggest, based on the room or space you choose.
Use a friendly, conversational language to make your app friendly and easy to use. Building automation can make users feel intimidated. Do not use acronyms or technical terms that they may not understand. In particular, HomeKit is a technical term for the API, so it should not be used in your app.
NOTEIf you are a solution provider, browse the scenario portal for guidance on naming and sending messages for home packaging.
integrate Siri. Siri makes it easy to do complex things in a simple language. Siri recognizes the names of operation sets, houses, rooms, and spaces and understands phrases like "Siri, lock the front door", "Siri, turn off the upstairs lights" and "Siri, keep the media room warm". The following guide can help you give users a great user Siri control over their home experience.
- Use the service name--not the home name--so Siri can identify it. a home can have a variety of services, such as a ceiling fan with light service and fan service, so it is important to help users distinguish them. The best result is to have the user choose from a limited list of names that does not include the company name, the pattern number, and make sure that the user edits the name later. The name you suggest should be a standard, easy-to-understand word or phrase that describes the service, and can be included in the location of the house, such as "living room Lights" or "garage doors." You can also let the user specify the type of service for the output and switch, so that common commands like "Siri, turn off the lights" can control all lights, lighting fixtures and other light homes.
- let users know how to use Siri to control an action set when they set it up. For example, when you confirm that the movie action set is set, a statement that the user can say to Siri is displayed, such as "You can use Siri to perform this set of actions by saying ' Siri, ' turn the house into movie mode '." Note the user can also simply say the name of the action set to tell Siri to execute an action set. Siri recognizes a set of predefined and user-defined actions that have at least one action.
help users set up triggers. In iOS 9, HomeKit supports triggers, which are a way to perform actions based on relationship conditions such as time, location, and the behavior of other homes. For example, a user might set a trigger to turn on the kitchen lights when the garage door opens and the sun goes down. Setting a relationship condition that contains multiple entries can become confusing, so it is important to make it as simple as possible to set up the UI. For example, displaying entries, attributes, and logical actions in a command that responds to what people say will help the user understand the situation.
This article is translated from the official Apple Development Document view full set: Https://github.com/Cloudox/iOS-Human-Interface-Guidelines
"IOS Human Interface Guidelines"--homekit