• 9 min read

How to Add ESPHome Devices to Apple HomeKit

How to Add ESPHome Devices to Apple HomeKit

Does ESPHome work with Apple HomeKit? Not on its own. ESPHome has no official, built-in HomeKit support, so an ESP32 or ESP8266 running ESPHome won't show up in the Apple Home app by itself. You need a bridge in between.

The three working options are a Homebridge server such as ATH Bridge, Home Assistant's free HomeKit Bridge integration, or the experimental HAP-ESPHome firmware for ESP32 boards.

Key takeaways

  • There is no native ESPHome HomeKit support. The homekit: setting in some guides comes from a community alpha project, not from ESPHome itself.
  • Easiest without Home Assistant: ATH Bridge with the homebridge-esphome-hv2 plugin.
  • Easiest with Home Assistant: the built-in HomeKit Bridge integration.
  • Lights, switches, binary sensors and temperature and humidity sensors work best. Covers, fans, climate and locks have limited or no support through Homebridge.
  • ESPHome 2026.1 and later removed API passwords. Use a plugin that supports encryption keys.
  • ESP8266 boards work through a bridge. The direct HAP-ESPHome firmware needs an ESP32.

ATH Bridge is a pre-configured Homebridge server. Install an ESPHome plugin from its dashboard, add your device's IP address and encryption key, and scan one HomeKit code. Your ESPHome lights, switches and sensors then appear in Apple Home with Siri, scenes and automations. It's the simplest ESPHome HomeKit setup without Home Assistant.


You don't need to install Linux, keep a computer running, or set up Home Assistant.

Pros

  • Homebridge software comes pre-installed
  • No need to build a server from the beginning
  • No Home Assistant required
  • Simple web-based dashboard
  • Supports more than 2,000 Homebridge plugins
  • Works locally on your home network
  • Can connect many non-HomeKit brands alongside ESPHome
  • Allows control through Apple Home and Siri

Cons

  • It is a paid hardware solution
  • ESPHome plugins support fewer entity types than Home Assistant
  • You still need ESPHome to flash and update your boards

What are the ways to add ESPHome to HomeKit?

There are four ways to add ESPHome devices to Apple HomeKit: a Homebridge server, Home Assistant's HomeKit Bridge, HAP-ESPHome firmware, and the older ESPHomeKit bridge. The first two are the most reliable. HAP-ESPHome skips the bridge but is still an alpha project for ESP32 only. ESPHomeKit hasn't been updated since 2024.

Method Best for Cost Setup difficulty Main requirement
ATH Bridge Beginners without Home Assistant One-time hardware cost Easy Router with a spare Ethernet port
Home Assistant HomeKit Bridge People already running Home Assistant Software is free Moderate Home Assistant running on dedicated hardware
Homebridge (DIY) Technical users who want full control Software is free Moderate Always-on computer or Raspberry Pi
HAP-ESPHome Tinkerers who want no bridge at all Free Hard ESP32 board (no ESP8266), YAML editing

How to choose:

  • No Home Assistant, want it working today? Use ATH Bridge.
  • Already run Home Assistant? Use its HomeKit Bridge. It supports the most ESPHome entity types.
  • ESP32 only, enjoy experimenting? Try HAP-ESPHome on a spare board first.
  • Also own Ring, Nest, Tuya or other non-HomeKit brands? One Homebridge server covers ESPHome and those brands too.

How to add ESPHome devices to HomeKit with ATH Bridge

ATH Bridge adds ESPHome devices to Apple HomeKit in eight steps. Connect it to your router, open the dashboard, install an ESPHome plugin, enter each device's IP address and encryption key, and scan the HomeKit code. The plugin talks to your devices through ESPHome's native API on port 6053.

Before you start:

  • Your ESPHome device is flashed, online and has the api: component in its YAML. The plugin needs it.
  • Copy the encryption key from the api: encryption: key: line in the device's YAML, or from the ESPHome dashboard.
  • Reserve a fixed IP address for each ESPHome device in your router, so the bridge can always find it.
  • ATH Bridge and your ESPHome devices are on the same network.
Why an encryption key and not a password? ESPHome 2026.1.0 removed API password logins and made encryption the standard way to secure the API (ESPHome). Older Homebridge ESPHome plugins only support passwords, so they may not connect to devices running current firmware.
1
Insert the Pre-Flashed SD Card:
  • Insert the pre-flashed SD card into the ATH Bridge.
2
Connect ATH Bridge to Your Router:
  • Connect the ATH Bridge to your router with the Ethernet cable and turn it on.
