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 stock 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
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.
Easy wasn't it ?
So don't forget to DONATE ! to the current maintainer.
Remark
Please note that you have to upgrade to >= 2.13.1 via the newest stock software for Plus devices.
Comments
Replaced FW, loaded into HomeKit. All as per instructions, OK. The plug showed up in the HomeKit app on the iP, but it's in "No response" status... (Accessories not responding.)
It's located about 2m from the Wi-Fi AP, I'm using a 64GB Apple TV, not 4K.
I don't know how to proceed, any advice? Thank you, Majeroz0.
When it was connected via Home Assistant, with the original FW, it was functional and turned on, off as needed. Thank you.
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 !