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

maxresdefault

Where's the New Apple TV?

Monday December 22, 2025 11:30 am PST by
Apple hasn't updated the Apple TV 4K since 2022, and 2025 was supposed to be the year that we got a refresh. There were rumors suggesting Apple would release the new Apple TV before the end of 2025, but it looks like that's not going to happen now. Subscribe to the MacRumors YouTube channel for more videos. Bloomberg's Mark Gurman said several times across 2024 and 2025 that Apple would...
iPhone Top Left Hole Punch Face ID Feature Purple

iPhone 18 Pro Launching Next Year With These 12 New Features

Tuesday December 23, 2025 8:36 am PST by
While the iPhone 18 Pro and iPhone 18 Pro Max are not expected to launch for another nine months, there are already plenty of rumors about the devices. Below, we have recapped 12 features rumored for the iPhone 18 Pro models. The same overall design is expected, with 6.3-inch and 6.9-inch display sizes, and a "plateau" housing three rear cameras Under-screen Face ID Front camera in...
maxresdefault

Hands-On With a Rough iPhone Fold Mockup

Monday December 29, 2025 10:55 am PST by
Apple is rumored to be introducing a foldable iPhone in September 2026, and since it will bring the biggest form factor change since the iPhone was introduced in 2007, curiosity about the design is high. A 3D designer created an iPhone Fold design based on rumors, and we printed it out to see how it compares to Apple's current iPhones. Subscribe to the MacRumors YouTube channel for more ...
iOS 26

iOS 26.2 Adds These 8 New Features to Your iPhone

Monday December 22, 2025 8:47 am PST by
Earlier this month, Apple released iOS 26.2, following more than a month of beta testing. It is a big update, with many new features and changes for iPhones. iOS 26.2 adds a Liquid Glass slider for the Lock Screen's clock, offline lyrics in Apple Music, and more. Below, we have highlighted a total of eight new features. Liquid Glass Slider on Lock Screen A new slider in the Lock...
apple intelligence black

Report: Apple's AI Strategy Could Finally Pay Off in 2026

Tuesday December 30, 2025 9:01 am PST by
Apple's restrained artificial intelligence strategy may pay off in 2026 amid the arrival of a revamped Siri and concerns around the AI market "bubble" bursting, The Information argues. The speculative report notes that Apple has taken a restrained approach with AI innovations compared with peers such as OpenAI, Google, and Meta, which are investing hundreds of billions of dollars in data...
airpods color prototypes

Apple Tested AirPods in Bright Colors

Saturday December 27, 2025 6:06 am PST by
Apple reportedly tested a version of the first-generation AirPods with bright, iPhone 5c-like colored charging cases. The images, shared by the Apple leaker and prototype collector known as "Kosutami," claim to show first-generation AirPods prototypes with pink and yellow exterior casings. The interior of the charging case and the earbuds themselves remain white. They seem close to some...
tesla red orange bg feature

Tesla Could Be Planning to Support Apple Car Keys

Sunday December 28, 2025 4:24 am PST by
Support for Apple Car Keys may now be more likely to come to Tesla vehicles, amid new evidence that the automaker is embracing native, system-level digital car keys. According to Not a Tesla App, 4.52.0 of Tesla's mobile app contains multiple code references to Harmony Wallet Key Cards. The discovery is notable because it represents a shift in how Tesla appears to be approaching mobile...
samsung glitter blue

Samsung's Year End Sale Introduces Major Discounts on Popular Monitors and TVs

Monday December 29, 2025 6:29 am PST by
Samsung kicked off a new end-of-the-year sale this week, introducing great deals on monitors, TVs, Galaxy smartphones, and home appliances. Many of these deals are the exact same all-time low prices we tracked during Black Friday and Cyber Monday. Note: MacRumors is an affiliate partner with Samsung. When you click a link and make a purchase, we may receive a small payment, which helps us keep ...