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

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 9:57am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4861 "2024-01-03T09:57:45Z")

</div>

> [@Phuturist](#):
>
> 1. Pair the Shelly BLU device with the official Shelly app;
> 2. Next, pair your Shelly BLU device with Homey using the Bluetooth device driver. Make sure you have the device close to Homey during pairing;
> 3. When the device discovery process is running send a Bluetooth signal from the device, for instance by pressing a button on the device;

I am trying to include a Shelly BLU Door/WIndow into Homey Pro 2023. Step 1 completed successfully, i.e. the device works properly in the Shelly ecosystem. But I am stuck in-between steps 2 and 3. I am not sure what is meant by “_pairing with Bluetooth device driver_” as instructed in step 2.

I am trying to include the BLU D/W via Add device - Shelly - Any Shelly Bluetooth Device. I have enabled the BLE proxy in the relevant Shelly Plus 1 PM device both in Shelly and in Homey Pro. I follow the instructions, but when scanning for the devices the Homey App just shows an empty screen with an error message. _Cannot read properties of undefined (reading ‘forEach’)_. Short pressing or long pressing the button in the BLU D/W does not help.

 ![IMG_0728](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b72e2f2e153b773dc0e34fb9311d0e911e4161e4.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 3, 2024, 10:30am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4862 "2024-01-03T10:30:14Z")

</div>

Sound like a bug, could you send a diagnostic report from the app settings?

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 10:47am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4863 "2024-01-03T10:47:41Z")

</div>

Sure. Herewith the diagnostic report code: 91b840a0-4b8e-49b7-8e1f-85b853117cbc

---

<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 3, 2024, 11:02am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4864 "2024-01-03T11:02:13Z")

</div>

Appears to be an issue with the Bluetooth stack of Homey. The error is as following:

```auto
Error: Operation already in progress
    at Remote Process
    at HomeyClient.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23)
    at ManagerBLE.discover (/node_modules/@athombv/homey-apps-sdk-v3/manager/ble.js:78:40)
    at ShellyBluetoothDriver.onPairListDevices (/app/drivers/driver_bluetooth.js:14:51)
    at PairSession._triggerEvent (/node_modules/@athombv/homey-apps-sdk-v3/lib/PairSession.js:80:12)
    at ManagerDrivers._onPairSessionEvent (/node_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:190:20)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

```

This suggests Bluetooth discovery is somehow already running. Try rebooting Homey and try again.

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 11:44am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4865 "2024-01-03T11:44:41Z")

</div>

Thanks I will try that. One more question: Should I enable the BLE proxy of the intended Shelly Plus device in Homey before or after the pairing?

If I understand correctly, the instructions in this community page suggest doing it afterwards. The Homey itself however states in the beginning of the pairing that it should be done in advance.

It’s possible that I am confusing something though. There are so many steps and protocols and proxies involved 😊

 ![IMG_0731](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec3e4b6d1d970166141b52858471f84e23f7e782.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 3, 2024, 11:48am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4866 "2024-01-03T11:48:20Z")

</div>

> [@Valtsu](#):
>
> Thanks I will try that. One more question: Should I enable the BLE proxy of the intended Shelly Plus device in Homey before or after the pairing?
> 
> If I understand correctly, the instructions in this community page suggest doing it afterwards. The Homey itself however states in the beginning of the pairing that it should be done in advance.

It doesnt matter but I’ll update the information so that it is coherent.

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 12:08pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4867 "2024-01-03T12:08:46Z")

</div>

Restarting Homey did the trick. Many thanks for the fast responses!

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 12:22pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4868 "2024-01-03T12:22:44Z")

</div>

How fast responses should I expect from the Shelly BLU D/W in Homey Pro? Now that I got it working, the response times seem to be rather slow. The Shelly’s own app shows the closed and open status changes rather quickly, but it takes tens of seconds or even a minute for the event to occur in Homey Pro. Any ideas how to improve the response time? If it cannot be solved, this kinda renders the D/W useless for e.g. controlling lights.

---

<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 3, 2024, 12:34pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4869 "2024-01-03T12:34:43Z")

</div>

> [@Valtsu](#):
>
> The Shelly’s own app shows the closed and open status changes rather quickly, but it takes tens of seconds or even a minute for the event to occur in Homey Pro. Any ideas how to improve the response time? If it cannot be solved, this kinda renders the D/W useless for e.g. controlling lights.

Should be near instant. Sounds to me the outbound websocket on your Plus/Pro device is not configured correctly and the updates depend on polling. Follow the troubleshooting guide from the first post.

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 1:27pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4870 "2024-01-03T13:27:36Z")

</div>

I did all the steps and checked that everything is right at least until the web socket address part of the troubleshooting guide. Still not working.  
The BLE script was not running in my Plus 1 PM, or at least the application showed it disabled and paused. Enabling and starting the script did not solve the issue of long response times.  
The scripting stuff seems a bit cumbersome and a bit too techy for me. I will now try to do everything once more from the scratch.

---

<div class="post-metadata">

