hcoohb / hass-yeelightbt

Home assistant custom component for Yeelight bluetooth
50 stars 16 forks source link

Does not pair Candela with esphome bluetooth proy #59

Open elektro-freak opened 1 year ago

elektro-freak commented 1 year ago

Light

Yeelight Candela

Yeelight Bt version

don't know very old candela 5 to 6 years

Home-assistant installation type

Home Assistant Container (docker)

Home-assistant version

2023.5.4

Home-assistant bluetooth integration (2022.8+)

Yes

Describe the issue

The candela is found by scan and will be intigrated with 1 device and 1 entity, but can't be turned on by pressing the button. Is there a new test release which should work ? esphome blue toot proxy works fine with bluetooth xiaomi miio temperature devices. Also LED BLE works fine.

Debugging procedure followed:

Any additional comments

No response

Logs from the issue

No response

el93mon commented 1 year ago

In earlier versions the integration worked

Gerrett84 commented 11 months ago

In earlier versions the integration worked

Which version is running?I now also have an ESP Home Bluetooth proxy and since then my candela has stopped working.

Gerrett84 commented 10 months ago

Here is a log from esp bluetooth proxy trying to connect to candela.

[11:47:35][I][bluetooth_proxy:282]: [0] [F8:24:41:C0:69:55] Connecting v3 without cache
[11:47:35][I][esp32_ble_client:069]: [0] [F8:24:41:C0:69:55] 0x00 Attempting BLE connection
[11:47:35][D][esp-idf:000]: W (53973) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:35][D][esp-idf:000]: W (54234) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:35][D][esp-idf:000]: W (54242) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e

[11:47:37][D][esp-idf:000]: W (56264) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:37][D][esp-idf:000]: W (56268) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e

[11:47:43][D][esp-idf:000]: W (61913) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:43][D][esp-idf:000]: W (61919) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e

[11:47:43][D][esp-idf:000]: W (62313) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:43][D][esp-idf:000]: W (62317) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e

[11:47:44][D][esp-idf:000]: W (62653) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:47:44][D][esp-idf:000]: W (62658) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e

[11:47:49][W][bluetooth_proxy:264]: [0] [F8:24:41:C0:69:55] Connection request ignored, already connecting
[11:47:55][I][esp32_ble_client:086]: [0] [F8:24:41:C0:69:55] Disconnecting.
[11:48:07][D][esp-idf:000]: W (85575) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x3e

[11:48:07][D][esp-idf:000]: W (85579) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x3e

[11:48:07][D][esp-idf:000]: W (85582) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x3e

[11:48:07][W][esp32_ble_client:139]: [0] [] Connection failed, status=133
[11:48:07][I][bluetooth_proxy:282]: [0] [F8:24:41:C0:69:55] Connecting v3 without cache
[11:48:07][I][esp32_ble_client:069]: [0] [F8:24:41:C0:69:55] 0x00 Attempting BLE connection
[11:48:07][D][esp-idf:000]: W (86000) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:48:07][W][bluetooth_proxy:264]: [0] [F8:24:41:C0:69:55] Connection request ignored, already connecting
[11:48:18][I][bluetooth_proxy:282]: [1] [F8:24:41:C0:B0:1C] Connecting v3 without cache
[11:48:26][D][esp-idf:000]: E (104604) BT_L2CAP: L2CAP got BLE scanner conn_comp in bad state: 0

[11:48:26][D][esp-idf:000]: W (104689) BT_L2CAP: L2CAP - LE - cannot start new connection at conn st: 1

[11:48:26][D][esp-idf:000]: W (104695) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e

[11:48:27][I][esp32_ble_client:086]: [0] [F8:24:41:C0:69:55] Disconnecting.
jojoro1 commented 4 months ago

Is there any progress with this issue?