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

<div class="post-metadata">

**Author:** ![Ulrich\_Krumpholz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ulrich_krumpholz/32/114293_2.png) [@Ulrich\_Krumpholz](https://community.homey.app/u/Ulrich_Krumpholz)\
**Post date:** [October 15, 2024, 7:38pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5783 "2024-10-15T19:38:29Z")

</div>

Hello Phuturist,  
today I have checked my BLU Motion Sensor. First I made a factory reset of the BLU Motion and the 1 PM Gen3. Then I added both to the shelly app. Then I pared first the 1PM with the homey. I started the script with the maintenance option. Then I checked the script, the web socked an Bluetooth gateway with the shelly app. All is running fine.  
After that I pared the BLU Motion sensor to the homey. While paring the sensor was beside the homey. Motion detection was reported to the shelly app and the homey. Then I measured the RSSI with homey at 5 locations. At the farerest distance to homey outside the house but very close to the bluetooth gateway of the 1PM I got -84 to -93. Motion was detected by the shelly app and the homey. If I take the BLU motion to its planed position that has about 4 m more distance in homey no motion is detected. The shelly app detected motion. At the position direct close to the 1PM gateway I measured RSSI -70 to -81. I think this is a too bad RSSI for the nearest position to the gateway. Then I switched off bluetooth off the gateway and switched off the gateway functionality. I restarted the 1 PM. Then I measured the RSSI and I got a range between -71 to -80. That is the same rage as the gateway was on. I think the homey only uses his own bluetooth connection to the BLU motion. I need the function of the 1 PM blutooth gateway to extend the range of the Bluetooth to the planed position of the BLU motion at the door to the garden. What is wrong? What can I check for you that we can find the failure. Is it possible to debug in homey where the source of the motion detection comes from? homey Bluetooth or from the gateway? Thanks for your help.  
Best regards  
Ulrich

---

<div class="post-metadata">

**Author:** ![Stefan\_Beck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_beck/32/80078_2.png) [@Stefan\_Beck](https://community.homey.app/u/Stefan_Beck)\
**Post date:** [October 15, 2024, 5:54am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5785 "2024-10-15T05:54:58Z")

</div>

Good morning everyone, I’m usually on the German forum, but you can’t help me here anymore. That’s why I’m here in the big forum and would describe my problem.

I have 2 Shelly BLU motion sensors and 2 BLU door/window sensors in the hallway. I also have a Shelly1 plus Gen2 and 1 Mini Gen3 directly 5 meters away. everything has the latest firmware installed. I have the Homey 2023. In the Shelly APP, all sensors detect opening/closing or movement with precise seconds. The ddor window sensors also work in the homey app. However, the motion sensors do not transmit the movement correctly. Often there is movement in homey 5 hours even though the movement has not taken place for 4 hours 59 minutes. What I have done so far is activated and started the scripts. I’ll add a few pictures of what I’ve done, I’ve reinstalled all the sensors, re-added Homey, etc. I’ve been dealing with the problem for a week now and can’t get any further. That’s why I’m asking for help here so as not to completely despair. I’m also happy to pay money/Paypal if you can help me here!

So again a short summary:

- all updates installed
- in homey in the advanced settings BLU scripting is on
- shelly has activated the door/window and blu motion script
- Gateway is 5 meters away on the ceiling and has access to all devices.  
how do I proceed?  
 ![IMG_5359](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/4/b4c6da739c0d9648c1201514706d4b361e58a7a2.jpeg)  
 ![IMG_5360](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e225e388b17d297a7f263ccfd88c368bae3309ec.png)  
 ![IMG_5363](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/5411663f4c8d3214a335dd61e62b2df1e8376843.jpeg)  
 ![IMG_5362](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2db31f0f8eed7425d04fea08ad5544dcc564885f.jpeg)  
 ![IMG_5361](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/861d756eacb1e106364da778a24b5c8ca16d66ce.jpeg)

---

<div class="post-metadata">

**Author:** ![Stefan\_Beck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_beck/32/80078_2.png) [@Stefan\_Beck](https://community.homey.app/u/Stefan_Beck)\
**Post date:** [October 15, 2024, 6:54am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5786 "2024-10-15T06:54:05Z")

</div>

Addendum, I don’t suspect that it’s Shelly’s fault, I think the problem is the transfer from Shelly to Homey or the reception of the data/values ​​by Homey. How can I troubleshoot this and move on?

---

<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:** [October 16, 2024, 5:13am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5788 "2024-10-16T05:13:46Z")

</div>

> [@Ulrich\_Krumpholz](#):
>
> What can I check for you that we can find the failure. Is it possible to debug in homey where the source of the motion detection comes from?

In the first post are instructions on how to debug the BLE proxy script. You should be able to see the motion events being registered. If that is ok, you should double check the outbound websocket setting of the plus/pro 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:** [October 16, 2024, 5:17am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5789 "2024-10-16T05:17:42Z")

</div>

> [@Stefan\_Beck](#):
>
> Addendum, I don’t suspect that it’s Shelly’s fault, I think the problem is the transfer from Shelly to Homey or the reception of the data/values ​​by Homey. How can I troubleshoot this and move on

Let me first check myself today as you are the second one to report this issue. Perhaps there is a bug somewhere. Other then that the same advice as my post above is in place. Debug the script and the outbound websocket connection.

---

<div class="post-metadata">

**Author:** ![Stefan\_Beck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_beck/32/80078_2.png) [@Stefan\_Beck](https://community.homey.app/u/Stefan_Beck)\
**Post date:** [October 16, 2024, 7:21am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5790 "2024-10-16T07:21:21Z")

</div>

> [@Phuturist](#):
>
> Let me first check myself today as you are the second one to report this issue. Perhaps there is a bug somewhere. Other then that the same advice as my post above is in place. Debug the script and the outbound websocket connection.

@Phuturist  
Thanks! I’ll wait and you’ll get in touch? When it comes to debugging the script and the websocket connection I need your help on how to do it and what exactly should I do… best regards

---

<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:** [October 16, 2024, 8:50am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5791 "2024-10-16T08:50:20Z")

</div>

@Ulrich_Krumpholz @Stefan_Beck I double checked the functionality of Shelly BLU devices together with a Plus/Pro devices acting as BLE Proxy. Nothing wrong with it from an app perspective. I have improved the troubleshoot guide under step 5 in the first post to help you identify your issue.

---

<div class="post-metadata">

**Author:** ![Ulrich\_Krumpholz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ulrich_krumpholz/32/114293_2.png) [@Ulrich\_Krumpholz](https://community.homey.app/u/Ulrich_Krumpholz)\
**Post date:** [October 16, 2024, 11:30am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5792 "2024-10-16T11:30:34Z")

</div>

Thanks for your help. I switched on the web socked debug. I added the new line in the script. Then I restart the device. If I go to the shelly app I get the following failure

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/9/e9808a7bbd753abfa2a79d2c616618139cede378.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:** [October 16, 2024, 12:16pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5793 "2024-10-16T12:16:40Z")

</div>

That means there is an issue with the outbound websocket between the Plus/Pro and Homey. Follow the troubleshooting steps.

---

<div class="post-metadata">

**Author:** ![Ulrich\_Krumpholz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ulrich_krumpholz/32/114293_2.png) [@Ulrich\_Krumpholz](https://community.homey.app/u/Ulrich_Krumpholz)\
**Post date:** [October 16, 2024, 1:47pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5794 "2024-10-16T13:47:26Z")

</div>

I have checked with 3 and 5 trouble shooting. I send you my screen shots so you can check if you see something wrong.

 ![Bad Steckdose](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/1304496e4007e03a1301d25b1b1b9c9db53c2cee.jpeg)  
 ![Bad Steckdose](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/a/aa767178c934c9a62f36a697da86092e46d98849.jpeg)  
 ![F2CA8D23-694D-4977-BA0D-8490FCFA225F](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3fb5fbf0b2717c9534ef2524ed2f97d595aa3415.jpeg)  
 ![Bad Steckdose](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/4/6471ecb78c0041221c30360d73d41c80bf834947.jpeg)  
 ![Hostname](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/4861e88e6d232ba1c9af86d930c5cb27a936c8eb.jpeg)

I can’t send you a screen shot of the BLU motion device, because I am not at the installation place. At the moment I only can check remote. I have VPN access to the site.  
The firmware of the BLU motion ist up to date. Ich have updated it some days before and checked it with the app yesterday.

Thank’s for your help.

A screenshot of the web interface. I think there is an hint in it about the issue:

Connected.15:49:00

shelly\_debug.cpp:236 Streaming logs to 192.168.178.201:5533215:49:00

shos\_rpc\_inst.c:242 script.getcode via WS\_in 192.168.178.201:5533115:49:00

shos\_rpc\_inst.c:242 script.getcode via WS\_in 192.168.178.201:5533115:49:00

shos\_rpc\_inst.c:242 script.getcode via WS\_in 192.168.178.201:5533115:49:01

shos\_rpc\_inst.c:242 script.getcode via WS\_in 192.168.178.201:5533115:49:01

shos\_rpc\_inst.c:242 script.getcode via WS\_in 192.168.178.201:5533115:49:01

shos\_rpc\_inst.c:242 Shelly.GetStatus via HTTP\_in GET 192.168.178.37:5646615:49:10

{ “encryption”: false, “bthome\_version”: 2, “pid”: 167, “measure\_battery”: 100, 15:49:27

“measure\_luminance”: 0, “alarm\_motion”: 0, 15:49:27

“model”: “SBMO-003Z”, 15:49:27

“addr”: “0c:ae:5f:5b:41:2e”, 15:49:27

“rssi”: -72 }15:49:27

shelly\_notification:208 Event from script:1: {“component”:“script:1”,“id”:1,“event”:“NotifyBluetoothStatus”,“data”:{“encryption”:false,“bthome\_version”:2,“pid”:167,“measure\_battery”:100,“measure\_luminance”:0,“alarm\_motion”:0,“model”:“SBMO-003Z”,“addr”:“0c:ae:5f:5b:41:2e”,“rssi”:-72},“ts”:1729086567.77}15:49:27

{ “encryption”: false, “bthome\_version”: 2, “pid”: 168, “measure\_battery”: 100, 15:49:28

“measure\_luminance”: 0, “alarm\_motion”: 1, 15:49:28

“model”: “SBMO-003Z”, 15:49:28

“addr”: “0c:ae:5f:5b:41:2e”, 15:49:28

“rssi”: -68 }15:49:28

shelly\_notification:208 Event from script:1: {“component”:“script:1”,“id”:1,“event”:“NotifyBluetoothStatus”,“data”:{“encryption”:false,“bthome\_version”:2,“pid”:168,“measure\_battery”:100,“measure\_luminance”:0,“alarm\_motion”:1,“model”:“SBMO-003Z”,“addr”:“0c:ae:5f:5b:41:2e”,“rssi”:-68},“ts”:1729086568.97}15:49:29

shelly\_notification:162 Status change of switch:0: {“id”:0,“aenergy”:{“by\_minute”:[0.000,0.000,0.000],“minute\_ts”:1729086600,“total”:4.423},“ret\_aenergy”:{“by\_minute”:[0.000,0.000,0.000],“minute\_ts”:1729086600,“total”:0.000}}

---

<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:** [October 16, 2024, 2:05pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5795 "2024-10-16T14:05:36Z")

</div>

All looks good to me. Homey did not show status updates for notifications with PID 167 and 168?

Is Homey connected both through ethernet and WiFi? I have seen issues with this before.

---

<div class="post-metadata">

**Author:** ![Ciprian\_Moldoveanu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ciprian_moldoveanu/32/81900_2.png) [@Ciprian\_Moldoveanu](https://community.homey.app/u/Ciprian_Moldoveanu)\
**Post date:** [October 16, 2024, 2:24pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5796 "2024-10-16T14:24:54Z")

</div>

I wrote to Athom Support the text bellow and they redirected me here:

"I use for 4 years Homey Pro + Shelly for 4 houses with 6 Homey’s.  
A couple of months ago the behavior started to change for all the Shelly RGBW2 LED’s in the following way:

When you use ONLY the CARDS from Homey and ONLY FOR LED RGBW (dimmers and switches not) the behavior is:  
Card Off - also dimms both channels (RGB & W)  
Card Light On - ONLY White channel dimms to 100%

If you turn device On/Off in shelly mobile/web app, the Homey app or from the physical switch it keeps the same state (color, dim, etc) as expected.

So the Shelly app does its job as expected, the problem is the different behavior only for the Light Cards (all and individual light but only for RGBW2 model in my case)

Tried beta and normal app for many months. Reinstalling everything also. Delete app, delete Shelly devices, restore to factory defaults and reinstall. It’s just the behavior of the LIGHT CARD and only for RGBW (2 channel) leds.

Can you please investigate?"

---

<div class="post-metadata">

**Author:** ![Ciprian\_Moldoveanu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ciprian_moldoveanu/32/81900_2.png) [@Ciprian\_Moldoveanu](https://community.homey.app/u/Ciprian_Moldoveanu)\
**Post date:** [October 16, 2024, 2:27pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5797 "2024-10-16T14:27:14Z")

</div>

The answer from Athom Support is to get help here:

Hi Ciprian,

Thank you for contacting support.

I’m so sorry to hear that you are experiencing this issues.

Unfortunately this app isn’t an app which we have developed. That’s why we can’t see any data from this app. I would advise you to contact the developer of the app. You can reach him via this link: [Shelly App for Homey | Homey](https://homey.app/en-us/app/cloud.shelly/Shelly/)

For now this is all I can do for you, which is why I’m closing your ticket.

I wish you a great day and a lot of fun with Homey!  
Best Regards,  
Daphne  
Athom Support

---

<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:** [October 16, 2024, 2:27pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5798 "2024-10-16T14:27:35Z")

</div>

Has already been investigated and it’s probably an issue with Homey. See my explanation [here](https://community.homey.app/t/app-pro-cloud-shelly/765/5716).

---

<div class="post-metadata">

**Author:** ![Ulrich\_Krumpholz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ulrich_krumpholz/32/114293_2.png) [@Ulrich\_Krumpholz](https://community.homey.app/u/Ulrich_Krumpholz)\
**Post date:** [October 16, 2024, 3:02pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5799 "2024-10-16T15:02:29Z")

</div>

Thank’ for the checking my configuration. Homey is only connected directly to ethernet not to wlan.  
The screenshots of the BLU motion from the shelly app:

 ![A6334D18-50F5-44B9-A83B-280D92521820](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1aae4b52b6e7e5606a40274d2380647bf13a471f.jpeg)  
 ![605EC8CC-C087-4E1D-9ADF-B946ABCC54D4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d9b638ba1cf45185905915922665abf8aeb6152f.jpeg)

The snapshot from the homey app. No update since a day.

 ![Garten Bewegung](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e2a25d562942b3f3a136def3e85f696f3fa7722.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:** [October 16, 2024, 3:06pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5800 "2024-10-16T15:06:58Z")

</div>

What I see in the BLE Proxy script is status updates from a motion sensor with address `0c:ae:5f:5b:41:2e` while the screenshot shows a motionsensor with a different address. Do you have multiple sensor and if so, do those sensors work fine with Homey?

---

<div class="post-metadata">

**Author:** ![Ulrich\_Krumpholz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ulrich_krumpholz/32/114293_2.png) [@Ulrich\_Krumpholz](https://community.homey.app/u/Ulrich_Krumpholz)\
**Post date:** [October 16, 2024, 3:08pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5801 "2024-10-16T15:08:00Z")

</div>

It is only one sensor connected. Yes I see the different Macaddress. I think this address is unique for each device. How ist that possible?

---

<div class="post-metadata">

**Author:** ![Stefan\_Beck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_beck/32/80078_2.png) [@Stefan\_Beck](https://community.homey.app/u/Stefan_Beck)\
**Post date:** [October 16, 2024, 3:49pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5802 "2024-10-16T15:49:31Z")

</div>

Here you can see my current problem! What should I do to find the error? cloed in shelly, opend in homey since 10 hours…

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/17d45b0ca40ca0ecd4d00b7bf135afedd92f05d7.png)  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a19299e6aae7c9618acbed0a80fe8851227ebbea.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:** [October 16, 2024, 3:50pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5803 "2024-10-16T15:50:27Z")

</div>

> [@Stefan\_Beck](#):
>
> What should I do to find the error?

Follow the instructions in the first post.

If those values in the screenshot are indeed coming from the Shelly Cloud and you are sending them with the same Plus/Pro device to the Shelly cloud you did not read the instructions properly.

---

<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:** [October 16, 2024, 4:04pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5804 "2024-10-16T16:04:09Z")

</div>

> [@Ulrich\_Krumpholz](#):
>
> Yes I see the different Macaddress. I think this address is unique for each device. How ist that possible?

I dont know why that is happening but it could be the reason why Homey doesnt update the status. Perhaps do a full reset of the BLU Motion with the Shelly BLE Debug app and re-pair it with Homey afterwards.

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

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