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

<div class="post-metadata">

**Author:** ![Florian\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/florian_k/32/115029_2.png) [@Florian\_K](https://community.homey.app/u/Florian_K)\
**Post date:** [October 16, 2024, 6:42pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5805 "2024-10-16T18:42:26Z")

</div>

Hey 🙂 any News yet?

---

<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:13pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5806 "2024-10-16T19:13:01Z")

</div>

Now i´m here:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/8825b6b77bd491d040e4284b223ea0fe6e12712a.png)

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/6310d0e873a67e650d35798827b85732a32b67e4.png)  
where can i see what shelly is sending to homey?thanks!

---

<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:00pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5807 "2024-10-16T20:00:52Z")

</div>

> [@Florian\_K](#):
>
> Hey 🙂 any News yet?

🔜

> [@Stefan\_Beck](#):
>
> where can i see what shelly is sending to homey

If you followed the instructions correctly the console below the script shows the output.

---

<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, 9:00pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5808 "2024-10-16T21:00:17Z")

</div>

Hello,  
Sorry that I can’t give you the needed report in a short time.  
At the moment I only have remote access to the location. If I am at the location I will reset the BLU Motion first with the shelly app that it disappear out of the app. Then I will reset the BLU to factory with the special BLE Debug app. The I will repair it with the shelly app an then repair it with the homey.  
Then I reboot the homey and crate a motion event after 2 minutes. After 5 minutes I will trigger and send the diagnostic report.

I don’t forget you. I have to drive to the house an make the tests at the site. I think that next week I can do this.  
As a compromise, I only can trigger remote a new start of the homey without an event and send you the report after 5 minutes.

I hope we can find where the issue is. Very great thank’s for your help.

With best regards  
Ulrich

---

<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 17, 2024, 7:55am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5809 "2024-10-17T07:55:44Z")

</div>

Makes it sense to switch on the bacon mode off the BLU motion?  
If I do this, I think that it sends in fixed time slots a status update to homey. So for my opinion it send data independent from a motion trigger event.

---

<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 17, 2024, 8:53am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5810 "2024-10-17T08:53:18Z")

</div>

No, the debug if the script already shows that the sensor sends reports and that the proxy script is sending them to Homey. My guess is that Homey can’t match them with the correct device because of the difference in mac address. It will be the same for beacon advertisements.

---

<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 17, 2024, 11:25am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5811 "2024-10-17T11:25:23Z")

</div>

@Ciprian_Moldoveanu @DidierVU I asked Athom about the behaviour of their lights off action card. I got a response that its the intended behaviour that this action cards switches off all onoff capabilities including the onoff subcapability (in this case the onoff.whitemode).

---

<div class="post-metadata">

**Author:** ![DidierVU](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didiervu/32/12458_2.png) [@DidierVU](https://community.homey.app/u/DidierVU)\
**Post date:** [October 17, 2024, 12:57pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5812 "2024-10-17T12:57:15Z")

</div>

Makes sense, but what doesn’t make sense is that the sliders also go to 0% after switching to off.

---

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

</div>

The onoff.whitemode sets the white channel to 0% when switched of and 100% when switched and always sets the RGB channel to 0% (else it would not be a white mode). So when this is triggered by the light off flowcard it will set both to 0%. When triggered by the light on card it will only set the white channel to 100%.

Feel free to submit a request on Github to swap the onoff subcapability with a custom one as a workaround for this issue. If there are enough users I’ll spend my time on it. For now I have other, more important, stuff to work on.

---

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

</div>

I’ll continue with your instructions straight away. But look what I noticed in the history, the device reported at 7:37 p.m. that the sensor was closed. Here in the ad on the left at 7.45 p.m. still open… strange, right?

 ![Kontakzeit](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/4715367e8bddea6b5156705e48176e16511e3f71.png)

---

<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 17, 2024, 7:07pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5815 "2024-10-17T19:07:34Z")

</div>

