How to add Sonoff Smart Home devices to Apple HomeKit

How to add Sonoff Smart Home devices to Apple HomeKit

Have you ever imagined how to control your Sonoff smart devices with your Apple Home App and your favourite Siri voice assistant? Relax! We’ll be covering the top ways to add your Sonoff devices to Apple HomeKit in the article ahead.

There’re several ways to integrate your Sonoff devices with Apple HomeKit.

  1. Enomek App [Editor's pick]
  2. ATHOM HomeKit Bridge [Affordable solution]
  3. Software solution
  4. Hardware solution

Let's see two main solutions for integrating your Sonoff with Home Kit.

Software based solutions

Using the Enomek App [Editor's pick]

If you want to add your smart home device to HomeKit or enhance the HomeKit experience, we have solutions to make it work. We got you covered whether you have Apple HomeKit supported devices or not.

Enomek app [Recommended solution] is the best software enhancement for Apple HomeKit users as it’s able to add your non HomeKit compatible smart home devices to HomeLKit.

Step guide for Enomek App Installation

Using Homebridge

Homebridge is open-source software that allows users to add non-HomeKit devices to Apple HomeKit. You can add your Sonoff smart home devices to Apple HomeKit using Homebridge. You can do it yourself. But, you need to have some coding experience.

Let’s see a detailed step-by-step guide to adding Sonoff devices to HomeKit.

Sonoff HomeKit firmware

If you want to make your smart switch compatible with Apple HomeKit, this Gruppio Sonoff HomeKit firmware is for you. It makes your Sonoff WiFi Smart Switch compatible with Apple HomeKit.

This firmware does not require anything else to work, in contrast to the other projects on GitHub. Since HomeKit operates natively, a Wi-Fi connection and an Apple device are all that is required to use it. It is not based on the Tasmota Fw. Finally, you can own a HomeKit device without shelling out a lot of money.

Sonoff HomeKit Firmware compatible devices:

  • Sonoff Basic
  • Sonoff Slampher
  • Sonoff S26

Let’s find the step-by-step guide to add Sonoff devices to Apple HomeKit using Sonoff HomeKit firmware.

Hardware / Device based solution

ATHOM HomeKit Bridge [Affordable way]

The ATHOM HomeKit Homebridge Hub is a simple and affordable way to add non-HomeKit devices to your HomeKit ecosystem. It comes pre-flashed with a customized server that seamlessly integrates with Apple HomeKit.

Easy to use method to add your smart devices to Apple HomeKit is HOOBS Sonoff.

If you are looking for a simple and affordable way to add non-HomeKit devices to your HomeKit ecosystem, the ATHOM HomeKit Homebridge Hub is a great option.

Note: Please note that the ATHOM HomeKit Homebridge Hub ships from China, so delivery may take 2 to 4 weeks. Additionally, refunds are only available within 24 hours of purchase.


The HOOBS plug-and-play hub links numerous smart home devices and enables remote control of them from a single location. It does not require any complicated installation or setup because it is made to be easy to use. You just need to plug it in and use WiFi to connect your smart home gadgets to it.



Using a Raspberry Pi

The Raspberry Pi is a low-cost, tiny computer. With the Raspberry Pi, you can connect a variety of smart home devices such as lights, thermostats, security cameras, and more.

Get your Raspberry Pi today

Using a Sonoff Bridge

Sonoff Home Kit Bridge is a HomeKit-compatible bridge that allows you to connect your smart device to Apple HomeKit. Through your house's Wi-Fi network, you can manage your smart home appliances with the Sonoff Bridge.

It gives you complete control over your smart home from anywhere by enabling you to manage your Sonoff devices using the eWeLink app on your smartphone or tablet.

Check out how to integrate your eWeLink supported devices to Apple HomeKit.

Some Sonoff smart devices have built-in HomeKit compatibility, you can easily use the eWeLink app to add your smart devices to Apple HomeKit, and then you can use the Apple Home App to control them.

Now, you have some idea about the ways to add your Sonoff devices to Apple HomeKit. Our recommended solution is Enomek to add any smart home devices to HomeKit.

Sonoff and HomeKit compatibility

Sonoff brand is popular for its low cost and ease of use of smart home devices. Does Sonoff work with Apple HomeKit? There’re some HomeKit-compatible Sonoff devices. These devices can be controlled and integrated with Apple Home App and Siri voice control.

HomeKit-compatible Sonoff smart devices:

  1. Sonoff Basic - Basic R2
  2. Sonoff Mini - ZBMINI
  3. Sonoff RF Bridge - DW2-RF
  4. B02/B05-B
  5. SNZB-02
  6. SNZB-03

What Can You Do with Sonoff-HomeKit Integration?

You can use the Apple Home App on your iPhone or iPad with Sonoff Apple HomeKit integration.

Some of the things you can do include:

  1. Control Sonoff smart home device remotely - using the Home App or by using Siri commands you can turn on/off the Sonoff device.
  2. Automate your Sonoff device - Easily set up automation rules and control your Sonoff devices.
  3. Integrate with other HomeKit devices - You can use Sonoff smart home devices with other iOS HomeKit devices.
  4. Create scenes - You can easily create scenes to control multiple devices at once.
  5. Share access - You can share access to your Sonoff devices with other guests.
  6. Control with Siri - You can control your devices using Siri's voice commands.

You can easily control a smart home by integrating Sonoff devices with HomeKit. Let’s see what are the ways to integrate your Sonoff with HomeKit.

Connecting Sonoff With HomeKit Using Homebridge

Adding Sonoff smart devices with HomeKit using Sonoff HomeKit Bridge is a popular way for those who want to connect their Sonoff devices with HomeKit.

This homebridge Sonoff plugin makes it possible to control your Sonoff Basic devices with Tasmota firmware through HTTP only. Here’re the steps for connecting Sonoff devices with HomeKit.

  1. Install Homebridge on Mac/PC
  2. Install Sonoff Plugin
  3. Edit the configuration file
  4. Run the plugin
  5. Control Sonoff devices on HomeKit

Let's dive further.

  1. Install Homebridge on Mac/PC

    You’ll first need to have node.js and npm installed on your Mac/PC to install Homebridge. To install Homebridge, you can check out a step-by-step guide.

  2. Install Sonoff plugin

    Once Homebridge is installed, you can install the Sonoff plugin. Run the following command in the terminal:

    "platform": "Sonoff",
    "name": "Sonoff",
    "devices": [
    "name": "Name of the accessory",
    "hostname": "The hostname or local ip address of the Sonoff device"

    Used HTTP routes:

    • http://sonoff/cm?cmnd=Power
    • http://sonoff/cm?cmnd=Power%20On
    • http://sonoff/cm?cmnd=Power%20Off
  3. Edit the configuration file

    You’ll need to navigate to the Homebridge configuration file and you’ll find a file called config.json in this folder. Edit the config file as below:

    • Multiple relays
      "platform": "Sonoff",
      "name": "Sonoff",
      "devices": [
      "name": "Name of the accessory",
      "hostname": "The hostname or local ip address of the Sonoff device",
      "relay": "2"
    • Password specified in the web interface
        "platform": "Sonoff",
        "name": "Sonoff",
        "devices": [
            "name": "Name of the accessory",
            "hostname": "The hostname or local ip address of the Sonoff device",
            "password": "The password from the web interface"
  4. Run the Plugin

    Step 1: Use the cd command to find the directory.

    Step 2: Use the command shown below to launch the Sonoff Homebridge plugin.

  5. Bridge to Apple HomeKit using

    Once you've connected HomeBridge to Apple HomeKit, you may use HomeKit to control your Sonoff devices. Scan the Homebridge UI QR code with the Home App on your iPhone or other Apple device (Or you can enter an 8-digit PIN code).

    homebridge -D -U./config/ -P./

  6. HomeKit device control

    With Apple HomeKit, you can now manage the Sonoff gadget you own. Let's look at the Sonoff plugins for Homebridge. You can integrate Sonoff with Apple Home App and Siri voice control using Homebridge solution.

Integrate Sonoff HomeKit without the Homebridge solution

Sonoff Flash

  1. First, you need to unplug your Sonoff from the power source.
  2. Then, you can connect your Sonoff to a 3.3-volt serial adapter.
  3. Next, you need to run the script.

Add Sonoff to the Home app

  1. Access the new WiFi network with your iPhone or iPad. Switch to Sonoff-xxx.
  2. Wait for the captive portal and choose a WiFi network.
  3. Enter your WiFi password.
  4. Open the Home app.
  5. Click the plus sign.
  6. Click "I don’t have the code".
  7. If the Sonoff-xxx does not appear on the top of the page, select the Sonoff-xxx switch.
  8. Try pressing the Sonoff button a few times and killing the Home App.
  9. Verify your desire to add the Sonoff.
  10. The password is 11111111. Please enter it. That’s it.

Sonoff Smart Devices that work with your Apple Watch

You can easily and quickly operate your smart home appliances with Apple Watch. because you have it on you. With the Apple Watch, you can do much more than just track your fitness and health.

  • Control several smart devices separately.
  • Trigger multiple smart devices with a single tap.
  • Manage a group of devices
  • Use Siri to control your devices.

Only SONOFF smart devices with a single gang, the TH16 WiFi Smart Switch with Temperature and Humidity Monitoring, and the NSPanel Smart Scene Wall Switch are now supported for addition and control via Apple Watch. Keep an eye out for the development of further supported device kinds in the future.

You can control the following these using your Apple Watch

  • Separate control of devices
  • Trigger smart scenes
  • Group control
  • Siri shortcut control

Sonoff Touch Switch without N with HomeKit: Sonoff Touch Switch offers a unique solution through HomeKit integration. You can easily pair this switch without the need for an N cable.

Enable Local control of Sonoff with SONOFF iHost Hub

Sonoff iHost hub enables local control of Sonoff devices. You can control smart switches, lightbulbs and Zigbee sensors without having to require a connection to the cloud. It can enable "Smart security" and manage scenes.

It is a Zigbee hub that allows devices to connected to it. If you're experiencing a problem with devices due to the external cloud. Don't worry anymore!


  • Material: ABS Network Interface: RJ45
  • Connection: Wi-Fi IEEE 802.11 b/g/n 2.4GHZ, Zigbee 3.0
  • Power Supply: 5V 2A
  • Zigbee Module: Silicon Labs EFR32MG21 SoC

Connect Matter with SONOFF

SONOFF MINI Extreme Wi-Fi Smart Switch is SONOFF’s First Matter Device. It works with Amazon Alexa, Apple HomeKit, Google Home, Samsung SmartThings and Google Assistant.  Also, you can connect your Sonoff Matter devices to any smart home ecosystem.

  • Detach Relay Mode
  • Safe and Relaible
  • External Switch Control
  • Tiny and compact
  • Smart Scene
  • Matter compatible
  • Schedule
  • Upgraded ESP32 chip

Best Sonoff devices 2024

We've put up a list of the top SONOFF products for smart homes so you can manage hundreds of cool home appliances. Let’s see what they are.

01. Sonoff TX T2 Smart Light Switch

Do you need a special light switch that is both elegant and keeps things straightforward? You need not worry, as the SONOFF TX T2 light switch is equipped with cutting-edge high-tech features and a crystal panel that can house better functionality. You get simplicity and elegance with this TX T2, in addition to style!

Sonoff TX T2 Smart Light Switch


  • Exclusive design
  • Unique structural outlook
  • Use from anywhere
  • Schedule as per need
  • Voice controlling enabled - Amazon Alexa, Google Assistant
  • Automatic scheduling

02. Sonoff Basic Smart Remote Control

Sonoff Basic Remote Control is with voice assistant technology. you may operate distant devices with smart Basic Remote Control while remaining hands-free. Whether you wish to watch the beautiful sunrise from your bed or frequently forget to turn off the heating, this will allow you to save some money and energy. It is compatible with Google Home, Amazon Echo, Echo Dot, and Amazon Tap.

Sonoff Basic Smart Remote Control


  • Voice controlled device
  • Countdown and timer
  • Free ewelink App access
  • Easy to install

03. Sonoff Mini R2 10A Smart WiFi Wireless Light Switch

With this SONOFF Mini R2, you may thus start a new chapter in your journey toward a smart home. This is the best affordable wireless smart switch in the market. Edge and Pulse mode improvements for MINI devices have recently been made. The remaining gaps between you and the integration of your smart home are filled by the eWeLink App assistance.

Sonoff Mini R2 10A Smart WiFi Wireless Light Switch


  • More Range better connectivity
  • Rocker switch
  • Smarter connection
  • Voice controlling

04. Sonoff 4CH Pro R3 WiFi Smart Switch

There are several intelligent WiFi switches available, but nothing compares to the 4-channel SONOFF 4CH Pro. You can operate remotely because it can connect several devices without any signal loss. All things considered, this is one of the top products for a smart home setup. You're able to create Sonoff 4ch Pro HomeKit integration with firmware update.

Sonoff 4CH Pro R3 WiFi Smart Switch


  • 4-Channel Technology
  • Multiple working modes
  • Easy to install and Access
  • Works effortlessly

05. Sonoff 1080P HD Smart WiFi Security Cameras

For smart devices, SONOFF has no restrictions. It produced Security Cameras after addressing the holes in the Smart WiFi Switches market. The FHD 1080P panoramic view can identify anything unsealed in close vicinity. Utilize this SONOFF 1080P HD Smart WiFi Security Camera to protect your smart home.

Sonoff 1080P HD Smart WiFi Security Cameras


  • Covers the whole area
  • Real-Time Alerts
  • Built-in Audio System


You can have an amazing experience with Sonoff iOS HomeKit integration. Here we have provided several methods on how to easily add your smart devices to Apple HomeKit.

Among them, Enomek is our recommended solution for those with no coding experience. So, if you're looking to simplify your smart home setup and streamline your technology, thist is worth considering.

FAQs about Sonoff Apple HomeKit Integration

1 Does SONOFF work with HomeKit?

No. But, you can make Sonoff compatible with Apple HomeKit with a simple third-party solution like Enomek.

2 Is there an app to control SONOFF switches?

You can use eWeLink App to control smart devices including Sonoff switch.

3 Can Siri control SONOFF?

Yes. After adding Sonoff to HomeKit, you can control Smart devices using Siri.

4 Does eWeLink work with Apple?

Yes. You can control all the eWeLink-supported smart devices with your iPhone or iPad.

5 How to add Sonoff Basic to HomeKit?

If you want to add smart Basic to Apple Home, you can use Enomek.

6 Can I add Sonoff switch mini to HomeKit?

Yes. You can add Sonoff mini to HomeKit using a third-party bridge solution. If you download the Enomek, you will be able to add Sonoff mini to HomeKit easily. Not only Sonoff switch, you can also add sensors, smart plug, smart lighting, and security camera to HomeKit.