# \[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:** 11

<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 15, 2019, 4:34pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/203 "2019-05-15T16:34:36Z")

</div>

@Phuturist  
I have reinstalled the shelly app form the app-store (v1.6.0).  
And attached the shelly2 to homey (roller shutter)  
And attached the shelly2.5 to homey (relay)

If I go to Shelly 2 Relay (witch is the shelly2.5) I am presented with a pulldown: relay 2.1 and relay 2.2.  
Both I can switch on.

This is a good thing 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 15, 2019, 5:24pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/204 "2019-05-15T17:24:30Z")

</div>

> [@Blarp](#):
>
> This is a good thing right?

Yes, but it lacks support for power measure for each channel. This is what I have added with a seperate driver for the Shelly 2.5.

What I still need to find out is if the previous errors you have seen occur on 1.6.0 for the Shelly 2 as well. So could you run the app from the command line and see if it returns these errors after you have removed the Shelly 2.5. If it does not return these errors would you be willing to remove your Shelly2 and run the 1.7.0 version again.

---

<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 15, 2019, 5:30pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/205 "2019-05-15T17:30:27Z")

</div>

> [@Phuturist](#):
>
> What I still need to find out is if the previous errors you have seen occur on 1.6.0 for the Shelly 2 as well.

You mean 1.6.0 commandline install? With only shelly2 attached?  
This is exactly that:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/93fc99dac7f0f3c3f397ad65200382d94e48a7d7.png)

But I will do this again to make sure sure.

---

<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 15, 2019, 5:36pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/206 "2019-05-15T17:36:46Z")

</div>

commandline install 1.6.0, with only shelly2 attached:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/4725e7d0163a8a31469456f415d431a2237663b8.png)

---

<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 15, 2019, 5:39pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/207 "2019-05-15T17:39:34Z")

</div>

Ok, I need to fix that first before I can have a further look at the Shelly2.5 driver. I have uploaded version 1.7.0 with extra logging for the Shelly 2 driver. Could you run this and let me know what it returns.

> **[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:** ![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 15, 2019, 5:51pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/208 "2019-05-15T17:51:23Z")

</div>

yes sir:  
commandline 1.7.0 shelly2:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/9d187cd6b097e384fac4616f323a23c21f39cc35.png)

---

<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 15, 2019, 6:16pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/209 "2019-05-15T18:16:22Z")

</div>

Have you paired your Shelly 2 as relay or rollershutter? I’m not seeying the extra logging I have added to the Shelly 2 relay driver.

---

<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 15, 2019, 6:18pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/210 "2019-05-15T18:18:47Z")

</div>

roller shutter  
I can’t change that on this moment to relay because it is attached to a venetian blind in a wall in one of my sons bedroom. And he is a sleep.

---

<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 15, 2019, 7:38pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/211 "2019-05-15T19:38:47Z")

</div>

That’s ok. I just uploaded a version that adds debug logging that should tell me the source of these errors. Once I have that fixed I can continue to look at the Shelly 2.5 driver. Give it a swing.

> **[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:** ![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 15, 2019, 8:54pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/212 "2019-05-15T20:54:38Z")

</div>

ok, 1.7.0 with shelly2 rollershutter attached

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/132bc99c3d21177665d47f7177a596f38462cc9e.png)

---

<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 15, 2019, 9:33pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/213 "2019-05-15T21:33:06Z")

</div>

Right, I see what is causing the issue. In the data you can see the rollers current\_position is set to 101. As this is a percentage it should not be allowed to exceed 100. Obviously this is a bug in the Shelly 2 API and or firmware. Homey returns a out\_of\_range error when I try to set the roller position to 101%.

I have added a check in my app to prevent this from happening so we can continue to troubleshoot the Shelly 2.5 driver. I have added extra logging to do so, please run the new version from GitHub and let me know the outcome.

---

<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 16, 2019, 7:26am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/214 "2019-05-16T07:26:13Z")

</div>

1.7.0 commandline install, shelly2 rollershutter attached:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/767f2ca75ccd636a8b6e4c003d715b6181f155ef.png)  
Still can not attach a shelly2.5 device.

---

<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 16, 2019, 2:27pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/215 "2019-05-16T14:27:30Z")

</div>

I think you mixed up the versions. The logging you are showing here has been removed in the latest version on GitHub. So you are not running the latest 1.7.0 version. Please redownload and try again.

---

<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 16, 2019, 4:26pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/216 "2019-05-16T16:26:09Z")

</div>

This version:

> **[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.

gives the result:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/588396b7ec627bdc0dad7241450801744cffc153.png)

Is there an other version you would like me to try?

---

<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 16, 2019, 4:40pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/217 "2019-05-16T16:40:22Z")

</div>

> [@Blarp](#):
>
> Is there an other version you would like me to try?

My bad, I pushed the changes to GitHub now. Please re-download.

---

<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 16, 2019, 6:47pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/218 "2019-05-16T18:47:19Z")

</div>

Here we go:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2b9c3ddd0fec147a4a02d5a485e8dbe8a9f6ba06.png)

I think the app crashed?

---

<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 16, 2019, 8:17pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/219 "2019-05-16T20:17:31Z")

</div>

> [@Blarp](#):
>
> I think the app crashed?

Ugggh … it’s so hard to do this when you dont own the device … 😤

I have uploaded a new release. Go at it again.

---

<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 17, 2019, 7:53am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/220 "2019-05-17T07:53:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/c341d457ce24f44a0b7aed49d35de6671f0331d8.png)

I have tried to attach a shellty2.5 but I am stuck at that page ‘test connectie’.  
Does not give a log item…

---

<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 17, 2019, 11:40am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/221 "2019-05-17T11:40:38Z")

</div>

> [@Blarp](#):
>
> Does not give a log item…

I’ll look into it after the weekend.

---

<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 17, 2019, 2:49pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/222 "2019-05-17T14:49:28Z")

</div>

Ok, have a good one!

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

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