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

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

</div>

> [@Eduardo\_Rodriguez](#):
>
> 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.

There is nothing about this product in the API documentation so I would not know how to do this. You could contact Shelly about this and ask them to add it though.

---

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

</div>

> [@Phuturist](#):
>
> 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.

Just got it from the postoffice. I can try tomorrow to sideload the app. First deinstall the appstore app right?  
Maybe I am not the right person to bugtrack, as in qualified, but now I have it I can at least try can’t I.

---

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

</div>

> [@Blarp](#):
>
> First deinstall the appstore app right?

That won’t be necessary, it will overwrite the app store version. Just make sure you install the app store version after it’s been updated to stay in sync with newer releases.

---

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

</div>

Thanks. I managed to command line install the app.  
Tomorrow the fun part.

---

<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:06am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/186 "2019-05-15T08:06:37Z")

</div>

homey version 2.1.2 (non beta)  
shelly app version 1.7.0 (commandline install)

Installed the device, shelly 2.5 (put power on it, connected it to the shelly app, local access only, NOT restricted the access so no password, and updated the firmware, device is in relay mode).  
I can use the device with the shelly app on an android phone.

Homey Shelly App:  
Apparaten, +, shelly, shelly 2.5 relay, installeren, I type the ip adres and push ‘test connectie’.

Nothing happens. No feedback, nothing. I do not get past this page.

If I go to the ipadress in a webbrowser I get the device in relaymode.

Any suggestions?

---

<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, 10:36am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/187 "2019-05-15T10:36:14Z")

</div>

> [@Blarp](#):
>
> Nothing happens. No feedback, nothing. I do not get past this page.
> 
> If I go to the ipadress in a webbrowser I get the device in relaymode.
> 
> Any suggestions?

Did you run it from the command line with `athom app run` when trying to pair and if so, what extra logging was visible there?

Also, did you wait at least 30 seconds after trying to pair, this is the timeout length. It would be interesting to see if it times out.

I’ll double check the pairing code in the meamwhile to see if I missed something.

---

<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, 10:51am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/188 "2019-05-15T10:51:49Z")

</div>

> [@Phuturist](#):
>
> Did you run it from the command line with `athom app run` when trying to pair and if so, what extra logging was visible there?

No. I used the android homey app for that. I will give that a effort

> [@Phuturist](#):
>
> Also, did you wait at least 30 seconds after trying to pair, this is the timeout length. It would be interesting to see if it times out.

There is no 30s timeout message. Just no timeout.

In general: that green ‘Test connectie’ button gives no feedback either when I tap it.

---

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

</div>

athom run app:  
that leaves me with:

─────────────── Logging stdout & stderr ───────────────  
2019-05-15 12:56:47 [log] [ShellyApp] Initializing Shelly App …

but nothings added when I try to add a shelly device in the homey android 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:** [May 15, 2019, 2:26pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/190 "2019-05-15T14:26:37Z")

</div>

I pushed a new version to GitHub that should show more logging. Could you download this version and run 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 15, 2019, 2:52pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/191 "2019-05-15T14:52:24Z")

</div>

> [@Blarp](#):
>
> athom app run

I have not done anything beyond ‘athom app run’

─────────────── Logging stdout & stderr ───────────────  
2019-05-15 16:47:07 [log] [ShellyApp] Initializing Shelly App …  
(node:23893) UnhandledPromiseRejectionWarning: Error: out\_of\_range  
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:23893) 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:23893) [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:23893) UnhandledPromiseRejectionWarning: Error: out\_of\_range  
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:23893) 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)  
(node:23893) UnhandledPromiseRejectionWarning: Error: out\_of\_range  
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:23893) 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: 3)  
(node:23893) UnhandledPromiseRejectionWarning: Error: out\_of\_range  
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:23893) 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: 4)  
(node:23893) UnhandledPromiseRejectionWarning: Error: out\_of\_range  
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:23893) 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: 5)

It then repeats itself over and over

---

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

</div>

trying to install a shelly 2.5 does not make it to the log

---

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

</div>

@Phuturist Maybe this is more convenient:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/ac418fb02139302f0ffd4f961fe9e9c28d3acc39.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, 3:05pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/194 "2019-05-15T15:05:30Z")

</div>

Weird, do you have any other Shelly devices already paired. I’m not even sure this error is related to the Shelly 2.5.

---

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

</div>

Yes, a shelly 2. And it still 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:** [May 15, 2019, 3:09pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/196 "2019-05-15T15:09:25Z")

</div>

Also the power measure in the device card?

---

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

</div>

yep

---

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

</div>

And something else, could you check if the Shelly 2.5 devices have not been added anyway even though there was no confirmation. It could be the devices where actually added.

---

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

</div>

No, the shelly2.5 is not added. (shelly2 was installed several months ago)

---

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

</div>

I’m clueless, not sure how to proceed.

---

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

</div>

I need to know if th is error comes from the new Shelly 2.5 driver. It appears to come from your Shelly 2 device.

Could you run the version 1.6.0 from the command line and let me know if the error is also there.

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

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

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