Adding an accessory to your smart home setup is fairly straightforward, though there are a few areas where it's not entirely intuitive. Before you get started, it's helpful to locate the HomeKit Setup Code for the accessory you're adding.

This is usually in 2 places: printed on an included user guide or the package, and on a sticker somewhere on the device itself. It will have a ‌HomeKit‌ icon next to a series of numbers framed in a box or a QR code. Also, you'll need to plug in the device and power it on. Then you can move on to adding it. Here are the steps on an iPhone:

  1. Open the Home app and tap on the '+' in the top right corner.1 add homekit device 1
  2. Choose "Add Accessory" in the resulting pop-up menu
  3. Scan the ‌HomeKit‌ Setup Code with the camera as prompted on the next screen.2 add homekit device 1
  4. Tap on the square with the accessory's name to confirm that you want to add it to ‌HomeKit‌.3 add homekit device

For accessories where the code won't scan with the camera due to poor lighting or another reason, the ‌HomeKit‌ code can also be entered manually. When using the ‌iPhone‌ 7 or later to add a device, some ‌HomeKit‌ accessories will allow you to add them without needing to scan the code using the camera. In this situation, you can just hold your ‌iPhone‌ near the accessory and then follow the steps Apple provides.

Once an accessory has been added to ‌HomeKit‌, you'll see the details about it in the Home app and will have the option to choose what room it's in. Assigning a ‌HomeKit‌ accessory a room allows you to more easily control it along with other devices in the same room.

4 add homekit device
The device we set up for this guide shown in the screenshots is in the Living Room and we changed it accordingly. This allows us to ask Siri to turn off all the lights in the living room, for example, and this device will be switched off along with all the other lights in the room.

5 add homekit device 2
Devices are set up with a default name determined by the manufacturer, and you'll probably want to change it to make it more memorable so it's easier for you to ask ‌Siri‌ to control it. In this example, we added a Sylvania light strip and its default name is Flex Color. Tapping on the name in this screen allows for the name to be changed, and we renamed it Mood Light.

Some devices may come with instructions prompting you to set them up in the manufacturer's own app. Though this isn't necessary to complete the above steps and control the device through the Home app and ‌Siri‌, the manufacturer's app may offer you other features and status details that aren't available through the Home app.

Popular Stories

iOS 26

When Will Apple Release iOS 26.2?

Monday December 1, 2025 4:37 pm PST by
We're getting closer to the launch of the final major iOS update of the year, with Apple set to release iOS 26.2 in December. We've had three betas so far and are expecting a fourth beta or a release candidate this week, so a launch could follow as soon as next week. Past Launch Dates Apple's past iOS x.2 updates from the last few years have all happened right around the middle of the...
ios 18 to ios 26 upgrade

Apple Pushes iPhone Users Still on iOS 18 to Upgrade to iOS 26

Tuesday December 2, 2025 11:09 am PST by
Apple is encouraging iPhone users who are still running iOS 18 to upgrade to iOS 26 by making the iOS 26 software upgrade option more prominent. Since iOS 26 launched in September, it has been displayed as an optional upgrade at the bottom of the Software Update interface in the Settings app. iOS 18 has been the default operating system option, and users running iOS 18 have seen iOS 18...
maxresdefault

iPhone Fold: Launch, Pricing, and What to Expect From Apple's Foldable

Monday December 1, 2025 3:00 am PST by
Apple is expected to launch a new foldable iPhone next year, based on multiple rumors and credible sources. The long-awaited device has been rumored for years now, but signs increasingly suggest that 2026 could indeed be the year that Apple releases its first foldable device. Subscribe to the MacRumors YouTube channel for more videos. Below, we've collated an updated set of key details that ...
iOS 26

Apple Seeds iOS 26.2 and iPadOS 26.2 Release Candidates to Developers and Public Beta Testers

Wednesday December 3, 2025 10:33 am PST by
Apple today seeded the release candidate versions of upcoming iOS 26.2 and iPadOS 26.2 updates to developers and public beta testers, with the software coming two weeks after Apple seeded the third betas. The release candidates represent the final versions of iOS 26.2 and iPadOS 26.2 that will be provided to the public if no further bugs are found during this final week of testing....
Photos App Icon Liquid Glass

John Gruber Shares Scathing Commentary About Apple's Departing Software Design Chief

Thursday December 4, 2025 9:30 am PST by
In a statement shared with Bloomberg on Wednesday, Apple confirmed that its software design chief Alan Dye will be leaving. Apple said Dye will be succeeded by Stephen Lemay, who has been a software designer at the company since 1999. Meta CEO Mark Zuckerberg announced that Dye will lead a new creative studio within the company's AR/VR division Reality Labs. On his blog Daring Fireball,...
iphone 17 cyber

iPhone 17 Demand Is Breaking Apple's Sales Records

Tuesday December 2, 2025 9:44 am PST by
Apple's iPhone 17 lineup is selling well enough that Apple is on track to ship more than 247.4 million total iPhones in 2025, according to a new report from IDC. Total 2025 shipments are forecast to grow 6.1 percent year over year due to iPhone 17 demand and increased sales in China, a major market for Apple. Overall worldwide smartphone shipments across Android and iOS are forecast to...
Touchscreen MacBook Feature

Here Are the Four MacBooks Apple Is Expected to Launch Next Year

Monday December 1, 2025 5:00 am PST by
2026 could be a bumper year for Apple's Mac lineup, with the company expected to announce as many as four separate MacBook launches. Rumors suggest Apple will court both ends of the consumer spectrum, with more affordable options for students and feature-rich premium lines for users that seek the highest specifications from a laptop. Below is a breakdown of what we're expecting over the next ...
iphone air camera

iPhone Air's Resale Value Has Dropped Dramatically, Data Shows

Thursday December 4, 2025 5:27 am PST by
The iPhone Air has recorded the steepest early resale value drop of any iPhone model in years, with new data showing that several configurations have lost almost 50% of their value within ten weeks of launch. According to a ten-week analysis published by SellCell, Apple's latest lineup is showing a pronounced split in resale performance between the iPhone 17 models and the iPhone Air....
iPhone 17 Pro Cosmic Orange

iPhone 17 Pro Lost a Camera Feature Pro Models Have Had Since 2020

Thursday December 4, 2025 5:18 am PST by
iPhone 17 Pro models, it turns out, can't take photos in Night mode when Portrait mode is selected in the Camera app – a capability that's been available on Apple's Pro devices since the iPhone 12 Pro in 2020. If you're an iPhone 17 Pro or iPhone 17 Pro Max owner, try it for yourself: Open the Camera app with Photo selected in the carousel, then cover the rear lenses with your hand to...
iPhone 17 Pro Cosmic Orange

10 Reasons to Wait for Next Year's iPhone 18 Pro

Monday December 1, 2025 2:40 am PST by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models at the same time, which is why we often get rumored features months ahead of launch. The iPhone 18 series is no different, and we already have a good idea of what to expect for the iPhone 18 Pro and iPhone 18 Pro Max. One thing worth...