Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not pair Candela with esphome bluetooth proy #59

Open
9 tasks
elektro-freak opened this issue May 25, 2023 · 3 comments
Open
9 tasks

Does not pair Candela with esphome bluetooth proy #59

elektro-freak opened this issue May 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@elektro-freak
Copy link

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:

  • 1- Ensure smartphone will not connect with lamp
  • 2- The Yeelight_bt integration has been removed from HA.
  • 3- HA has access to the bluetooth adapter (followed the installation steps if not on HAOS).
  • 4- No other bluetooth integration are using something else than bleak library for bluetooth. If unsure, disable them.
  • 5- The logging has been changed in HA to allow debugging of this component and bleak.
  • 6- The light has been fully reset so that it is not paired with any device.
  • 7- Restart HA
  • 8- Reinstall the yeelight_bt integration and find the light through a scan.
  • 9- Pairing the lamp succeeded

Any additional comments

No response

Logs from the issue

No response

@elektro-freak elektro-freak added the bug Something isn't working label May 25, 2023
@el93mon
Copy link

el93mon commented Jul 15, 2023

In earlier versions the integration worked

@Gerrett84
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants