# \[APP\] Shelly - Smart solutions for every home and office

**URL:** <https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765>\
**Category:** Apps\
**Tags:** app, official, homey, homey-pro, homey-cloud\
**Created:** [August 28, 2018, 8:54pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765 "2018-08-28T20:54:43Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [April 2, 2019, 9:14am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/162 "2019-04-02T09:14:49Z")

</div>

Shelly 1 can be a 12v or 24-60v input. Only change the bridge.

I use a sonoff 4ch flashed to tasmota for smart irrigation, and a sonoff sv for garage doors. But shellies work with alexa or google out of the box.

> [@Phuturist](#):
>
> The Shelly2 has the roller shutter functionality as well. The 2.5 is smaller, had power meter functionality for both channels and can take a higher load.

Yes, but is replaced with shelly 2.5. You can’t buy shelly 2 anymore.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [April 18, 2019, 7:45pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/163 "2019-04-18T19:45:42Z")

</div>

I just installed a Shelly 1. But the main reason I bought it for, was to have the wall switch as an input to the Hue light bulb. So not to switch the power on/off, but give an on/off command to the light.

In Homey I can only start a flow with Shelly being turned on or turned off. Is there a way to add the wall switch input?

In the Shelly-interface I would then setup the button type as “detached switch”, and I would like the switch input to be available in Homey as an event.

Thank you for your reply!

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [April 18, 2019, 7:57pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/164 "2019-04-18T19:57:20Z")

</div>

> [@TKroon](#):
>
> In the Shelly-interface I would then setup the button type as “detached switch”, and I would like the switch input to be available in Homey as an event.
> 
> Thank you for your reply!

The API of the Shelly devices does not support this (yet). You could achieve this using MQTT however as that does have a input switch next to the default relay.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [April 18, 2019, 7:59pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/165 "2019-04-18T19:59:24Z")

</div>

Thanks for your quick reply. I will pass my feature request also on to Shelly 🙂  
In the meantime I’ll give MQTT a look.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [April 23, 2019, 2:20pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/166 "2019-04-23T14:20:41Z")

</div>

I fixed it, with help from Bogdan Dinga from the Shelly facebook page. The wall switch is now “detached”, and I use the wall switch input as a trigger in Homey.

MQTT was my way to go: the trigger is shellies/shell1-/input/# (it’s a flip switch, but I want the same scene when I flip it, not switch on/off, otherwise the “#” would’ve been a 0 or 1)

But the Shelly sends every 30 seconds a status update via MQTT. That is a problem, because the update is exactly the same message as flipping the wall switch. I fixed that via a HTTP request. I used Chrome with Postman for that. First a GET request: http://\<shelly’s\_IP\>/settings, then you’ll likely see in the MQTT section that the update\_period is set to 30. You can change that by sending another GET request:  
http://\<shelly’s\_IP\>/settings?mqtt\_update\_period=0  
The Shelly stops sending updates, and the wall switch is now a perfect trigger for my Homey.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 1, 2019, 12:43am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/167 "2019-05-01T00:43:13Z")

</div>

Today I received a shelly 1 PM. I will use it to activate a pool pump, will work adding it as a shelly 1? If so, the consumption will not appear, right?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 1, 2019, 7:13am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/168 "2019-05-01T07:13:05Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> will work adding it as a shelly 1? If so, the consumption will not appear, right?

That’s my guess but there is only one way to find out. I don’t have the device and Allterco (the company behind Shelly) told me they don’t update the API docs for another few weeks.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 1, 2019, 9:36am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/169 "2019-05-01T09:36:19Z")

</div>

> [@Phuturist](#):
>
> That’s my guess but there is only one way to find out. I don’t have the device and Allterco (the company behind Shelly) told me they don’t update the API docs for another few weeks.

If I have time I will place it today, then I’ll tell you how it went …

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 1, 2019, 9:34pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/170 "2019-05-01T21:34:09Z")

</div>

@Phuturist

I have already installed the shelly 1 PM. I have added it to Homey as a shelly 1 without any problem, work perfectly.

I have asked on the shelly support page on facebook about the API update and I have been told that there are already 3 ways to see the consumption. I have not understood it very well.

What exactly do you need to implement the consumption in the shelly 1PM?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 1, 2019, 10:02pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/171 "2019-05-01T22:02:53Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> What exactly do you need to implement the consumption in the shelly 1PM?

I need up to date documentation on how the response from the API endpoints look like. If you have any technical skills yourself you could also supply these to me. If you know how to use Postman for requests please let me know and I’ll explain what you can do to help.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 1, 2019, 10:18pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/172 "2019-05-01T22:18:13Z")

</div>

> [@Phuturist](#):
>
> I need up to date documentation on how the response from the API endpoints look like. If you have any technical skills yourself you could also supply these to me. If you know how to use Postman for requests please let me know and I’ll explain what you can do to help.

unfortunately I have no idea, but if you guide me I will help you as much as I can

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 1, 2019, 10:33pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/173 "2019-05-01T22:33:37Z")

</div>

Well, I’m on holiday right now and it would take me to much time to explain. I’ll wait for the updated docs.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 1, 2019, 10:46pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/174 "2019-05-01T22:46:31Z")

</div>

> [@Phuturist](#):
>
> Well, I’m on holiday right now and it would take me to much time to explain. I’ll wait for the updated docs

No problem, there is no rush or need, enjoy your holidays!

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 6, 2019, 8:06pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/175 "2019-05-06T20:06:43Z")

</div>

The Shelly API documentation has been updated with the Shelly2.5. Is there anyone out there with this device that is willing to test integration (and thus is capable of doing command line installs)?

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 8, 2019, 10:50pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/176 "2019-05-08T22:50:20Z")

</div>

I’m going to buy some soon, if nobody offers up until then, I’ll be happy to do so.

---

<div class="post-metadata">

**Author:** ![AdrianLiteAuto](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrianliteauto/32/8740_2.png) [@AdrianLiteAuto](https://community.homey.app/u/AdrianLiteAuto)\
**Post date:** [May 8, 2019, 10:58pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/177 "2019-05-08T22:58:46Z")

</div>

@Phuturist if it helps just buy one. I’ll make a donation to you for the amount of a Shelly 2.5 plus postage. Its the least I can do for all your work on the app. Would that be ok?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 9, 2019, 5:46am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/178 "2019-05-09T05:46:11Z")

</div>

I appreciate the offer but I think it’s better to go with the offer of @Eduardo_Rodriguez as I would not use the device myself other than building support for it. @Eduardo_Rodriguez, let me know when you have received the devices.

---

<div class="post-metadata">

**Author:** ![Blarp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/blarp/32/10278_2.png) [@Blarp](https://community.homey.app/u/Blarp)\
**Post date:** [May 9, 2019, 12:25pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/179 "2019-05-09T12:25:54Z")

</div>

I ordered a shelly 2.5 last month. It is already send form Bulgaria and due to arrive next week (or the next). I report again when arrived, we will see if I can be of any assistance.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 13, 2019, 6:16pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/180 "2019-05-13T18:16:08Z")

</div>

Turns out only in relay mode there is a real functional difference between the Shelly2 and the Shelly2.5 where now both channels have seperate power measurements. So I have only created a new driver for the Shelly 2.5 in relay mode. For the Shelly2.5 in rollershutter mode the previous driver of the Shelly2 in rollershutter mode should work just fine.

I have uploaded a new version of the app to Github which contains the new Shelly2.5 relay driver. It would be great if someone could test it using a command line install and let me know the outcome before I push it to the appstore.

> **[jghaanstra/cloud.shelly](https://github.com/jghaanstra/cloud.shelly)**
>
> Homey app to control Shelly Cloud devices. Contribute to jghaanstra/cloud.shelly development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 14, 2019, 11:10am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/181 "2019-05-14T11:10:40Z")

</div>

As soon as mine arrive, I try it and I tell you if it works correctly.

I also bought a shelly EM, can you support it in the future? It would be good to measure the consumption of the whole house in real time.

[Previous page](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765.md?page=8)

[Next page](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765.md?page=10)