3
Find the IP Address:
  • Find the ATH Bridge IP address in your router settings.
4
Open the ATH Bridge Dashboard:
  • Enter the IP address in your web browser to open the ATH Bridge dashboard.
5
Log In:
  • Log in using admin as the username and password.
6
Install and Configure the ESPHome Plugin:
  • Go to Plugins, search for ESPHome, and install homebridge-esphome-hv2.
  • In the plugin settings, add a device with its IP address and encryption key. Leave the port at 6053.
  • Repeat for each ESPHome device, then restart the bridge.
7
Add ATH Bridge to Apple Home:
  • Open the Apple Home app.
  • Tap + > Add Accessory.
8
Scan the HomeKit QR Code:
  • Scan the HomeKit QR code shown on the ATH Bridge dashboard.
  • Your ESPHome lights, switches and sensors should then appear in Apple Home.

Plugin configuration example

If you prefer to edit the config directly, the plugin entry looks like this:

{
  "platform": "esphome-hv2",
  "devices": [
    {
      "name": "Living Room Sensor",
      "host": "192.168.1.50",
      "encryptionKey": "YOUR_ENCRYPTION_KEY",
      "port": 6053
    }
  ],
  "debug": false
}
"Connection Refused" error? The encryption key must match the device's YAML exactly. Copy it again from the ESPHome dashboard.

Which ESPHome devices show up in Apple Home?

Lights, switches, binary sensors and basic sensors work through Homebridge. The homebridge-esphome-hv2 plugin lists support for dimmable and RGB lights, switches and restart buttons, motion, door, window, smoke and leak sensors, and temperature, humidity and water-level sensors. It doesn't list covers, fans, climate or locks.

ESPHome component Through ATH Bridge (Homebridge) Through Home Assistant HomeKit Bridge
Light (dimmable, RGB) Yes Yes
Switch Yes Yes
Binary sensor (motion, door, window, smoke, leak) Yes Yes
Temperature and humidity sensor Yes Yes
Cover (blinds, garage door) Not listed Yes
Fan Not listed Yes
Climate (thermostat) Not listed Yes
Lock Not listed Yes, in accessory mode
Need covers, fans or climate in Apple Home? Use Home Assistant's HomeKit Bridge for those devices. You can run both: ATH Bridge for your other brands and Home Assistant for advanced ESPHome devices.

How to add ESPHome to HomeKit with Home Assistant

If ESPHome devices are already in Home Assistant, the free HomeKit Bridge integration makes them appear in Apple Home. Home Assistant says the integration makes its entities available in Apple Home and Siri even when the devices don't support HomeKit natively (Home Assistant).

  1. Add your ESPHome device to Home Assistant. Go to Settings > Devices & services. Discovered ESPHome devices appear there automatically. If yours doesn't, choose Add Integration, search ESPHome, and enter the device's host name or IP address.
  2. Add the HomeKit Bridge. In Settings > Devices & services, choose Add Integration and search for HomeKit Bridge.
  3. Choose what to share. Select the domains you want, such as lights, switches and sensors, or pick specific ESPHome entities.
  4. Pair with Apple Home. Open the Home Assistant notification to see the pairing QR code. In the Apple Home app, tap + > Add Accessory, scan the code, and tap Add Anyway at the uncertified accessory warning.

Good to know:

  • Locks, cameras and TVs need accessory mode. Home Assistant says these entity types must use accessory mode, one entity per accessory.
  • One bridge holds up to 150 accessories. Create a second HomeKit Bridge if you have more.

Can you add ESPHome to HomeKit without a bridge?

Yes, on ESP32 boards, using HAP-ESPHome, but it's experimental. HAP-ESPHome is a community project that aims to let you control an ESP32 running ESPHome straight from the Apple Home app, with nothing in between. Its listing labels it an alpha work in progress.

What to expect:

  • ESP32 only. It doesn't support ESP8266 boards.
  • You add it as an external component in your YAML. This is where the homekit and homekit_base components in some guides come from.
  • Entity support is limited and may change between releases.
  • It's a good fit for one test device, not your whole home.
What about ESPHomeKit? ESPHomeKit is an older Go-based bridge that runs on a Raspberry Pi. Its last update was in April 2024, so we don't recommend it for new setups.

Can ESPHome devices use Matter with Apple Home?

Not directly yet. ESPHome added OpenThread support, but it runs ESPHome's own protocol over Thread, not Matter. Apple Home can't pair these devices as Matter accessories. A Home Assistant forum reply sums it up: it is "esphome protocol over Thread". For now, use one of the bridge methods above.

