How to add Shelly devices to Apple HomeKit?

How to add Shelly devices to Apple HomeKit?
How to add Shelly smart devices to Apple HomeKit?

Have you ever wondered why your Shelly smart home devices don't show up in the Home App on your iPhone? Do you want to control them using Siri? Then here are the top methods to add Shelly devices to Apple HomeKit.

There’re two main ways to integrate Shelly devices with Apple HomeKit. Let's see simple ways to integrate Apple HomeKit Shelly.

  1. Enomek [Editor's pick]
  2. Athom HomeKit Hub [Cheapest solution]
  3. App Method
  4. Device Method

01. App Method

Enomek [Recommended Solution]

Enomek  is the best solution to add your Shelly smart home devices and it is our recommended solution for you. Enjoy easy integration with Apple HomeKit in just a few taps with Enomek - HomeKit Enabler. Enomek is the best solution to add any smart home devices to Apple HomeKit.

Want to control all your smart home devices in one place, without switching between different apps.? Download your HomeKit enabler via the button below.

Step guide for Enomek App Installation


Are you about to integrate with smart home devices that don’t support HomeKit? Homebridge is the best solution for that. Simply, it is a lightweight NodeJS server. Also, it works as a bridge between HomeKit and non-HomeKit-compatible devices.

Install Homebridge on your PC

As the best solution to add your Shelly devices to HomeKit, installing Homebridge on your computer (macOS, Windows 10, Linux, and Docker) makes it easy for you with your computer running 24/7. If you are an expert in coding, you can do it yourself.

Check out  how to add Shelly devices to Apple HomeKit using Homebridge.

Open Source HomeKit Firmware

There's a Open Source Apple HomeKit Firmware for Shelly Devices. It exposes Shelly 1, Shelly 1PM, Shelly Plug S, Shelly 2 and Shelly 2.5 as Apple HomeKit accessories. Let's find out more about Shelly HomeKit Firmware.

02. Device Method

There’re several devices to add your Shelly devices to HomeKit. Let’s look at two main device methods and which one is our recommendation.

Athom HomeKit Hub [Cheapest solution]

The ATHOM HomeKit Homebridge Hub is the easiest and most affordable way to add your non-HomeKit devices to HomeKit. It is pre-flashed and specially compiled to work seamlessly with Apple HomeKit. You can finally control all of your smart home devices from one place, using the Apple Home app with the ATHOM HomeKit Homebridge Hub.

Benefits of using the ATHOM HomeKit Homebridge Hub:

  • Seamless integration with Apple HomeKit
  • Easy to set up
  • Affordable Solution

Order your ATHOM HomeKit Homebridge Hub today and start enjoying the convenience of a truly connected home!

Note: Please be aware that shipping times for the product may range from 2 to 4 weeks due to the international shipping process from China. Furthermore, we kindly inform you that refund requests can only be accommodated within a 24-hour from the time of purchase.

HOOBS solution

HOOBS is one of the hardware solutions to add Shelly devices to HomeKit. It makes your smart devices compatible with Apple HomeKit as Homebridge. If you want to get user-friendly home automation, HOOBS is the best solution for you.



Raspberry Pi

Raspberry Pi is the cheapest way to add your Shelly devices to Apple HomeKit. It is a compact and single board computer. Are you ready to use Raspberry Pi as the solution to add Shelly to HomeKit? Then, you should have a 4GB microSD apart from the Pi.

Get your Raspberry Pi today

If you’re keen to go with this Raspberry Pi solution, you need to have some coding experience. Otherwise, you can select our recommended app solution to add your any smart home devices to Apple HomeKit.

We have given three ways to solve your problem and hope this will help you to select the best method. Want to find more about Smarter Home Shelly HomeKit? Let's find out how to add Shelly devices to Apple Homekit using Homebridge solution further.  

Shelly and HomeKit compatibility

When we talk about the Shelly HomeKit compatibility, the truth is that the two aren’t natively compatible with each other. But that is not the end of the story! While Shelly doesn’t offer native integration with Apple HomeKit, there are ways to  add these smart devices to Apple HomeKit with simple third-party software applications and gadgets.

Not only Shelly Smart home devices, you can find any Smart home device compatibility like Roborock HomeKit compatibility. Let’s see how to connect Shelly to HomeKit with Shelly HomeKit Open-Source solution.

Step by Step guide to adding Shelly devices to Apple HomeKit using HomeBridge

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

01. Install Homebridge on Mac/PC

Before installing the Homebridge Shelly plugin, you need to install HomeBridge on Mac/PC. Check out how to install Homebridge on your device.

02. Install the homebridge-shelly plugin

You can install the homebridge-shelly plugin after installing Homebridge. They're said to be two ways of installing this plugin. The first one is using Homebridge UI X and the second one is by running npm install -g homebridge-shelly

Step 01: As the first step to installing the Shelly plugin, you can open the terminal on your device or open the Homebridge UI

Step 02: Install the homebridge shelly plugin as given below.

Install this plugin using the terminal:

npm install -g homebridge-shelly

It takes a few minutes to install the shell plugin. Also, you can check whether this plugin installation process is successful or not after installing the plugin.

Install the Shelly plugin using Homebridge UI:

Step 01: If you use Homebridge UI to install the Shelly plugin, you need to go to http://homebridge in your web browser.

Step 02: Then, go to the plugin in the menu bar and search homebridge shelly in the search field for the first generation of Shelly devices. For the next generation of Shelly devices, search homebridge shelly ng

03. Edit the configuration file (add the configuration to your homebridge config.json)

Once you install the Shelly homebridge plugin, you want to edit the configuration file. Here’re a few steps to edit the configuration file

Step 01: First, you want to navigate to the directory using the below command.

For the first generation of Shelly devices:


For the next generation of shelly devices:


Step 02: Then, you can simply add this shelly plugin to your homebridge config.json using the below command:

For the first generation of Shelly devices

"platforms": [
"platform": "Shelly",
"name": "Shelly"

For the next generation of Shelly devices

"platforms": [
"platform": "ShellyNG",
"name": "Shelly NG"

After that, you can discover your Shelly devices automatically. If you want to see a list of all discovered devices, go to http://<IP-ADDRESS>:8181/ (IP-ADDRESS - the address of the device that you’re running homebridge on)

Below are the configuration options you can use when adding configuration to your homebridge config.json

Network interface

If your Shelly devices aren’t discovered automatically, or if there are any error messages like addMembership EADDRINUSE or addMembership EADDRNOTAVAIL, you have to set the “networkInterface” option to the local IP address or the name of the network interface.


If there’s any problem with a username and password, you can set the “username” and “password” options.

Request timeout

If you want to configure the timeout for HTTP requests to the Shelly devices, this “requestTimeout” option can be used. (Specify in millisecond, Default - 10 second)

State timeout

If you want to configure how long a device can be offline (before it is regarded as stale and unregistered from HomeKit), you can use this “staleTimeout” option. (Specify in a millisecond, set - 0 or false to disable, Disabled by default)

Administration interface

By default, the HTTP server on port 8181 serves an administration interface. Also, you can disable this using “admin” . “enabled” to false and you can change the port number using “admin” . “port”.

Device specific configuration

You can set configuration for specific Shelly devices using “devices” array. And, the object of the array should contain the “id” property (with the ID of the Shelly device). Also, Ids are made up of 6 or 12 hexadecimal characters

This id can be found  in the Shelly Cloud app/ the web interface of a device (under Settings -> Devices info -> Device ID)

General configurations

  • “exclude” - set to true
  • “username” and “password” - you can set username and password if there are any restrictions with the web interface of the device
  • “name” - you can set a custom name

Shelly switch configuration

If you own Shelly 1, 1 PM, 2, and 2.5 in relay mode or 4Pro, EM, Plug, and Plug S, this configuration can be applied.

“type” - “ContactSensor” , “motionSensor” , “OccupancySensor” , “Outlet” , “switch” and “valve”

Shelly 2.5 configuration

“type” - “door” , “garageDoorOperner” , “window” , “windowCovering”

Shelly RGBW2 configurations

“colorMode” - you can set “rgbw” if you want to have HomeKit control all R, G, B, and W channels. And, you can set “rgb” to omit the W channel

Here’s the example of the configuration below for the first generation of the Shelly device:

"platforms": [
"platform": "Shelly",
"name": "Shelly",
"username": "admin",
"password": "pa$$word",
"devices": [
{ "id": "74B5A3", "exclude": true },
{ "id": "A612F0", "username": "admin", "password": "pa$$word2" }, { "id": "6A78BB", "colorMode": "rgb" }, { "id": "AD2214", "name": "My Device" }, { "id": "1D56AF", "type": "outlet" } ], "admin": { "enabled": true, "port": 8181 } } ] For the next generation of Shelly devices: { "devices": [ { "id": "e.g. shellyplus1-abcdef123456", "name": "My Device", "exclude": false, "hostname": "e.g.", "password": "pa$$word", "switch:0": { "exclude": false, "type": "switch" }, "switch:1": { "exclude": false, "type": "outlet" }, "switch:2": { "exclude": false, "type": "switch" }, "switch:3": { "exclude": false, "type": "switch" }, "cover:0": { "exclude": false, "type": "windowCovering" } } ], "mdns": { "enable": true, "interface": "e.g. eth0 or" }, "websocket": { "requestTimeout": 10, "pingInterval": 60, "reconnectInterval": [ 5, 10, 30, 60, 300, 600 ]

04. Run the plugin

Step 01: First, navigate to the directory using: cd..

Step 02: Now, run the shelly plugin using:

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

05. Bridge to HomeKit

Now, you can control your Shelly devices with Apple HomeKit after connecting homebridge to HomeKit. First, you need to go to the Home App on your Apple devices and scan the QR code of Homebridge UI or you have another way to connect the bridge to HomeKit. You can enter the 8-digit PIN code to connect.

06. Control devices on HomeKit

Finally, you’re ready to control all your Shelly devices with Apple HomeKit. Let's see what the Homebridge plugins and Apple HomeKit firmware are.

Homebridge plugins and Apple HomeKit Firmware

There're several Shelly HomeKit support Homebridge plugins like Homebridge Shelly and HomeBridge Shelly NG. Also, Shelly HomeKit supports to Shelly HomeKit firmware.


The homebridge-shelly plugin enables you to control your Shelly devices (first generation of Shelly devices) with Apple HomeKit. This shelly homebridge plugin is available on GitHub.

Supported devices to the Homebridge Shelly plugin:

  • Shelly 1
  • Shelly 1L
  • Shelly 1 PM
  • Shelly 2 1
  • Shelly 2.5 1
  • Shelly 3EM
  • Shelly 4Pro
  • Shelly Air
  • Shelly Bulb 2
  • Shelly Button 1 3
  • Shelly Dimmer
  • Shelly Dimmer 2
  • Shelly Door/Window
  • Shelly Door/Window 2 3
  • Shelly Duo
  • Shelly EM
  • Shelly Flood
  • Shelly HD
  • Shelly H&T
  • Shelly i3
  • Shelly Motion 4
  • Shelly Plug
  • Shelly Plug S
  • Shelly Plug US
  • Shelly RGBW2
  • Shelly Sense
  • Shelly Uni
  • Shelly Vintage


The homebridge-shelly-ng plugin supports next-generation Shelly devices. So, Shelly Pro 4 PM HomeKit and Shelly Plus 1 HomeKit are no longer a dream.

Supported devices to the Homebridge Shelly NG plugin:

  • Shelly Plus 1
  • Shelly Plus 1 PM
  • Shelly Plus 2 PM
  • Shelly Plus I4
  • Shelly Plus Plug US
  • Shelly Pro 1
  • Shelly Pro 1 PM
  • Shelly Pro 2
  • Shelly Pro 2 PM
  • Shelly Pro 3
  • Shelly Pro 4 PM

Shelly-HomeKit (Open source Apple HomeKit Firmware for Shelly Devices)

If you want to expose Shelly devices as HomeKit Accessories, this Shelly firmware HomeKit will be helpful for you. This firmware only supports plugs and relays. Also, It is an Over The Air update (OTA).

Summary of Shelly HomeKit firmware supported devices and features

Shelly HomeKit Supported Devices and Features

Now, you know how to use Homebridge with Shelly HomeKit, more about the Homebridge plugins and Apple HomeKit firmware solution. If you think, you had better go with the plug and play solution, you can find a step by step guide to integrate Shelly HomeKit using Plug and Play solution below.

Step by Step guide to adding Shelly devices to Apple HomeKit using HOOBS

First, you need to plug in an ethernet cable and connect to your router. And Then, you need to plug in the power cable and wait 2 or 3 minutes while HOOBS in Box boots.  


Add Shelly devices to HomeKit using HOOBS

Now, you want to open a browser on your computer and go to http://HOOBS.LOCAL. Then, you can create your HOOBS Account and open the Home app on your iPhone.

Then, you can tap add an accessory and scan the QR code. Next, you want to tap add anyway and now added successfully. Then, install the shelly plugin click on plugins click on search type Shelly click on install plugin installed.

Head to your phone again and open the Home app. All your Shelly devices will be displayed at home. Then, Rename the devices >assign to rooms >Control them> Add to automation.

How to add Shelly devices to HomeKit using Home Assistant

Step 01: Open Home Assistant on your browser.

Step 02: Go to the Configuration > Navigate to devices and services

Step 03: You'll see the Shelly devices or you need to click add integration button

Step 04: Type Shelly > Select it > Discover the devices

Step 05: Press the Configure button > Submit > Select the room > Press finish

Shelly MQTT vs Tasmota MQTT

Shelly devices support Home Assistant MQTT protocol. Shelly MQTT offers less feature than the Tasmota MQTT. So, it is easier to use than the Tasmota. If you're an advanced user, you can go with Tasma as it 0ffers different configuration options.  

Matter updates coming to Shelly products

If you want to talk to other devices directly and locally with no need to use the cloud, Matter is the right solution. No matters about matter anymore! Matter updates coming to several products including the Shelly.

Shelly announced several products to support the Matter including a new smart smoke alarm.

If your device supports Matter, it will work natively with Apple Home, Amazon Alexa, Samsung SmartThings, Google Home, and any other smart home platform that supports Matter. Also, it can be controlled by Siri, Amazon Alexa and Google Assistant. So, we're waiting for the Shelly HomeKit Matter integration.

Best Shelly Smart Home devices

Let's take a look at the affordable Shelly Smart home products that can be controlled through the Shelly App.

Best Shelly Devices
Best Shelly Devices

Shelly Relays

Shelly Relays are designed to sit inside a wall switch box. They can be exposed to many Smart Home Automation hubs like Google Home, Amazon Alexa, and SmartThing. Shelly clouds are used to do this.

If you want to turn a dumb switch into a smart switch, relays enable you to add a smart switching capability to any circuit. Also, Shelly 2.5 can work for a roller shutter. Furthermore, Shelly relays are in different sizes. Shelly 2.5 is the smallest one and Shelly 1 is the largest one.

Homebridge-Shelly and Open source Apple HomeKit firmware support Apple HomeKit. So, you can easily integrate Shelly HomeKit Relay.

Shelly 1 Plus WiFi Switch

You can enhance your smart home control with Shelly Plus 1. It has a small design to fit behind every wall switch or wall socket. Also, you can automate the lights, control the garage door, and automate your irrigation system. You can make your dump switch smart by adding Shelly to HomeKit (Shelly 1 with HomeKit).

It’s time to go with Shelly Plus. You may buy this Shelly 1 Plus from Amazon for 19.50.

Shelly 1 Relay Switch

If you want to control your home appliances such as lights, sockets, garage doors, curtains, conditioners, and security systems from anywhere, you can use this WiFi-operated relay switch. It has Bluetooth connectivity, packs an extremely fast processor, improved integration, and quicker connectivity.

Apart from this relay switch, you may get this Shelly 1PM Relay Switch from Amazon.  It is the best alternative to Shelly 1 Relay Switch.

Shelly 2.5 Relay Switch

No matter where you are. This Shelly 2.5 Relay Switch controls your home appliances via your smartphone. Not only that, but you can also control its electric consumption. It has an embedded web server. So, It doesn’t need any additional controller or hub to set up Shelly. Furthermore, It has two electric circuits and functions as a standalone device. Also, you can add Shelly Relay Switch to HomeKit using the homebridge plugin.  

Shelly Plus Plug US

Shelly Plug US is the WiFi smart plug that fits everywhere. It can connect to any WiFi network and operate as an access point. No matter where you are! You can control the Shelly Plug US from your smartphone. Including features such as highly compatible, a wide range of voltage support, sunrise/sunset schedule, weekly schedules, power metering, and countdown timer. Also, you can add this Shelly Plug to HomeKit with the homebridge solution.

If you want this next-generation Wi-Fi operated Plug, you may buy this from Amazon.

Shelly RGBW 2 Controller

One simple step makes your LED strip smart. The Shelly RGBW2 can be connected to any LED controller and gives you the ability to manage your lighting remotely using a tablet or mobile device. Control 12-24V DC, dim, meter power, and choose colors from a wide range of RGB colors. It is made to install quickly and simply under an existing light switch, socket, junction box, or electrical box.

If you want to create the perfect home atmosphere for your home, you may buy this from amazon.

Shelly Duo WiFi Smart Bulb

Now that you don't leave the lights on, your home won't welcome you in the dark. You can connect the Shelly Duo bulb directly to your Wi-Fi at home and control lighting at home. Also, you can choose a color temperature between 2700K and 6500K. And, there’re many features such as WiFi on board, cloud and MQTT enabled, dimmable, voice control, smart wake-up, and night mode.

Also, there are many Shelly devices available in the market now. Plus, you can integrate your Shelly dimmers, switches, garage door opener and most Shelly devices to HomeKit. So, setting up Shelly HomeKit like Shelly Dimmer Apple HomeKit, Shelly 1 plus HomeKit, Shelly 2.5 Apple HomeKit, Shelly HomeKit Garage Door is now easy.


As we mentioned above, Shelly devices can be added to Apple HomeKit using Homebridge or HOOBS solution. Also, there is an Apple HomeKit firmware for Shelly devices. This is an open source Apple HomeKit firmware.

Now, you know how to add Shelly devices to Apple HomeKit, instead see How to add Tuya devices to Apple HomeKit to know more about Tuya HomeKit.

FAQs about Shelly HomeKit

01. Does Shelly support HomeKit?

Shelly devices don’t officially support HomeKit. If you want to add your Shelly to HomeKit, you can use a third-party software solution (Homebridge) and Hardware solution (HOOBS, Raspberry Pi) for that.

02. How do I add Shelly to Homebridge?

You can add Homebridge with the simple steps below.

  • Install Homebridge to your device
  • Install Shelly Plugin
  • Add configuration to homebridge config.json
  • Run Shelly plugin
  • Control Shelly devices on Homekit

03. What is Apple HomeKit firmware for Shelly Switches?

Using Apple HomeKit firmware, you can add your Shelly Switches to Apple Homekit. Shelly HomeKit firmware update requires Shelly HomeKit conversion. If you update this, you can easily add multiple devices to HomeKit.

04. What are Apple HomeKit archives?


Mongoose OS


05. Which shell do I need?

You need to know how to choose the best model. If you want to control lights or control a device with maximum load of 16A, you can choose Shelly 1. Also, if you want to control a passive wireless light, you can go with Shelly 1L.

06. Is Shelly 2.5 HomeKit compatible?

Shelly isn't compatible with HomeKit. But, you can integrate Shelly 2.5 with HomeKit with few solution as we mentioned above.

07. Will Shelly support Matter?

Yes, Shelly anounced that the new Shelly devices will compatible with Matter.

08. Is Shelly firmware open source?

Yes. Shelly HomeKit is a open source Apple HomeKit firmware for Shelly devices.

09. how to flash Shelly HomeKit?

If you want to flash Shelly HomeKit, you can use the following URL (Note: You need to replace A.B.C.D with your devices current IP address):


Afte a minute, you will see LED blinking and then you can see a different web interface at the same device address.

Finally, you can script for an automated way to update your devices as given below.

./ hostname  (for single device)
./ -a  (for all devices on the network)

10. Can I add Shelly Switch to HomeKit?

Yes. Adding Shelly Smart Switch to HomeKit is easy with Enomek - HomeKit Enabler. You can select any affordable solution and follow step by step guide using this tool.

11. How to add Shelly Button to HomeKit?

You can connect Shelly Button with HomeKit with Enomek App. Not only Shelly Button, you can add Shelly bulbs, and Shelly Garage Door Opener to Apple HomeKit.