How to Add Shelly Smart Devices to Apple HomeKit

How to Add Shelly Smart Devices to Apple HomeKit

APPLE PLEASE! Apple, please make Shelly devices compatible! It is so annoying that Shelly is incompatible with Apple HomeKit. Anywayss, I researched and tried to find some solutions so let's surf through the best 04 solutions to add Shelly devices to Apple HomeKit. I have given a comprehensive list of solutions you can use too.

AddtoHomeKit [Recommended Solution]

You want me to describe it in one word? AMAZING! Before explaining how AddtoHomeKit works, let me tell you what I love about it the most. It is so effortless and requires so little time and coding knowledge.

Step-By-Step Guide on Operating AddtoHomeKit

  1. Visit the AddtoHomeKit website
  2. Select your "Shelly" as the ecosystem.
  3. When you enter the second page, select your preferred solution.
  4. After you are directed to the third page, select your preferred operating system.
  5. Now, you have to install the HomeBridge plugin provided.
  6. Tap on "Add to HomeKit"
  7. Now follow the instructions provided and enjoy!

If you have to  add any TP-Link Kasa smart devices to Apple HomeKit it is best to use the AddtoHomeKit solution as well! 

ATH Bridge [Budget-Friendly Solution]

ATH Bridge is a device solution that helps in connecting your Shelly devices to HomeKit. It acts as a bridge between Shelly devices and HomeKit enabling a seamless integration. It is a compiled and pre-flashed HomeBridge server. To operate it, you just need to download the plugins and configure them. You can add you Alexa Echo Dot to Apple HomeKit and add Yale devices to HomeKit with this as well!

HOOBS (HomeBridge Out of the Box)

HOOBS is an update of HomeBridge, it basically simplifies the process of adding non-HomeKit devices to Apple Home. It has a user-friendly interface for managing and configuring Shelly devices to work with HomeKit. HOOBS offers a pre-configured setup, making it easier for you to use. You can even add Hive Smart Devices to Apple HomeKit.

Step-By-Step Guide on Operating HOOBS

  1. Set Up Your Shelly Device

  2. Ensure your Shelly device (e.g., Shelly smart control, Shelly smart switch, Shelly smart relay) is properly installed and connected to your Wi-Fi network.


    Use the Shelly Smart Control App to configure your device.


  3. Install HomeBridge or HOOBS

  4. Download and install HomeBridge or HOOBS on a Raspberry Pi or a compatible system.


    Follow the setup instructions provided by HomeBridge or HOOBS.


  5. Add the Shelly Plugin to HomeBridge

  6. Open the HomeBridge or HOOBS interface.


    Search for the Shelly plugin and install it.


    Configure the plugin with your Shelly device details (e.g., IP address, username, and password).


  7. Add Shelly Devices to Apple HomeKit

  8. Follow the prompts to add and configure them in HomeKit.


    Now, you can control Shelly devices with Siri and the Home app.

Also you can integrate Smartwings HomeKit, Hikvision HomeKit, Blink Camera HomeKit using HOOBS.

HomeBridge Solution

HomeBridge is an open-source platform that allows you to connect non-HomeKit compatible devices to Apple HomeKit. As you may already know, it supports various plugin, such as the Shelly Apple HomeKit API. Therefore, making it possible to integrate a wide range of Shelly devices. The only disadvantage is that you need to have a bit of technical knowledge for this solution. My frist time using HomeBridge Solution to add all my devices to Apple HomeKit was with my Ring devices. I struggled a bit when I was trying to connect my Ring devices to Apple HomeKit. If you are an expert in that area, HomeBridge is a great solution for you.

If you want to install HomeBridge on your PC, there is an Open Source Apple HomeKit Firmware for Shelly Devices. Mongoose os shelly firmware exposes Shelly 1, Shelly 1PM, Shelly Plug S, Shelly 2 and Shelly 2.5 as Apple HomeKit accessories.

Step-By-Step Guide on Operating HomeBridge

  1. Set Up HomeBridge

  2. Install HomeBridge on a computer or recommended Raspberry Pi if you haven't already, and follow the installation provided in the HomeBridge website.


    Install the HomeBridge Shelly plugin. You must use the command line interface by running `npm install -g homebridge-alexa.`


  3. Configure HomeBridge

  4. Edit the HomeBridge config.json file to include the Shelly device.


    You must add the Shelly device’s information into the config.json file. Refer to the plugin documentation for specific configuration options.


  5. Start HomeBridge

  6. When the configuration is completed. You must start HomeBridge by running in homebridge the command line interface.


  7. Add HomeBridge to HomeKit

  8. Open the Home App


    Tap on the "+" icon to add your Shelly device.


    Select the “Don’t Have a Code or Can’t Scan?” option and select HomeBridge.


  9. Authorize Device

  10. Shelly devices should now appear in your HomeKit setup.