another question. i have just noticed that although i have only selected the BLU Gateway in Shelly as the only gateway with an installed script for 1 week, the BLU Sensor 1 connects to a device “light cooking island” that was previously used as a gateway. But the hook has been out for a week now! what could be the reason?

 ![BLU1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2803e4a20a7804540ef4a2d0bd22a59c4681cde.jpeg)  
 ![BLU2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dca50554e89d700624b58627e24bd02c56c4614c.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 17, 2024, 7:43pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5816 "2024-10-17T19:43:55Z")

</div>

@Phuturist Hello, I really have tried everything! Everything with my skills! As requested, I am now attaching all the documents and reports with the request that you take a look! Please note that the BLU door sensor that I’m talking about in particular remained open at the end and was definitely closed! the other times I opened and closed the door several times, the signal arrived late! I have the problem with 2 door sensors and 2 BLU motion sensors. the diagnosis is for the MAC address: 60:ef:ab:4a:76:0e

Please also ask the following question: when I deactivate the bluethooth gateway and restart the device, it is often reactivated afterwards!

Thank you very much for your effort !!!

here are the pictures: [https://postimg.cc/gallery/bhWDM1L](https://postimg.cc/gallery/bhWDM1L)

and the homey shelly code from diagose: c2ba81d3-b208-4f7b-8d21-7f25abcaa071

and the debug file from shelly:

```auto
[
  {
    "data": "Connected.",
    "ts": 1729193531.062,
    "level": 2,
    "fd": 1
  },
  {
    "ts": 1729186838.692,
    "level": 2,
    "data": "shelly_debug.cpp:236 Streaming logs to 192.168.2.177:59321",
    "fd": 1
  },
  {
    "ts": 1729186838.734,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186838.764,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186838.794,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186838.824,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186838.856,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186838.886,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.019,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.02,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.05,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.08,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.11,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.14,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.172,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.201,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.221,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.405,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.431,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186839.466,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729186840.285,
    "level": 2,
    "data": "shos_rpc_inst.c:243 BLE.CloudRelay.SubstituteList via SHC 34.78.37.78:6022",
    "fd": 1
  },
  {
    "ts": 1729193533.305,
    "level": 2,
    "data": "shos_time.c:54 Setting time from SNTP (1729193533.295 delta +6693.009)",
    "fd": 1
  },
  {
    "ts": 1729193533.345,
    "level": 2,
    "data": "shelly_sys.cpp:217 Time set to 9.434165 from 1",
    "fd": 1
  },
  {
    "ts": 1729193533.345,
    "level": 2,
    "data": "shos_init.c:94 New min heap free: 101516",
    "fd": 1
  },
  {
    "ts": 1729193533.63,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729193533.66,
    "level": 2,
    "data": "shos_rpc_inst.c:243 script.getcode via WS_in 192.168.2.177:59317",
    "fd": 1
  },
  {
    "ts": 1729193542.166,
    "level": 2,
    "data": "shelly_update.cpp:173 Checking for updates (1.4.4 20241011-114449/1.4.4-g6d2a586 {\"bl\":16777471,\"t\":1729193542.124,\"ut\":18262547,\"hf\":118388,\"hmf\":101516,\"fs\":393216,\"fsf\":102400})",
    "fd": 1
  },
  {
    "ts": 1729193542.168,
    "level": 2,
    "data": "shelly_http_client.:303 0x3ffe5348: HTTPS GET https://updates.shelly.cloud/update/BluGw (CA shelly_cloud.pem,ca.pem)",
    "fd": 1
  },
  {
    "ts": 1729193543.006,
    "level": 2,
    "data": "shelly_http_client.:611 0x3ffe5348: Finished; bytes 228, code 200, redir 0/3, auth 0, status OK",
    "fd": 1
  },
  {
    "ts": 1729193554.856,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:16:43:9e: mfd={}, svc={\"fcd2\":\"RAC4AWQFGBUAIQE=\"}",
    "fd": 1
  },
  {
    "ts": 1729193555.528,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:40:23:26: mfd={}, svc={\"fcd2\":\"RAB2AWQFpAYALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193566.052,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA2AWQFAAAAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193574.307,
    "level": 2,
    "data": "shos_rpc_inst.c:243 Shelly.GetStatus via HTTP_in GET 192.168.2.50:46874",
    "fd": 1
  },
  {
    "ts": 1729193585.016,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:16:43:9e: mfd={}, svc={\"fcd2\":\"RAC5AWQFqBYAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193589.444,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:40:23:26: mfd={}, svc={\"fcd2\":\"RAB4AWQFpAYALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193592.029,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA3AWQF7JAAIQE=\"}",
    "fd": 1
  },
  {
    "ts": 1729193608.084,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABDAWQFuD0ALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193612.171,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABEAWQF+EMALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193624.043,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA5AWQFcJQAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193625.892,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA6AWQFPIwAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193637.462,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABGAWQFSD8ALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193641.311,
    "level": 2,
    "data": "shos_rpc_inst.c:243 Shelly.GetStatus via HTTP_in GET 192.168.2.50:56372",
    "fd": 1
  },
  {
    "ts": 1729193643.225,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABHAWQF2EAALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193648.955,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:40:23:26: mfd={}, svc={\"fcd2\":\"RAB6AWQFdA4ALQE/AQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193653.466,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABIAWQF8AoALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193656.007,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABJAWQF8AoALQE/IgM=\"}",
    "fd": 1
  },
  {
    "ts": 1729193657.62,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABKAWQFBBAALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193661.767,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABLAWQF5CUALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193664.74,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABMAWQF5CUALQE/HAM=\"}",
    "fd": 1
  },
  {
    "ts": 1729193666.252,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABNAWQF/AgALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193668.236,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABPAWQFCAcALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193669.446,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABQAWQFCAcALQE/2QA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193670.507,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABRAWQFxDsALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193675.851,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABSAWQFxDsALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193677.215,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABTAWQFxDsALQE/igE=\"}",
    "fd": 1
  },
  {
    "ts": 1729193678.08,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABUAWQFjDwALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193684.265,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABVAWQFSD8ALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193685.051,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABWAWQF2EAALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193686.268,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA8AWQFFAUAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193688.334,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABXAWQFLDMALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193689.919,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABYAWQFgD4ALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193692.647,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABZAWQFgD4ALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193697.517,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABaAWQFgD4ALQE/8AI=\"}",
    "fd": 1
  },
  {
    "ts": 1729193698.571,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABbAWQFrCYALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193701.136,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABcAWQFZDIALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193703.447,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABdAWQF9DMALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193707.278,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABeAWQFLDMALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193708.172,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABfAWQF9DMALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193708.634,
    "level": 2,
    "data": "shos_rpc_inst.c:243 Shelly.GetStatus via HTTP_in GET 192.168.2.50:57112",
    "fd": 1
  },
  {
    "ts": 1729193712.343,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABgAWQFkBoALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193713.93,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABhAWQFkBoALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193719.687,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABiAWQFzBAALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193721.276,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABjAWQFzBAALQE/lgA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193722.331,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABkAWQFlBEALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193734.104,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABmAWQFrCYALQE/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193737.377,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:4a:76:0e: mfd={}, svc={\"fcd2\":\"RABnAWQFiBMALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193746.046,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA+AWQFpAYAIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193752.687,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RAA/AWQF6IAAIQE=\"}",
    "fd": 1
  },
  {
    "ts": 1729193756.58,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:40:23:26: mfd={}, svc={\"fcd2\":\"RAB+AWQFCAcALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193775.314,
    "level": 2,
    "data": "shos_rpc_inst.c:243 Shelly.GetStatus via HTTP_in GET 192.168.2.50:54342",
    "fd": 1
  },
  {
    "ts": 1729193782.363,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:0e:06:98: mfd={}, svc={\"fcd2\":\"RABBAWQF0J0AIQA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193795.519,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:40:23:26: mfd={}, svc={\"fcd2\":\"RACAAWQFGC4ALQA/AAA=\"}",
    "fd": 1
  },
  {
    "ts": 1729193799.392,
    "level": 2,
    "data": "shelly_bluetooth_rel:80 ADV 60:ef:ab:16:43:9e: mfd={}, svc={\"fcd2\":\"RAC6AWQFfBUAIQE=\"}",
    "fd": 1
  }
]

```

and the gateway file:

```auto
{
  "web_id": "241010173203-679fcca9-HEAD",
  "deviceInfo": {
    "name": null,
    "id": "shellyblugw-b0b21cfc64d8",
    "mac": "B0B21CFC64D8",
    "slot": 1,
    "key": "eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2OTU3OTY4MzgsIm1hYyI6IkIwQjIxQ0ZDNjREOCIsIm0iOiJTTkdXLUJUMDEiLCJiIjoiMjMzNi1PZ2VtcmF5IiwiZnAiOiIwNzYzZGRhMiJ9.mAoH4D56y0LiWi6aPgZ6mOPsISb3k6z_FbttXjkqzvoawgluMoYHslF5hxk65gtJQTjt0olSJU-xXvT5ndZQgl52ml_yqoP9QAHDSd-dJ5w0eWMeClfGkdXB08cCiFNR",
    "batch": "2336-Ogemray",
    "fw_sbits": "04",
    "model": "SNGW-BT01",
    "gen": 2,
    "fw_id": "20241011-114449/1.4.4-g6d2a586",
    "ver": "1.4.4",
    "app": "BluGw",
    "auth_en": false,
    "auth_domain": null
  },
  "status": {
    "sys": {
      "mac": "B0B21CFC64D8",
      "restart_required": false,
      "time": null,
      "unixtime": null,
      "uptime": 3,
      "ram_size": 269412,
      "ram_free": 121720,
      "fs_size": 393216,
      "fs_free": 102400,
      "cfg_rev": 32,
      "kvs_rev": 0,
      "schedule_rev": 0,
      "webhook_rev": 0,
      "available_updates": {},
      "reset_reason": 3
    },
    "jobs": [],
    "timezones": [],
    "geolocation": {},
    "hooks": [],
    "ble": {},
    "blugw": {},
    "cloud": {
      "connected": false
    },
    "mqtt": {
      "connected": false
    },
    "script:1": {
      "id": 1,
      "running": true,
      "mem_used": 3584,
      "mem_peak": 4284,
      "mem_free": 15260
    },
    "script:2": {
      "id": 2,
      "running": true,
      "mem_used": 3052,
      "mem_peak": 3598,
      "mem_free": 15260
    },
    "script:3": {
      "id": 3,
      "running": true,
      "mem_used": 3290,
      "mem_peak": 3822,
      "mem_free": 15260
    },
    "wifi": {
      "sta_ip": "192.168.2.173",
      "status": "got ip",
      "ssid": "LLB-MGST-OG",
      "rssi": -48
    },
    "ws": {
      "connected": true
    },
    "rev": 0
  },
  "config": {
    "sys": {
      "device": {
        "name": null,
        "mac": "B0B21CFC64D8",
        "fw_id": "20241011-114449/1.4.4-g6d2a586",
        "discoverable": true,
        "eco_mode": false
      },
      "location": {
        "tz": "Europe/Berlin",
        "lat": 48.794,
        "lon": 9.0164
      },
      "debug": {
        "level": 2,
        "file_level": null,
        "mqtt": {
          "enable": false
        },
        "websocket": {
          "enable": true
        },
        "udp": {
          "addr": null
        }
      },
      "ui_data": {},
      "rpc_udp": {
        "dst_addr": null,
        "listen_port": null
      },
      "sntp": {
        "server": "time.google.com"
      },
      "cfg_rev": 32
    },
    "cloud": {
      "enable": true,
      "server": "shelly-28-eu.shelly.cloud:6022/jrpc"
    },
    "ble": {
      "enable": true,
      "rpc": {
        "enable": true
      },
      "observer": {
        "enable": true
      }
    },
    "mqtt": {
      "enable": false,
      "server": null,
      "client_id": "shellyblugw-b0b21cfc64d8",
      "user": null,
      "ssl_ca": null,
      "topic_prefix": "shellyblugw-b0b21cfc64d8",
      "rpc_ntf": true,
      "status_ntf": false,
      "use_client_cert": false,
      "enable_rpc": true,
      "enable_control": true
    },
    "ws": {
      "enable": true,
      "server": "ws://192.168.2.50:6113/",
      "ssl_ca": "*"
    },
    "http": {},
    "firmware": {},
    "debug": {},
    "virtual": {},
    "schedule": {},
    "webhook": {},
    "kvs": {},
    "wifi": {
      "ap": {
        "ssid": "ShellyBluGw-B0B21CFC64D8",
        "is_open": true,
        "enable": true,
        "range_extender": {
          "enable": false
        }
      },
      "sta": {
        "ssid": "LLB-MGST-OG",
        "is_open": false,
        "enable": true,
        "ipv4mode": "dhcp",
        "ip": null,
        "netmask": null,
        "gw": null,
        "nameserver": null
      },
      "sta1": {
        "ssid": null,
        "is_open": true,
        "enable": false,
        "ipv4mode": "dhcp",
        "ip": null,
        "netmask": null,
        "gw": null,
        "nameserver": null
      },
      "roam": {
        "rssi_thr": -80,
        "interval": 60
      }
    },
    "tls": {},
    "addonmanager": {},
    "bthome": {},
    "scriptmanager": {},
    "xmod": {},
    "knx": {},
    "blugw": {
      "sys_led_enable": true
    },
    "script:1": {
      "id": 1,
      "name": "BLE Motion",
      "enable": true
    },
    "script:2": {
      "id": 2,
      "name": "BLE Door/Window",
      "enable": true
    },
    "script:3": {
      "id": 3,
      "name": "Homey BLE Proxy",
      "enable": true
    }
  },
  "schedule": {
    "jobs": [],
    "rev": 0
  },
  "hook": {
    "hooks": [],
    "rev": 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:** [October 17, 2024, 7:55pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5817 "2024-10-17T19:55:24Z")

</div>

> [@Stefan\_Beck](#):
>
> still open… strange, right?

Yes, strange. But I have no control over the logging. The Shelly app just registers the events and updates the status.

> [@Stefan\_Beck](#):
>
> i have just noticed that although i have only selected the BLU Gateway in Shelly as the only gateway with an installed script for 1 week, the BLU Sensor 1 connects to a device “light cooking island” that was previously used as a gateway.

I dont know, this is not related to the Shelly app for Homey.

> [@Stefan\_Beck](#):
>
> As requested, I am now attaching all the documents and reports

It’s missing the console logging which is important to know if the gateway is receiving the BLE advertisements and what they look like. Please add this.

> [@Stefan\_Beck](#):
>
> Please also ask the following question: when I deactivate the bluethooth gateway and restart the device, it is often reactivated afterwards!

You have the script set to auto start which makes it auto start after a reboot.

---

<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 17, 2024, 8:06pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5820 "2024-10-17T20:06:41Z")

</div>

> [@Mike1233](#):
>
> Is it possible that you edit your post with the debug info of the Shelly and place it  
> between \</\> these?

i don’t know what you mean. here are the 2 files

> **[File-Upload.net - diagnostics-shelly-plusbluetoothgateway-data.txt](https://www.file-upload.net/download-15400113/diagnostics-shelly-plusbluetoothgateway-data.txt.html)**
>
> Datei: diagnostics-shelly-plusbluetoothgateway-data.txt. Die Datei wurde von einem User hochgeladen. Laden Sie auch kostenlos Dateien hoch mit File Upload.

> **[File-Upload.net - diagnostics-shelly-plusbluetoothgateway-debug-log.txt](https://www.file-upload.net/download-15400114/diagnostics-shelly-plusbluetoothgateway-debug-log.txt.html)**
>
> Datei: diagnostics-shelly-plusbluetoothgateway-debug-log.txt. Die Datei wurde von einem User hochgeladen. Laden Sie auch kostenlos Dateien hoch mit File Upload.

and homey:c2ba81d3-b208-4f7b-8d21-7f25abcaa071

---

<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 17, 2024, 8:07pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5821 "2024-10-17T20:07:11Z")

</div>

I dont need the debug logging. I need the console log from the proxy script as described in the first post.

---

<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 17, 2024, 8:11pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5823 "2024-10-17T20:11:07Z")

</div>

you mean this:

```auto
 }
 
   if (last_packet_id === BTHparsed.pid) return;
   last_packet_id = BTHparsed.pid;
 
   Shelly.emitEvent('NotifyBluetoothStatus', BTHparsed);
 }
 
 // START BLE SCAN
 function startBLEScan() {
   let bleScanSuccess = BLE.Scanner.Start({ duration_ms: SCAN_DURATION, active: true }, parseResult);
   if (bleScanSuccess === false) {
     Timer.set(1000, false, startBLEScan);
   } else {
     console.log('Success: Homey Bluetooth Proxy running');
   }
 }
 
 // CHECK IF BLE IS ENABLED AND START SCAN
 let BLEConfig = Shelly.getComponentConfig('ble');
 if (BLEConfig.enable === false) {
   console.log('Error: BLE not enabled');
 } else {
   Timer.set(1000, false, startBLEScan);
 }

```

---

<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 17, 2024, 8:21pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5824 "2024-10-17T20:21:32Z")

</div>

> [@Phuturist](#):
>
> the debug logging. I need the console log from the proxy script as described in the first post.

i don´t know what you mean… sorry

---

<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 17, 2024, 8:24pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5825 "2024-10-17T20:24:10Z")

</div>

Then I’m unable to help you any further. I did notice something in the diagnostic report you send me which I will improve with the release after the next release. That might help you improve your situation as well. Just wait for that.

---

<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 17, 2024, 8:45pm UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5826 "2024-10-17T20:45:55Z")

</div>

Okay, but what would you need to help me now? The console log? From Shelly or homey ?

---

<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 18, 2024, 6:30am UTC](https://community.homey.app/t/app-shelly-smart-solutions-for-every-home-and-office/765/5828 "2024-10-18T06:30:42Z")

</div>

When i read agein:

## Pairing instructions Bluetooth (BLU) devices with Homey (Pro)

Please be aware, Shelly BLU devices only work properly with Homey if you also have a Plus/Pro device connected to Homey which can serve as a Bluetooth Proxy. The Bluetooth implementation of Homey isn’t sufficient as it’s not properly implemented and has bad range.  
Also be aware that the Plus/Pro device you choose to act as Bluetooth Proxy for Homey wont be able to send the status of the Shelly BLU to Shelly cloud for the mobile app as well. You will need to choose or use separate Plus/Pro devices for this.  
Pair the Shelly BLU device with the official Shelly app. You will be asked to pair it with a Plus/Pro device. Best would be to choose a Plus/Pro device which you wont be using as Bluetooth proxy for Homey. Plus/Pro devices which will be used as Bluetooth Proxy for Homey wont be able to also send the status of the Shelly BLU to Shelly Cloud for usage in the mobile app as well;

When I read this, I understand that I need two Shelly Plus devices: one for the connection from the BLU device to the Shelly Cloud, and a second one that sends the data to the Homey Cloud, correct? I’ll give them names for example:

Shelly Plus ‘Patrick’ = This is the gateway for the BLU Motion sensor. On this device, the Bluetooth gateway is disabled, and the Homey BLE Proxy script is enabled. This takes the data from the BLU Motion sensor to the Shelly Cloud.

Shelly Plus ‘Sarah’ doesn’t need a script, but I enable the BLE Proxy in the advanced settings for this Shelly in Homey, right? This one takes the data from Shelly/Cloud to Homey.

Did I understand that correctly?"

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

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