How to add Sonoff Smart Home devices to Apple HomeKit

Learn how to easily add your Sonoff smart home devices to Apple HomeKit with this step-by-step guide. Connect your home automation system with your iOS devices and enjoy seamless control of your Sonoff products using Siri or the Apple Home app.

How to add Sonoff Smart Home devices to Apple HomeKit

Sonoff HomeKit integration is not a dream anymore. Have you ever imagined how to control your Sonoff smart devices with your Apple Home App and your favorite Siri voice assistant? Relax! You just need to use a simple third-party application to add Sonoff devices to HomeKit such as Homebridge, Sonoff Bridge, or Firmware.

It allows your Sonoff smart home devices to communicate with HomeKit. So, we’ll be covering the top ways to add your Sonoff devices to Apple HomeKit in the article ahead.

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

If you want to check whether your Sonoff device is compatible with your preferred ecosystem, you download the Canda compatibility checker.

What Can You Do with Sonoff-HomeKit Integration?

You can use the Apple Home App on your iPhone or iPad with Sonoff 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 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.

Ways to integrate Sonoff with HomeKit

There’re several ways to integrate your Sonoff devices with Apple HomeKit, There’re two main solutions for that.

  1. Software / App based solution
  2. Hardware / Device based solution

Software based solutions

Using the Enomek App [Recommended Solution]

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 is the best software enhancement for Apple HomeKit users as it’s able to add your non HomeKit compatible smart home devices to HomeLKit.

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 Sonoff 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.

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

Hardware / Device based solution


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.

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

Hurry up! Get your HOOBS plug-and-play hub today for $255.88

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.

A cost-effective method to add your Sonoff devices to Apple HomeKit is Raspberry Pi.

Get your Raspberry Pi today for $148.94

Using a Sonoff Bridge

Sonoff Bridge is a HomeKit-compatible bridge that allows you to connect your Sonoff device to Apple HomeKit. Through your house's Wi-Fi network, you can manage your Sonoff 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.

Simply plug the Sonoff Bridge into a power source and link it to your home's Wi-Fi network to get started. From there, you can connect the bridge to your Sonoff smart home appliances and start using the eWeLink app to operate them. The Sonoff Bridge supports a wide range of Sonoff devices, including smart lights, smart switches, smart thermostats, and more. With the Sonoff Bridge, you can enjoy a seamless smart home experience.

Compatible devices - Sonoff Basic, Sonoff Slampher, Sonoff S26

Some Sonoff smart devices have built-in HomeKit compatibility, you can easily use the eWeLink app to add your Sonoff 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. Let’s see Homebridge solutions to add your Sonoff devices to HomeKit.

Connecting Sonoff With HomeKit Using Homebridge

Adding Sonoff smart devices with HomeKit using HomeBridge 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.

01. 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 and add any device to the Apple HomeKit article.

02. Install Sonoff plugin

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

Npm i -g homebridge -sonoff

Used HTTP routes:




03. 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.

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

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"

04. 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.

05. Bridge to Apple HomeKit using

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

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)

06. HomeKit device control

With Apple HomeKit, you can now manage the Sonoff gadget you own. Let's look at the Sonoff plugins for Homebridge.

Installation Instruction of HomeKit firmware - Integrate Sonoff HomeKit without the Homebridge solution

Sonoff the Flash

Step 01: First, you need to unplug your Sonoff from the power source

Step 02: Then, you can connect your Sonoff to a 3.3-volt serial adapter.

Step 03: Next, you need to run the scrip

Add Sonoff to the Home app

Step 01: Access the new wifi network with your iPhone or iPad. Switch Sonoff-xxx

Step 02: Then, you need to wait for the captive portal and choose a WiFi network

Step 03: Enter your WiFi password here

Step 04: Open the Home app

Step 05: Click the plus sign

Step 06: Click I don’t have the code

Step 07: If the Sonoff-xxx does not appear on the top of the page, select the Sonoff-xxx switch 7.1

Step 08: Try pressing the Sonoff button a few times and killing the Home App

Step 09: Verify your desire to add the Sonoff.

Step 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. You can control several smart devices separately, trigger multiple smart devices with a single tap, manage a group of devices, and even invoke 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

Best Sonoff devices 2023

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 SONOFF TX T2, in addition to style!


  • 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 SONOFF 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 SONOFF will allow you to save some money and energy. It is compatible with Google Home, Amazon Echo, Echo Dot, and Amazon Tap.


  • 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 SONOFF 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.


  • 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 SONOFF products for a smart home setup.


  • 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.


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


You can have an amazing experience with Sonoff HomeKit integration. Here we have provided several methods on how to easily add your Sonoff devices to Apple HomeKit. Among them, HOOBS 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, the Sonoff HomeKit is worth considering.