How to add Shelly devices to Apple HomeKit?

Do you want to monitor and control your Shelly devices with Siri or iOS Home App. Here're the easy ways to integrate your Shelly devices with HomeKit. And, know more about Shelly HomeKit

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

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. Let’s see how to add Shelly to Apple HomeKit.

Check Shelly devices compatibility with other ecosystems

Now, you can know the compatibility of your Shelly smart devices with the other ecosystems easily before buying, if you want to check the compatibility of your Shelly devices with your favorite ecosystem (Apple HomeKit, Alexa, or Google Assistant), you can download Canda - Smart Home Device Compatibility Checker.

Ways to add Shelly devices to Apple HomeKit

If you want to control Shelly devices with Apple Home App or Siri, you need to add Shelly smart 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. Software based solution / App Method
  2. Hardware-based solution / Device Method

01. App Method

An App is also called an Software Application that can be run on a computer, tablet or other electronic devices. This application is basically a web based application. Also, you must have a computer to run this software. Let's see what this App Method is.

Homebridge

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.

If you want to know more about Homebridge, you can find our Homebridge guide.

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.

Having trouble installing Homebridge yourself?

Installing Homebridge is quite complicated if you have no coding experience or technical knowledge. Don't have one? At Kodmy we have an experienced team. This Kodmy expert team is always on hand to help you add Shelly devices to HomeKit. They are a very proactive team and will reach you within 24 hours. And, all you need to have Remote Desktop contact like AnyDesk.

Don’t be late! Now you can simply send your request to install Homebridge using the below button.

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.

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. It connects more than 2000 devices to HomeKit. So, now Shelly's device is in HomeKit with the HOOBS solution.

Get your HOOBS Box today for $261.98

HOOBS is our recommended solution. You can simply plug and play it at an affordable price. We highly recommend this solution if you have no coding experience. But, you can go with other device solutions, if you have some technical knowledge or coding experience.

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 for $148.94

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

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

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

  1. Install Homebridge on Mac/PC
  2. Install Ring Plugin
  3. Edit the configuration file
  4. Run the plugin
  5. Control devices on HomeKit
Special Note: Do you need any help on this matter? Don’t be late! You can simply send a Homebridge installation request to Kodmy Team.

01. Install Homebridge on Mac/PC

Before installing the Homebridge Shelly plugin, you need to install HomeBridge on Mac/PC. Check out how to add any smart home device to the Apple HomeKit article to install Homebridge on your device easily.

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:

homebridge-shelly-platform/config

For the next generation of shelly devices:

homebridge-shelly-ng-platform/config

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.

Authentication

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. 192.168.1.200", "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 192.168.1.100" }, "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.

homebridge-shelly

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

homebridge-shelly-ng

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

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.  

Get HOOBS all in one for $261.98

Add Shelly devices to HomeKit using HOOBS
HOOBS Box

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.

Best Shelly Smart Home devices

Shelly Cloud is an affordable home automation and you can control these Shelly Smart home devices through Shelly Cloud App. Also, you can integrate thsese smart solution with your favourite home automation system. Now, 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.

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.

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

Shelly 1 One 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.

Now, if you’re keen to buy this WiFi-operated relay switch, you may get this from Amazon for $18.90.

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.  

You may get this Shelly 2.5 Relay Switch from Amazon for 29.90.

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 for 24.90.

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 for 50.25.

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.

You may buy this Shelly Duo WiFi Smart Bulb from Amazon for $9.99.

Also, there are many Shelly devices available in the market now. Plus, you can integrate your Shelly dimmers, switches 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 is now easy.

Conclusion

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

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.

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

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.

What are Apple HomeKit archives?

HOOBS

Mongoose OS

Homebridge