November 09, 2024

Shelly devices as "native" Apple HomeKit accessories

Updated 2024-11-09

I have been using Shelly devices for quite some time both on our boat, off grid, and also as HomeKit (HK) accessories via Homebridge (HB)

I was really amazed when I found that some smart guys have created a software package that replaces the stock, official, Shelly firmware with the "Shelly-HomeKit" package which emulates a "native" Apple HomeKit accessory.

It's very nice done, really simple, and the flashing of the software is done over the air (OTA) with your ordinary WEB-browser.

Intro
Here is a list of supported devices and the Wiki.

How to
Update Shelly software
As said in the Wiki it's very important that you update the Shelly device to the latest software so my suggestion is that you connect the Shelly to your Wi-Fi and check for software updates.
Check out this blogpost and use the "WEB-server way". This way you don't even have to download the Shelly app.

Flash the Shelly device
Knowing the IP address of the Shelly you just apply it, in your WEB-browser, to this URL

http://nnn.nnn.nnn.nnn/ota?url=http://shelly.rojer.cloud/update

And then hit "Enter" which will give you something like 

{"status":"updating","has_update":false,"new_version":"20221027-091427/v1.12.1-ga9117d3","old_version":"20221027-091427/v1.12.1-ga9117d3","beta_version":"20230329-161525/v1.13.0-rc2-g1b3e5af"}

This example is flashing a Shelly 1. After a minute or so refresh the browser, with just the IP-adress, and you will see a new WEB-page with something like the picture above.

If the update don't work change to a URL that is specific to your model.
For my Shelly Plug S it was 

http://192.168.68.124/ota?url=http://rojer.me/files/shelly/shelly-homekit-ShellyPlugS.zip

Configure
Then go to "General settings" and follow the instructions.

Please note that with "HomeKit Settings" the manual isn't up to date. Instead you will see a page as shown to the right.

Click on "Setup" which will generate a new page with a QR code. Open your HK app and add the device, to your Home, scanning the QR code.

Easy wasn't it ?

So don't forget to DONATE !

Remark
Please note that you have to upgrade to >= 2.13.1 via the newest stock software for Plus devices. 

No comments:

Post a Comment

Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !