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

<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:** [December 18, 2018, 1:36pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/41 "2018-12-18T13:36:15Z")

</div>

> ## v1.4.1- 2018-12-17
> 
> FIX: fix flow card issues for Shelly 4 Pro

---

<div class="post-metadata">

**Author:** ![Agent848](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/agent848/32/10677_2.png) [@Agent848](https://community.homey.app/u/Agent848)\
**Post date:** [December 20, 2018, 11:39am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/42 "2018-12-20T11:39:21Z")

</div>

Hello. I have problem. After update Homey 2.0 RC7 not work my 4pcs shelly 1. RC4 no problem…  
Last version 1.4.1  
Device is unavailable.  
Diagnostic report…  
6fd80c36-5937-44dd-a274-c8848ffd0e90

---

<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:** [December 20, 2018, 11:57am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/43 "2018-12-20T11:57:06Z")

</div>

> [@Agent848](#):
>
> Diagnostic report

The crash report suggests your device is unreachable which would indicate network issues between Homey and your Shelly devices (it should have handled this exception better but it would indicate it’s not an issue with my app but with your network).

Can you reach the Shelly devices through the Shelly app? And have you tried restarting the Shelly app on Homey?

---

<div class="post-metadata">

**Author:** ![Agent848](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/agent848/32/10677_2.png) [@Agent848](https://community.homey.app/u/Agent848)\
**Post date:** [December 20, 2018, 12:21pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/44 "2018-12-20T12:21:15Z")

</div>

Yes the original shelly app is working without problems. My wifi is okay. Wifi router 1x restarted. Application Shelly 1x restarted. 2 times I restarted Home. Still the same problem.

---

<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:** [December 20, 2018, 2:08pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/45 "2018-12-20T14:08:43Z")

</div>

> [@Agent848](#):
>
> Still the same problem.

Then I do not know. The crash report says that your Shelly is unreachable.

> UnhandledPromiseRejectionWarning: FetchError: request to [http://192.168.31.239/relay/0?turn=off](http://192.168.31.239/relay/0?turn=off) failed, reason: connect EHOSTUNREACH [192.168.31.239:80](http://192.168.31.239/) at ClientRequest.\<anonymous\> (/node\_modules/node-fetch/lib/index.js:1345:11)

I’m not on firmware 2.x so I can’t confirm myself if this is a generic issue or an issue only for you.

---

<div class="post-metadata">

**Author:** ![Agent848](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/agent848/32/10677_2.png) [@Agent848](https://community.homey.app/u/Agent848)\
**Post date:** [December 20, 2018, 6:43pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/46 "2018-12-20T18:43:46Z")

</div>

So the problem is with me. I had a power failure at home yesterday. I did not know about it. Shelly devices have changed their ip address. I did not have a solid ip. I set Restrict login. The next time the IP argument will not be changed. Excuse me for mistakes.

---

<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:** [December 21, 2018, 11:25am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/47 "2018-12-21T11:25:42Z")

</div>

Set a static IP for all domotic devices in your router.

---

<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:** [December 27, 2018, 10:23pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/48 "2018-12-27T22:23:31Z")

</div>

Somebody test if shelly plug S works?

@Phuturist

The shelly 2 receibe a firmware update, now after a calibration the shelly 2 can open/close in a percentage. In future updates of the app I think that it’s a good idea to add the percentage in the flow cards.

 ![shelly](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/53d32c046254068219ee660fc8fe71c3c4182abf.jpeg)  
 ![shelly](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/ef5ec63c271fa519cc483e2b0bf0014c38ec3452.png)

it’s the same as opening for time, but it’s more “professional” 🙂

---

<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:** [December 28, 2018, 2:14pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/49 "2018-12-28T14:14:14Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> The shelly 2 receibe a firmware update, now after a calibration the shelly 2 can open/close in a percentage. In future updates of the app I think that it’s a good idea to add the percentage in the flow cards.

Thanx, I’ll have a look at it some time soon.

---

<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:** [December 28, 2018, 5:51pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/50 "2018-12-28T17:51:07Z")

</div>

@Eduardo_Rodriguez do you know how to do a [CLI install](https://community.homey.app/t/how-to-cli-install-method/198)? I have uploaded a [new release](https://github.com/jghaanstra/cloud.shelly) to Github which adds partial support for setting the blinds to a specific percentage. It’s partial as according to the API docs from Shelly it’s not possible to actually retrieve the current percentage the blinds are in. This means Homey can get out of sync if you manual control the blinds or use the Shelly app to control the blinds as well. I’ll ask Shelly if they plan to add this as well.

But for now I’d like to know if the release on Github works for at least setting the blinds to a specific percentage.

---

<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:** [December 28, 2018, 6:55pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/51 "2018-12-28T18:55:36Z")

</div>

@Phuturist

I update the app and the flow cards is the same as the previous version, “set state” and “change roller shutter” (in seconds).

I delete one of the roller shutter in devices, and now i can’t add it again.

---

<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:** [December 28, 2018, 7:03pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/52 "2018-12-28T19:03:27Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> I delete one of the roller shutter in devices, and now i can’t add it again.

The new capabilities should become available after re-adding it. What does the console say when you try to re-add your device (use `athom app run` command).

---

<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:** [December 28, 2018, 7:07pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/53 "2018-12-28T19:07:43Z")

</div>

The console says nothing @Phuturist!

 ![shelly2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/40193fe9ab7ffb537262c9c4912becd05e17d934.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:** [December 28, 2018, 7:09pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/54 "2018-12-28T19:09:42Z")

</div>

Hmmm, what is the error during pairing?

---

<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:** [December 28, 2018, 7:11pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/55 "2018-12-28T19:11:15Z")

</div>

No error, I select the type of device, put IP and user/pass and no device is added.

---

<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:** [December 28, 2018, 9:13pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/56 "2018-12-28T21:13:25Z")

</div>

You are on firmware 2.x? On firmware 1.x it should at least give some info when testing the connection.

---

<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:** [December 28, 2018, 9:16pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/57 "2018-12-28T21:16:13Z")

</div>

I’m on 1.5.13. No info and no error. Return to version 1.4.2 of your app and add the device correctly.

---

<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:** [December 28, 2018, 9:52pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/58 "2018-12-28T21:52:09Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> I’m on 1.5.13. No info and no error. Return to version 1.4.2 of your app and add the device correctly.

Ok, I’ll look at it tomorrow. Really don’t know what is wrong, I haven’t changed that much.

---

<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:** [December 29, 2018, 8:06am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/59 "2018-12-29T08:06:18Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> I’m on 1.5.13. No info and no error. Return to version 1.4.2 of your app and add the device correctly.

I have checked the code. I cant explain this behaviour. I have uploaded a new version on Github (master) which adds extra logging and also implements synchronisation between the device and Homey. I have been in touch with the company behind Shelly and they gave me extra information that has not been added to the API documentation just yet.

Could you try this version with `athom run app` and let me know what the command line logging tells you but also what the browser console tells you (in chrome you can access this by F12 and tab console) when pairing the 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:** [December 29, 2018, 10:56am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/60 "2018-12-29T10:56:46Z")

</div>

> [@Phuturist](#):
>
> I have checked the code. I cant explain this behaviour. I have uploaded a new version on Github (master) which adds extra logging and also implements synchronisation between the device and Homey. I have been in touch with the company behind Shelly and they gave me extra information that has not been added to the API documentation just yet.
> 
> Could you try this version with `athom run app` and let me know what the command line logging tells you but also what the browser console tells you (in chrome you can access this by F12 and tab console) when pairing the device.

I install new version.

I can´t add the shelly 2. This is the log in “athom run app”:

2018-12-29 11:50:38 [log] [ManagerDrivers] [shelly2-rollershutter] [1] TypeError: Cannot read property ‘0’ of undefined  
at util.sendCommand.then.result (/drivers/shelly2-rollershutter/device.js:57:39)  
at   
at process.\_tickCallback (internal/process/next\_tick.js:189:7)  
2018-12-29 11:50:38 [log] [ManagerDrivers] [shelly2-rollershutter] [0] TypeError: Cannot read property ‘0’ of undefined  
at util.sendCommand.then.result (/drivers/shelly2-rollershutter/device.js:57:39)  
at   
at process.\_tickCallback (internal/process/next\_tick.js:189:7)  
{ type: ‘SHSW-21’,  
mac: ‘827D3A5B270D’,  
auth: false,  
fw: ‘20181228-125308/v1.4.3@083c8385’,  
num\_outputs: 2,  
num\_meters: 1,  
num\_rollers: 1 }

If open homey in browser, in console nothing happens when add the device.

when you talk about the synchronization is it because homey knows what percentage are the blinds open now?

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

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