Step-By-Step Guide to Shelly HomeKit with HomeBridge on Mac/PC

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


  3. Install the homebridge-shelly plugin
  4. 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

    • As the first step to installing the Shelly plugin, you can open the terminal on your device or open the Homebridge UI
    • 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:

    • If you use Homebridge UI to install the Shelly plugin, you need to go to http://homebridge in your web browser.
    • 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

  5. Edit the configuration file (add the configuration to your homebridge config.json)
  6. Once you install the Shelly homebridge plugin, you want to edit the configuration file. Here’re a few steps to edit the configuration file

    • 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
    • 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://:8181/ (IP-ADDRESS - the address of the device that you’re running homebridge on)


  7. Run the plugin
    • First, navigate to the directory using: cd..
    • Now, run the shelly plugin using:
    • homebridge -D -U ./config/ -P ./

  8. Bridge to HomeKit
  9. 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.


  10. Control devices on HomeKit
  11. Finally, you’re ready to control all your Shelly devices with Apple HomeKit. Let's see what the Homebridge plugins and Apple HomeKit firm ware are.

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

  • Network interface
    If your Shelly Siri 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 homekit 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 ]
}
}

Not only these solutions, you can also connect any smart home device to Apple HomeKit with Enomek. Actually, it is a app solution!

Homebridge plugins and Apple HomeKit Firmware

There're several Shelly HomeKit support Homebridge plugins like Homebridge Shelly and HomeBridge Shelly NG. Also, Shelly Apple 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.5 Shelly 3EM Shelly 4Pro
Shelly Bulb 2 Shelly Button 1 Shelly Dimmer
Shelly Door/Window Shelly Door/Window 2 Shelly Duo
Shelly Flood Shelly HD Shelly H&T
Shelly Motion Shelly Plug Shelly Plug S
Shelly RGBW2 Shelly Sense Shelly Uni
Shelly 2 Shelly Air Shelly Vintage
Shelly Plug US Shelly Dimmer 2 Shelly EM

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 Plug US
  • Shelly Pro 1
  • Shelly Pro 2 PM
  • Shelly Pro 3
  • Shelly Pro 4 PM
  • Shelly Pro 2
  • Shelly Pro 1 PM
  • Shelly Plus I4
  • Shelly Plus 2 PM

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 your devices to HomeKit? Then, you should have a 4GB microSD apart from the Pi.

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.

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

