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

<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:** [January 18, 2019, 12:49pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/101 "2019-01-18T12:49:40Z")

</div>

Here the screenshots of flow:

![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8930af89a76a3d32c03a1cec657fdca4da166ca8.png) ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/c8e1de3d5c1d8b5a3f359897d0d6da384061cc94.png)

 ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/293b1a58f550f305ed7852bd222b7a14a8c50ba7.jpeg) ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5d4a1f44ec9755050e6b8a2a14f6eeffa50a81fa.jpeg)

---

<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:** [January 18, 2019, 3:26pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/102 "2019-01-18T15:26:29Z")

</div>

Ok, nothing strange in those screenshots. I have pushed another debug release to Github and made a small change in the duration argument. Could you try again?

> **[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:** [January 19, 2019, 12:10am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/103 "2019-01-19T00:10:07Z")

</div>

@Phuturist, i tried the last update and exactly the same log:

“changing roller shutter with duration: undefined” in the firs line.

I re-ad the shelly 2 after update.

---

<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:** [January 19, 2019, 7:09am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/104 "2019-01-19T07:09:50Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> i tried the last update and exactly the same log

I’m out of ideas here. I think I’ll remove the action card for users on firmware 2.x or maybe even do support for firmware 2.x altogether. Perhaps if I ever update to firmware 2.x myself I’ll look into it further.

Later this morning I’ll create a version to see if the problem with the invalid capability for setting blinds to a specific percentage still appears on firmware 2.x.

---

<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:** [January 19, 2019, 8:44am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/105 "2019-01-19T08:44:40Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> “changing roller shutter with duration: undefined” in the firs line.
> 
> I re-ad the shelly 2 after update.

One last try. Could you try the latest Github version and:

- first try the move blinds for x seconds action card
- try to re-pair your Shelly 2 and watch both the browser console and command line

---

<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:** [January 19, 2019, 11:08am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/106 "2019-01-19T11:08:33Z")

</div>

> [@Phuturist](#):
>
> first try the move blinds for x seconds action card

Don’t work, they open/close to 100% - 0%.

In log get this in loop:

(node:26018) UnhandledPromiseRejectionWarning: Error: invalid\_capability  
at Object.JSON.parse (/opt/homey-client/system/helpers/jsonfns.js:1:1190)  
at JSON.parse ()  
at jsonToObject (/opt/homey-client/system/helpers/jsonfns.js:1:1083)  
at function.e.data.map.e (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1379)  
at Array.map ()  
at HomeyClient.\_onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1372)  
at emitTwo (events.js:126:13)  
at process.emit (events.js:214:7)  
at emit (internal/child\_process.js:762:12)  
at \_combinedTickCallback (internal/process/next\_tick.js:142:11)  
(node:26018) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)  
(node:26018) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.  
(node:26018) UnhandledPromiseRejectionWarning: Error: invalid\_capability  
at Object.JSON.parse (/opt/homey-client/system/helpers/jsonfns.js:1:1190)  
at JSON.parse ()  
at jsonToObject (/opt/homey-client/system/helpers/jsonfns.js:1:1083)  
at function.e.data.map.e (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1379)  
at Array.map ()  
at HomeyClient.\_onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1372)  
at emitTwo (events.js:126:13)  
at process.emit (events.js:214:7)  
at emit (internal/child\_process.js:762:12)  
at \_combinedTickCallback (internal/process/next\_tick.js:142:11)  
(node:26018) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

> [@Phuturist](#):
>
> try to re-pair your Shelly 2 and watch both the browser console and command line

Re-paired and a new option:

 ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/665ddd5bc850efe924a3814abfa67b8a785914be.jpeg)

and… work!!! this scroll bar open/close the blinds in percentage!!

I can’t use the browser with homey (or I do not know how to do it), can only use the sh!ty android app.

Edit:

See new action card "set the position to!:

 ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/86c65c5b0c7588cb4e603b60087f9b1c272d376f.png)

Also works!!!

---

