fsaris / home-assistant-awox

AwoX mesh light integration for Home Assistant
MIT License
83 stars 23 forks source link

Bluetooth stability and blocking issues - switch to Bleak like HA #110

Open fsaris opened 9 months ago

fsaris commented 9 months ago

HA is providing more Bluetooth support since version 2022.07 (https://github.com/fsaris/home-assistant-awox/issues/59#issuecomment-1178014168).

For there Bluetooth support Bleak is used but the Telink chip used by AwoX doesn't seem to follow the BLE standard (https://github.com/hbldh/bleak/issues/972).

I tried to work around this (see #59 #64) but still it's not ideal and current implementation creates a lock on the Bluetooth adapter and conflicts with the Bluetooth features HA provides.

Once https://github.com/hbldh/bleak/issues/972 is fixed we could proceed with this component. For now I will be focusing on https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub as it's shows to be more stable.