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 on iPhone Feature

Here's When iOS 26 Rolls Out Today in Every Time Zone [Update: Out Now!]

Monday September 15, 2025 12:00 am PDT by
Update 10:06 a.m.: iOS 26 is rolling out now, though it may take a bit for all users to see it, so keep checking! Today's the day! Apple is about to release iOS 26, which will deliver the biggest redesign since iOS 7 and bring a range of new features and improvements to iPhones worldwide. It's Apple's biggest software update of the year, and Apple announced at last week's iPhone event that...
iOS 26 Battery Glass Feature

Apple Says Installing iOS 26 Might Impact Battery Life

Monday September 15, 2025 10:56 am PDT by
In the iOS 26 release notes, Apple is warning iPhone users that installing the new software might have a temporary impact on battery life, which is normal. A new support document explains that major iOS updates require background setup like indexing data and files for search, downloading new assets, and updating apps. Further, Apple says that new features could require more resources,...
Tim Cook Rainbow

Apple Reportedly Plans to Launch These 10 Products in 'Coming Months'

Sunday September 14, 2025 8:45 am PDT by
Apple's annual September event is now in the rearview mirror, with the iPhone 17, iPhone 17 Pro, iPhone 17 Pro Max, iPhone Air, Apple Watch Series 11, Apple Watch Ultra 3, Apple Watch SE 3, and AirPods Pro 3 set to launch this Friday, September 19. As always, there is more to come. In his Power On newsletter today, Bloomberg's Mark Gurman said Apple plans to release many products in the...
AirPods Pro Firmware Feature

AirPods Pro 2 and AirPods 4 Get iOS 26 Features With New Firmware Update

Monday September 15, 2025 10:50 am PDT by
Apple today released updated firmware for the AirPods Pro 2 and the AirPods 4, introducing support for the new AirPods features that are included in iOS 26, iPadOS 26, and macOS Tahoe. The firmware has a build number of 8A356, and it replaces the current 7E93 firmware. With Apple's new software updates, the AirPods Pro 2 and the AirPods 4 support better audio quality for phone calls and...
iOS 26 Feature

iOS 26 Available Now With These 8 New Features

Monday September 15, 2025 5:45 am PDT by
Following three months of beta testing, iOS 26 was released today, September 15. The update is compatible with the iPhone 11 series and newer, and it is available to install via the Settings app, under General → Software Update. Below, we have highlighted eight new features included in iOS 26. Even more new features and changes are outlined in Apple's release notes for the update. Some of ...
iphone 17 lineup

iPhone 17 Models Launch on September 19 With These New Features

Friday September 12, 2025 7:58 am PDT by
Apple will launch its new iPhone 17 lineup and ultra-thin iPhone Air in stores on Friday, September 19, and the company has already shown off the new devices at its fall event, which ran with the the tagline "Awe dropping." The iPhone 17 series brings a host of new features and enhancements. Here's a rundown of the biggest upgrades and changes: iPhone 17 Display Changes The iPhone...
iOS 26

iOS 26.1 to iOS 26.4: Here Are 5 New Features to Expect on Your iPhone

Tuesday September 16, 2025 11:17 am PDT by
iOS 26 was finally released on Monday, but the software train never stops, and the first developer beta of iOS 26.1 will likely be released soon. iOS 18.1 was an anomaly, as the first developer beta of that version was released in late July last year, to allow for early testing of Apple Intelligence features. The first betas of iOS 15.1, iOS 16.1, and iOS 17.1 were all released in the second ...