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

CarPlay Hero

Apple Releases Wireless CarPlay Fix

Wednesday April 16, 2025 11:28 am PDT by
If you have been experiencing issues with wireless CarPlay in your vehicle lately, it was likely due to a software bug that has now been fixed. Apple released iOS 18.4.1 today, and the update's release notes say it "addresses a rare issue that prevents wireless CarPlay connection in certain vehicles." If wireless CarPlay was acting up for you, updating your iPhone to iOS 18.4.1 should...
Beyond iPhone 13 Better Triad

Apple's 20th Anniversary iPhone May Finally Go All Screen

Tuesday April 15, 2025 6:31 am PDT by
Apple is preparing a "bold" new iPhone Pro model for the iPhone's 20th anniversary in 2027, according to Bloomberg's Mark Gurman. As part of what's being described as a "major shake-up," Apple is said to be developing a design that makes more extensive use of glass – and this could point directly to the display itself. Here's the case for Apple releasing a truly all-screen iPhone with no...
iOS 19 Roundup Feature

iOS 19 Will Add These New Features to Your iPhone

Tuesday April 15, 2025 7:37 am PDT by
The first iOS 19 beta is less than two months away, and there are already a handful of new features that are expected with the update. Apple should release the first iOS 19 beta to developers immediately following the WWDC 2025 keynote, which is scheduled for Monday, June 9. Following beta testing, the update should be released to the general public in September. Below, we recap the key...
maxresdefault

iPhone 17 Pro Launching Later This Year With These 12 New Features

Sunday April 13, 2025 7:52 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Subscribe to the MacRumors YouTube channel for more videos. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday April 17, 2025 4:12 am PDT 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 simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Friday April 18, 2025 5:16 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iOS 18

Apple Releases iOS 18.4.1 With Bug Fixes

Wednesday April 16, 2025 10:11 am PDT by
Apple today released iOS 18.4.1 and iPadOS 18.4.1, minor updates to the iOS 18 and iPadOS 18 operating systems that came out last September. iOS 18.4.1 and iPadOS 18.4.1 come two weeks after the launch of iOS 18.4 and iPadOS 18.4. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to Settings > General > Software Update. There have been complaints about ...
tvOS 18 Thumb 1

Apple Releases tvOS 18.4.1

Wednesday April 16, 2025 10:04 am PDT by
Apple today released tvOS 18.4.1, a minor update to the tvOS 18 operating system that came out last September. tvOS 18.4.1 comes two weeks after Apple released tvOS 18.4, and it is available for the Apple TV 4K and Apple TV HD models. tvOS 18.4.1 can be downloaded using the Settings app on the ‌Apple TV‌. Open up Settings and go to System > Software Update to get the new software....
iPhone Security Feature 25

Five iPhone Security Features You Should Be Using

Wednesday April 16, 2025 4:15 pm PDT by
Apple has quite a few security features that it's added to iPhones, iPads, and Macs over the years. Now more than ever, it's important to make sure you're taking advantage of the built-in security tools that are available to keep yourself and your data safe, so we've rounded up a list of the most important options. If you don't already have these enabled, you might want to consider turning...