Apple has debuted HomeKit, a common network protocol with secure pairing that will let an iPhone control locks, lights, cameras, doors, thermostats, plugs, and switches. A recent report noted Apple would be debuting a home automation platform at WWDC, and this system ties together offerings across a number of different third-party companies.