# BLE device discovery disconnects from device

**URL:** <https://community.homey.app/t/ble-device-discovery-disconnects-from-device/68422>\
**Category:** Developers\
**Tags:** devices, bluetooth-le-ble\
**Created:** [September 4, 2022, 8:41pm UTC](https://community.homey.app/t/ble-device-discovery-disconnects-from-device/68422 "2022-09-04T20:41:35Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Charles](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@Charles](https://community.homey.app/u/Charles)\
**Post date:** [May 9, 2023, 12:28pm UTC](https://community.homey.app/t/ble-device-discovery-disconnects-from-device/68422/15 "2023-05-09T12:28:28Z")

</div>

Got Homey Pro 2023 and still have this issue, anyone knows how to increase this 5s delay ?

I used this from my previous homey changing values

> [@Bluetooth Thermometer Hygrometer from Xiaomi](https://community.homey.app/t/bluetooth-thermometer-hygrometer-from-xiaomi/16483/35):
>
> Awesome does works but CGG1 with ATC are quite long to detect, I needed to install them 3/4 times before seeing it as we can’t set polling\_interval and scan\_duration into this app (we can with ruuvi app) so default are 60s and 10s scan I have better results with 90s 30s, because 10s we miss often frame let polling\_interval = this.homey.settings.get('polling\_interval'); let scan\_duration = this.homey.settings.get('scan\_duration'); //default value for polling and scan …

but can’t anymore since now `homey install` fire me an error

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/1/5173ef297e9cf72dcd2adb90a36844219fa24834.png)

---

_[View the full topic](https://community.homey.app/t/ble-device-discovery-disconnects-from-device/68422)._