Shelly Devices that are Supported by the HomeBridge Plugin

  • Shelly Plus 1
  • Shelly Plus 1 PM
  • Shelly Plus Plug US
  • Shelly Pro 1
  • Shelly Pro 2 PM
  • Shelly Pro 3
  • Shelly Pro 4 PM
  • Shelly Pro 2
  • Shelly Pro 1 PM
  • Shelly Plus I4
  • Shelly Plus 2 PM
  • Best Rated HomeKit Compatible Shelly Devices

    Device Description
    Shelly 1 Known for the ease of use and reliability.
    Shelly 2.5 It can control two circuits.
    Shelly Dimmer Perfect for the controlling lighting and creating the desired scene.
    Shelly Plug Known for its ease of use in controlling appliances.
    Shelly RGBW2 Ideal

    Trouble Shooting: Common Problem and Solutions

    “Shelly HomeKit No Response” is a common issue faced by many users. Below is a list of possible solutions to overcome this issue.  

    Check network connection – Make sure that your Shelly device and HomeBridge are connected to the same network.  

    Update firmware – Make sure your Shelly devices have the latest updated firmware. 

    Restart device – Most of the time, a simple restart of your device can resolve this issue.  

    If you want to add any Alexa smart devices to Apple HomeKit, you can do so with these solution.

    Pros and Cons of Adding Shelly Devices to Apple HomeKit

    Pros

    • Unified Ecosystem: Controlling Shelly devices with the Home app lets you integrate them with other HomeKit devices for a seamless smart home experience
    • Siri Integration: You can use Siri for voice commands, making it easy and hands-free to control your devices
    • Automations and Scenes: The Home app allows you to create automations and scenes involving multiple devices, including Shelly products
    • Better User Interface: The Home app is more intuitive and user-friendly compared to the Shelly Smart Control App
    • Security: Apple HomeKit provides strong security, keeping your smart home setup safe

    Cons

    • Initial Setup Complexity: Setting up Shelly devices with HomeKit requires extra steps, like using HomeBridge or HOOBS, which might be challenging for non-technical users
    • Limited Shelly App Features: Some advanced features available in the Shelly Smart Control App might not be accessible through the Home app
    • Firmware Updates: You need to manually update firmware to ensure compatibility and security
    • Intermittent Connectivity Issues: You might sometimes experience occasional "no response" messages in the Home app

    HomeKit bridge for shelly flood and Smoke sensor

    This HomeKit Shelly project adds Home integration to the Shelly Flood, Shelly Smoke, and Shelly Plus H&T.

    First, you need to a MQQT service. So that, you should run this project with this:

    HT=Device1ID,Device2ID SMOKES=Device1ID,Device2ID FLOODS=Device1ID,Device2ID,etc homekit-shelly

    Finally, you can add Shelly Bridge to your Apple Home.

    Shelly HomeKit Power Saving Mode

    There're three types of power-saving modes.

    1. Disable
    2. Light Sleep Mode - 1
    3. Modem Sleep Mode - 2

    RavenSystem / esp-homekit-device

    This RavenSystem firmware adds native Apple HomeKit support to any device like Sonoff, Shelly, or custom devices.

    In addition to that, there's an advanced firmware - RavenCore v2 that allows you to configure any smart home device using a MEPLHAA Script.

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

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

    Shelly HomeKit firmware supported devices:

    • Shelly 1 flash HomeKit
    • Shelly Dimmer 2 HomeKit
    • Shelly Duo HomeKit
    • Shelly Motion 2 HomeKit

    Shelly 2PM Custom HomeKit Firmware and Homey Pro Support

    Athom Homey Pro supports Shelly's custom HomeKit Firmware. You can now expose your shelly devices to your iDevices. Surprise! You're able to install the Shelly on the Homey with a few easy steps.

    1. Install the Shelly App.
    2. Log in to Homey.
    3. Select Devices tab and press the Plus button.
    4. Search for your Shelly device, choose the brand, select the device, and click "Install". If needed, try again.
    5. Add Shelly device details (IP Address, User Name, Password), and test the connection.
    6. Select the devices you'd like to test. That's it!

    How to add Shelly devices to HomeKit using Home Assistant

    1. Open Home Assistant on your browser.
    2. Go to Configuration and navigate to Devices and Services.
    3. You will see the Shelly devices listed, or click the Add Integration button.
    4. Type "Shelly", select it, and discover the devices.
    5. Press the Configure button, submit the configuration, select the room, and 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.

    Shelly Dimmer 2 HomeKit

    Shelly Dimmer 2 for Apple Home Kit is the best Shelly HomeKit Dimmer with a built-in web server. It keeps control of your lights and connects your devices to your home Wi-Fi network. It is the world's smallest light dimmer that is especially suitable for smaller spaces. Let's see what're the key features of the Shelly Dimmer HomeKit.

    Key Features of Shelly Dimmer 2

    • Can control LED fluorescent lights or halogen lights
    • It is suitable for installations in smaller spaces
    • Can be used as part of a smart home system or independently
    • Not require a zero switch
    • Compatible with Apple HomeKit
    • The signal range (50 m outdoors or 30 m indoors)

    Also, you can find Shelly 1 HomeKit (shelly 1 Siri ) that supports Apple Home. So, you're able to control the lights within the Apple HomeKit.

    Matter updates coming to Shelly products

    Shelly announced several products to support the Matter including a new smart smoke alarm. So, you can find Shelly Matter Devices now.

    • Shelly Plug Matter Devices
    • Shelly Relay Matter Devices
    • Shelly Dimmer Matter Device

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

    Best Shelly Matter Devices

    Shelly H&T Gen3

    Shelly H&T Gen3 is a new matter compatible Wi-Fi Temperature and Humidity sensor. As Matter compatible, it can be controlled through the Shelly Smart Control App, various protocols, platforms and voice assistants. It has features like Wall mountable, has an embedded web server, low battery consumption and works with type-c USB slot.

    Shelly Plus series

    Shelly Plus Series Devices are compatible with Matter now. So, you can control your Matter enablled Shelly Pro series products with Matter enabled ecosystems such as Apple HomeKit. Amazon Alexa, Google Home and Samsung SmartThings.

    Shelly Pro Series

    Shelly Pro Series Devices are compatible with Matter protocol such as Shelly Pro 1, Shelly Pro 2, and Shelly Pro 3.

    What is Apple HomeKit firmware for Shelly Switches?

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

    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 device's current IP address):

    1. http://A.B.C.D/ota?url=http://shelly.rojer.cloud/update
    2. After a minute, you will see the LED blinking and then you can see a different web interface at the same device address.
    3. Finally, you can script for an automated way to update your devices as given below:
    • ./flash-shelly.py hostname (for a single device)
    • ./flash-shelly.py -a (for all devices on the network)

    Editor's Pick

    My pick is AddtoHomeKit! I would even recommend using AddtoHomeKit to add any device to Apple HomeKit. Due to its very low effort and less time-consuming feature it would be a life saver! I don’t have to spend day and night searching through to find a step-by-step guide as everything is provided and compiled for me. Therefore, AddtoHomeKit is my pick to add Shelly smart devices to Apple HomeKit.  

    FAQ


    Yes, you can control your Shelly devices using Siri or the HomeApp in your iPhone with shelly and HomeKit integration.
    Shelly’s latest devices are upgradeable to Matter.
    Yes, but for the best experience it is recommended to use the cloud.
    Yes! Shelly devices are designed to operate on your local network without requiring an internet connection. This means you can control them directly from your home network using the Shelly app or through integrations like HomeKit.
    • HOOBS
    • Mongoose OS
    • HomeBridge
    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.
    Shelly 2.5 isn't compatible with HomeKit. But, you can integrate Shelly 2.5 with HomeKit with few solutions as mentioned above.
    Yes. Shelly HomeKit is an open-source Apple HomeKit firmware for Shelly devices.
    You can connect Shelly Button with HomeKit withAddtoHomeKit. Not only Shelly Button, you can add Shelly bulbs, and Shelly Garage Door Opener to Apple HomeKit.
    If you want to expose the power consumption to Homekit, you can install Shelly 1PM power consumption firmware for that.