How to Add Smart Home Accessory to HomeKit
In this article
Adding a smart home accessory to Apple HomeKit lets you control lights, thermostats, locks, and more from the Home app, Siri, or automations. This guide walks you through the entire process, from checking compatibility to troubleshooting connection issues. You'll need your iPhone or iPad, the accessory, and its power source or batteries ready.
What You'll Need
- An iPhone, iPad, or Mac with the Home app (iOS/iPadOS 13 or later, or macOS 10.15 or later).
- A HomeKit-compatible accessory (look for the “Works with Apple Home” badge or a HomeKit code on the box).
- The accessory’s power supply or fresh batteries.
- Your Wi-Fi network name and password (for most accessories).
- An Apple ID signed in to iCloud with two-factor authentication enabled.
- Optional: A HomePod, Apple TV, or iPad set up as a home hub for remote access and automations.
Step-by-Step
- Prepare the accessory. Plug it in or insert batteries, and turn it on. Make sure it’s within a few feet of your iPhone during setup.
- Unlock your iPhone and enable Bluetooth and Wi-Fi. Go to Control Center and turn on both. Keep your iPhone close to the accessory.
- Open the Home app. Tap the + icon in the top-right corner, then choose Add Accessory.
- Scan the HomeKit code. Use the camera to scan the 8-digit code printed on the accessory or its manual. If the code is on a sticker that’s hard to scan, tap Don't Have a Code or Can't Scan? and enter the code manually.
- Wait for the accessory to appear. The app will search for the device. If it doesn’t find it, make sure the accessory is in pairing mode (often indicated by a blinking light). Check the accessory’s manual for how to reset it to pairing mode.
- Choose a room and name. After the accessory is detected, assign it to a room (e.g., “Living Room”) and give it a name you’ll recognize (e.g., “Lamp”).
- Complete the setup. Tap Done. The accessory will appear in the Home app. You can now control it from your iPhone, iPad, Mac, or Apple Watch.
- Set up a home hub (optional). If you have a HomePod, Apple TV, or iPad, enable it as a hub to control accessories remotely and run automations. Go to Home Settings > Hubs & Bridges and follow the on-screen instructions.
Common Mistakes
- Skipping the code scan. Manually entering the HomeKit code is error-prone; scanning is faster and more accurate.
- Not putting the accessory in pairing mode. Many devices require a specific button press or reset to start pairing. If you don’t do this, the Home app won’t find it.
- Forgetting to update your iOS. Older iOS versions may not support newer accessories. Update your device before attempting setup.
- Using a 2.4 GHz Wi-Fi network. Most HomeKit accessories only work on 2.4 GHz. If your iPhone is on a 5 GHz network, the accessory may not connect. Temporarily switch your iPhone to the 2.4 GHz band during setup.
- Ignoring the hub requirement. Without a home hub, you can only control accessories while at home, and automations won’t work.
Tips
- Place the accessory near your router initially. Weak Wi-Fi can cause setup failures. Move it closer, then relocate after it’s connected.
- Use the manufacturer’s app first. Some accessories require a firmware update before HomeKit pairing. Check the manufacturer’s app for updates.
- Name accessories clearly. Use simple, unique names like “Bedroom Lamp” instead of “Lamp 2” to make Siri commands easier.
- Create a backup home. If you have multiple accessories, consider setting up a separate home for testing new devices to avoid cluttering your main home.
- Keep the HomeKit code safe. Take a photo of the code or store it in a password manager—you’ll need it if you ever remove and re-add the accessory.
Troubleshooting
Accessory not found: Make sure it’s powered on and in pairing mode. Restart your iPhone and try again. If that fails, reset the accessory (check manual) and repeat the steps.
“Accessory Not Supported” error: This usually means the accessory isn’t HomeKit-compatible or needs a firmware update. Check the manufacturer’s website for updates.
Can’t scan the code: Clean the code with a dry cloth, ensure good lighting, and hold the camera steady. If it still fails, enter the code manually.
Wi-Fi connection drops: Move the accessory closer to your router, or use a Wi-Fi extender. Also, check that your router’s firewall isn’t blocking the accessory.
Accessory appears as “Not Responding”: This often happens after a power outage or router change. Power-cycle the accessory and restart your home hub. If the issue persists, remove the accessory from the Home app and re-add it.
Home hub not working: Ensure your hub device is updated, signed into iCloud, and connected to the same network as your accessories. Restart it.
Frequently Asked Questions
Q: Do all smart home accessories work with HomeKit?
A: No. Only accessories with the “Works with Apple Home” badge or a HomeKit code are compatible. Some use Matter, which also works with HomeKit, but always check the packaging.
Q: Can I add a non-HomeKit accessory to HomeKit?
A: Not directly. However, some third-party bridges (like Hubitat or Home Assistant) can expose non-HomeKit devices to HomeKit, but this requires technical setup and isn’t officially supported by Apple.
Q: What is a HomeKit code and where do I find it?
A: It’s an 8-digit code printed on the accessory, its box, or in the manual. It’s used to securely pair the device with your Home.
Q: Do I need a home hub to use HomeKit?
A: No, but without a hub you can only control accessories when you’re at home, and automations won’t run. A hub (HomePod, Apple TV, or iPad) enables remote access and automations.
Q: Why does my accessory keep disconnecting?
A: This is often due to weak Wi-Fi or interference. Move the accessory closer to your router, reduce the number of connected devices, or use a Wi-Fi extender. Also, check for firmware updates.
Q: Can I share control of my HomeKit accessories with family?
A: Yes. In the Home app, go to Home Settings > People, then tap “Invite” to add someone. They’ll need an Apple ID and iCloud account.