Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug] Constant Disconnect #56

Open
8 of 9 tasks
Dvalin21 opened this issue Feb 18, 2023 · 0 comments
Open
8 of 9 tasks

[Bug] Constant Disconnect #56

Dvalin21 opened this issue Feb 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Dvalin21
Copy link

Light

None

Yeelight Bt version

1.3.0

Home-assistant installation type

Home Assistant Operating System (HAOS)

Home-assistant version

2023.2

Home-assistant bluetooth integration (2022.8+)

Yes

Describe the issue

I will constantly get the following error

This error originated from a custom integration.

Logger: custom_components.yeelight_bt.yeelightbt
Source: custom_components/yeelight_bt/yeelightbt.py:309
Integration: Yeelight bluetooth (documentation, issues)
First occurred: 4:13:32 PM (1 occurrences)
Last logged: 4:13:32 PM

Send Cmd: BleakError: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Unlikely Error)

It will disconnect and then eventually HAOS will remove one my bluetooth Adapter. I have two Yeelight BLE lamps.

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

This error originated from a custom integration.

Logger: custom_components.yeelight_bt.yeelightbt
Source: custom_components/yeelight_bt/yeelightbt.py:309
Integration: Yeelight bluetooth (documentation, issues)
First occurred: 4:13:32 PM (1 occurrences)
Last logged: 4:13:32 PM

Send Cmd: BleakError: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Unlikely Error)

@Dvalin21 Dvalin21 added the bug Something isn't working label Feb 18, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant