The HomeKit namespace, introduced in iOS 8, provides control and access of home automation devices.
Home automation with Home Kit relies on Apple's Home Automation Protocol. Home Kit allows applications to:
- Discover accessories and services and add them to a persistent configuration store.
- Read and write the persistent configuration store.
- Communicate with accessories and services.
Many HomeKit objects have a UniqueIdentifier property. This property may be thought of as a key in an internal database. It is persistent as long as the object in question is not removed from the HMHome. If the object is re-added, it will have a different identifier, even if it's values are identical.