<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:** [January 19, 2019, 12:02pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/107 "2019-01-19T12:02:46Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> Re-paired and a new option:

Ok, at least the new action card with setting the percentage now works. Just to make sure, setting the blinds using duration still does not work and open/closes to 0/100%?

---

<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:** [January 19, 2019, 12:17pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/108 "2019-01-19T12:17:42Z")

</div>

> [@Phuturist](#):
>
> Ok, at least the new action card with setting the percentage now works. Just to make sure, setting the blinds using duration still does not work and open/closes to 0/100%?

the card of duration in seconds still does not work, opens or closes 100/0%

---

<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:** [January 21, 2019, 11:43am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/109 "2019-01-21T11:43:20Z")

</div>

> ## v1.4.2- 2019-01-19
> 
> NEW: add capability windowcoverings\_set for Shelly 2 rollershutter. This requires you to re-pair your Shelly 2 Roller Shutter device!

There seems to be an issue with the change blinds for a set duration action card for users on firmware 2.x. Since nothing changed in the Shelly app I’m blaiming Homey firmware 2.x for this. I have been unable to find a fix, so for now this card may not work if you are on firmware 2.x. In the future this card might be replaced by the action card which is now added (change blinds to a set percentage) but I would appreciate it if more users could give me feedback on the functionalty of the change blinds for duration action card for the Shelly2 Roller Shutter device.

---

<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:** [January 21, 2019, 11:49pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/110 "2019-01-21T23:49:13Z")

</div>

I think that a time card is not necesary if the porcentage card works perfect!

Thanks for your work and 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:** [February 7, 2019, 11:26am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/111 "2019-02-07T11:26:13Z")

</div>

Hello @Phuturist  
I have seen that the progress bar is not updated with the correct position of the blind. How can I correct this?

 ![shelly](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6b61c13ff34c6454ba2d15f5ab77c0fd3ce3f96b.jpeg) ![homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/236198a2c2d225367622cd9067f367a7ec41fd10.png)

So I can’t know the position of the blinds, and I have to use the shelly app.

---

<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:** [February 7, 2019, 1:36pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/112 "2019-02-07T13:36:54Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> I have seen that the progress bar is not updated with the correct position of the blind. How can I correct this?

What is not updated, the Shelly app or the device in Homey? And what do you do when it’s not updated. And is this all of the time or just sometimes?

---

<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:** [February 7, 2019, 1:42pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/113 "2019-02-07T13:42:39Z")

</div>

The device in homey, and always. When open homey all the blinds report 0%.

---

<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:** [February 7, 2019, 2:19pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/114 "2019-02-07T14:19:22Z")

</div>

Ok. Any idea what has changed? I believe you tested this before and it worked back then. I’ll look into it but you might need to do some more testing through CLI.

---

<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:** [February 7, 2019, 3:36pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/115 "2019-02-07T15:36:17Z")

</div>

I think that nothing changes. When i installed the new version of the app i tested the scroll bar and worked, and work. The problem is when i quit the homey app the scroll bar goes to 0%.

---

<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:** [February 7, 2019, 3:47pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/116 "2019-02-07T15:47:30Z")

</div>

When you leave the Homey app open for a while (double the length of the polling frequency) and then check the scrollbar. Is it then still set to 0% or has it been updated to the correct percentage?

[EDIT]  
Nevermind, I think I found it. I’ll update the app soon.

---

<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:** [February 7, 2019, 11:58pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/117 "2019-02-07T23:58:08Z")

</div>

> [@Phuturist](#):
>
> When you leave the Homey app open for a while (double the length of the polling frequency) and then check the scrollbar. Is it then still set to 0% or has it been updated to the correct percentage?
> 
> [EDIT]  
> Nevermind, I think I found it. I’ll update the app soon.

I don’t know if I’m late but I’ve done some tests and I’ve come to this conclusion:

The scroll bar only works if only use the scroll bar. At the moment I use another button it stops working and shows 0% (physical button, up&down button in homey or shelly app or flow)

---

<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:** [February 9, 2019, 11:22pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/118 "2019-02-09T23:22:20Z")

</div>

@Phuturist

I install version 1.5 from your repository. Now the scroll bar is working.

again thank you for all your effort and work

---

<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:** [February 11, 2019, 11:53am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/119 "2019-02-11T11:53:45Z")

</div>

> ## v1.5.0- 2019-02-07
> 
> - FIX: improvements to pairing templates for firmware 2.x
> - FIX: fix percentage for windowcoverings\_set capability for rollershutter
> - FIX: code refactoring in drivers (replace callbacks with promises)

---

<div class="post-metadata">

**Author:** ![djesko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/djesko/32/7611_2.png) [@djesko](https://community.homey.app/u/djesko)\
**Post date:** [February 15, 2019, 5:17pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/120 "2019-02-15T17:17:28Z")

</div>

Hi @Phuturist

Any plans to add the rgbw2 unit ?

Did get it today and can help/test if needed.

Niklas

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

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