See more:

How to add Nest Smart Home Devices to Apple homeKit

How to add Shelly Smart Home Devices to Apple HomeKit


ESP32 vs ESP8266: which works better with HomeKit?

Both work for an ESPHome HomeKit setup through ATH Bridge or Home Assistant, but only ESP32 works with HAP-ESPHome. Through a bridge, the ESP board only talks to the bridge over ESPHome's API, so the chip matters less. For direct HomeKit firmware, the ESP32's extra memory is required.

ESP32 ESP8266
ATH Bridge (Homebridge) Yes Yes
Home Assistant HomeKit Bridge Yes Yes
HAP-ESPHome (no bridge) Yes No
Best for new projects Yes Only for existing boards

Why is my ESPHome device not showing in HomeKit?

Most ESPHome HomeKit problems come from a missing api: component, a wrong encryption key, or network separation. Check that the device is online in ESPHome, that the bridge can reach it on port 6053, and that your iPhone, bridge and device share one network.

Device doesn't appear after adding the plugin

  • Confirm the device YAML has the api: component and the device is online.
  • Re-copy the encryption key exactly. A mismatch causes "Connection Refused".
  • Use a fixed IP address in the plugin settings instead of a .local name.
  • Restart ATH Bridge after changing the plugin settings.

Device shows "No Response" in Apple Home

  • Check that the ESP board has power and a strong Wi-Fi signal.
  • Put ATH Bridge and ESPHome devices on the same network. Guest networks, VLANs and client isolation block the connection.
  • Restart your Apple Home Hub (Apple TV or HomePod).

Some entities are missing

  • The plugin may not support that entity type. Check the table above.
  • Check that the entity isn't in the plugin's blacklist setting.

Remote control doesn't work away from home

  • You need an Apple Home Hub (Apple TV or HomePod) for remote access and most automations.

Final verdict

There's no built-in ESPHome HomeKit support, so pick the bridge that fits your setup. If you already run Home Assistant, use its HomeKit Bridge. If you don't, ATH Bridge is the simplest route. It's a ready-made Homebridge server that adds ESPHome lights, switches and sensors to Apple Home, plus your other non-HomeKit brands, with no server to build.


FAQ

Does ESPHome support Apple HomeKit?
No, not natively. ESPHome has no official HomeKit component. You can add ESPHome devices to Apple Home through a Homebridge server like ATH Bridge, Home Assistant's HomeKit Bridge, or the experimental HAP-ESPHome firmware for ESP32 boards.
Can I use ESPHome with HomeKit without Home Assistant?
Yes. Use a Homebridge server such as ATH Bridge with an ESPHome plugin like homebridge-esphome-hv2. It connects to your devices through ESPHome's native API, so Home Assistant is not needed. HAP-ESPHome is another option for ESP32 boards, but it is still experimental.
Does ESP8266 work with HomeKit?
Yes, through a bridge. ESP8266 boards running ESPHome can appear in Apple Home through ATH Bridge or Home Assistant. The direct HAP-ESPHome firmware needs an ESP32, so it does not work on ESP8266.
Is there an ESPHome homekit component?
Not an official one. The homekit and homekit_base components that some guides mention come from HAP-ESPHome, a community alpha project for ESP32 boards. You add it to your YAML as an external component.
Why won't my Homebridge ESPHome plugin connect?
ESPHome 2026.1.0 removed API password logins, so plugins that only support passwords may fail to connect. Use a plugin with encryption key support, such as homebridge-esphome-hv2, and make sure the key matches your device's YAML exactly.
Can I control ESPHome devices with Siri?
Yes. Once your ESPHome devices are in the Apple Home app through a bridge, you can control them with Siri, for example "Hey Siri, turn on the desk light." You can also add them to scenes and automations.
Do I need an Apple Home Hub?
You do not always need an Apple Home Hub for basic control while you are at home. However, an Apple TV or HomePod is recommended for remote access, shared-home features, and many HomeKit automations.
Can ATH Bridge connect other brands to HomeKit too?
Yes. ATH Bridge supports a large collection of Homebridge plugins. Depending on plugin availability, it can connect many non-HomeKit brands and systems to Apple Home alongside your ESPHome devices.

Ishara Fernando

Smart Home Researcher | Zigbee & Smart Home Technology Expert | Sharing Real-World Experiences & Research | Blogger & Freelance Writer | Turning Complex Smart Home Tech Into Simple, Practical Guides | Helping You Build Smarter, Connected Homes

• 9 min read