**Author:** ![Valtsu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/valtsu/32/70931_2.png) [@Valtsu](https://community.homey.app/u/Valtsu)\
**Post date:** [January 3, 2024, 1:59pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4871 "2024-01-03T13:59:26Z")

</div>

Hmm. This starts to be a bit strange. I started testing the Shelly BLU D/W in the Shelly domain alone, excluding the Homey from the picture. I did a scene in the Shelly app to turn on lights when the contact alarm is activated. Even that does not work with extremely fast responses. Turning on the lights takes some time, say ~5 seconds.

In addition to this, the luminance sensor does not react very fast or at all. With a pitch black room the sun-icon in the app states number 1 - I guess it tries to indicate 1 lux. Turning on 160 wats of LED panels does not change the reported value in the app. Opening the door turns the value to 2.

Maybe I have a faulty device…

---

<div class="post-metadata">

**Author:** ![Yankee\_Delta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yankee_delta/32/83449_2.png) [@Yankee\_Delta](https://community.homey.app/u/Yankee_Delta)\
**Post date:** [January 3, 2024, 2:33pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4872 "2024-01-03T14:33:16Z")

</div>

It did not change a thing 😕

---

<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 3, 2024, 4:36pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4873 "2024-01-03T16:36:39Z")

</div>

> [@Valtsu](#):
>
> I did a scene in the Shelly app to turn on lights when the contact alarm is activated. Even that does not work with extremely fast responses. Turning on the lights takes some time, say ~5 seconds.

It should definitely be faster than +/- 5 seconds. You should contact Allterco Robotics support about this. Sounds like a hardware or firmware issue which is out of my hands.

> [@Yankee\_Delta](#):
>
> It did not change a thing 😕

What Homey and Homey firmware are you using?

---

<div class="post-metadata">

**Author:** ![anon78407409](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon78407409](https://community.homey.app/u/anon78407409)\
**Post date:** [January 4, 2024, 12:00pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4874 "2024-01-04T12:00:30Z")

</div>

My 2PM no longer seems to update power consumption when turned on.  
Before it would update when turning on/off (as well as the main node though…) but now it always says “0W” for both nodes.

A bit too many changes in my setup though, as my 2PM was replaced after 15. December, so i have a different version of the app and a new device.

The main node is now currently not displaying consumption, which seems in line with the change log.

 ![IMG_9377](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/39e471d35f5f5e4fc72b0a724374d61bd09a6ce6.jpeg)

“Kjøkken” has a load of approx 8-10W at this point, but is not shown.  
It used to be updated instantly when turning the relay on earlier.

---

<div class="post-metadata">

**Author:** ![Daniel\_Cruz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_cruz/32/81875_2.png) [@Daniel\_Cruz](https://community.homey.app/u/Daniel_Cruz)\
**Post date:** [January 4, 2024, 1:05pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4875 "2024-01-04T13:05:05Z")

</div>

Hello,

I didn’t find anyone asking for this, so I hope I’m not the only one. 🙂

This issue happens with all my Blinds (Shelly 2.5 or Shelly 2PM), but I will use only one as example.

**OFFICE BLIND** is open, so I think is **UP** to Homey.

 ![imagem](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/af83f573c3259c0d18e79881205a44137a60f3f9.png)

But when I use it in a flow, the state is not right.

As you see in the flow below, if the state is UP, it should toggle the “Blue Line” - **True**

But no, it toggles the “Orange Line” - **False**

For this to work I invert the state, but don’t make sense. Or I’m thinking wrong?

 ![imagem](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/636ccb76ba60d9246b6a7f1b940e95e08c6f15bc.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:** [January 4, 2024, 1:28pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4876 "2024-01-04T13:28:04Z")

</div>

> [@anon78407409](#):
>
> My 2PM no longer seems to update power consumption when turned on.

It was suggested by Athom that I removed consumption on the main node but perhaps this results in not updating at all. Will have to test myself and check with Athom. Which Homey version and Homey firmware version are you using?

> [@Daniel\_Cruz](#):
>
> For this to work I invert the state, but don’t make sense. Or I’m thinking wrong?

Indeed doesn’t sound logical but this is not related to the Shelly app. These flow cards are default cards for the capability. Sounds like a bug in Homey if you ask me which you should report to Athom.

---

<div class="post-metadata">

**Author:** ![anon78407409](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon78407409](https://community.homey.app/u/anon78407409)\
**Post date:** [January 4, 2024, 2:03pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4878 "2024-01-04T14:03:51Z")

</div>

Yeah, not having power sent from main node makes sense, and rather having it sent from each relay.

I’m using Homey Pro 2023 and the latest stable firmware. Auto updates enabled for Apps.

---

<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 5, 2024, 3:03pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4879 "2024-01-05T15:03:44Z")

</div>

> [@Yankee\_Delta](#):
>
> Anny idee whit the power issue?

> [@anon78407409](#):
>
> My 2PM no longer seems to update power consumption when turned on.  
> Before it would update when turning on/off (as well as the main node though…) but now it always says “0W” for both nodes.

I have just added my Shelly Wave 2PM to Homey and tested with a bulb. After toggling the Z-Wave association group 1 from it’s value `1.1` to `1` and back to `1.1` again (as mentioned in the known issues) the power consumption works as expected. I cant comment on the energy consumption as I’m not gonna burn 1kWh but I’m sure that also works fine.

You can try toggling the Z-Wave association group again making sure the device is within range when changing this. Or to be absolutely sure, try to completely remove and re-pair the device and afterwards toggle the Z-Wave association group as described under the known issues.

---

<div class="post-metadata">

**Author:** ![anon78407409](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon78407409](https://community.homey.app/u/anon78407409)\
**Post date:** [January 6, 2024, 7:21am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4880 "2024-01-06T07:21:46Z")

</div>

Oh! I missed that from known issues.  
It works now 👌

---

<div class="post-metadata">

**Author:** ![Yankee\_Delta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yankee_delta/32/83449_2.png) [@Yankee\_Delta](https://community.homey.app/u/Yankee_Delta)\
**Post date:** [January 6, 2024, 11:34am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/4881 "2024-01-06T11:34:51Z")

</div>

hye, i think mine is broken. went back to the store to test it and they were faulty.  
got a new one and worked with the chanel changing.

So it was just a faulty unit. (propably from a power outage)

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

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