core: Yale Access Bluetooth - August Bluetooth not connecting to Bluetooth Proxy - BleakOutOfConnectionSlotsError

The problem

August Smartlock is snot connecting to ESPHome Bluetooth Proxy. The lock will work fine when close to a standard USB Bluetooth dongle, but will not connect to ESPHome BT Proxy. Even if the lock is the only device on bluetooth, it still will not connect. First error will give an unable to connect, then subsequent error will give no available slot.

What version of Home Assistant Core has the issue?

2022.11.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Yale Access Bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/yalexs_ble/

Diagnostics information

Logger: yalexs_ble.push Source: /usr/local/lib/python3.10/site-packages/yalexs_ble/push.py:604 First occurred: 9:57:46 PM (1 occurrences) Last logged: 9:57:46 PM

FRONT DOOR (78:9C:85:01:CB:3D): Error updating Traceback (most recent call last): File “/usr/local/lib/python3.10/site-packages/bleak_retry_connector/init.py”, line 543, in establish_connection await client.connect( File “/usr/src/homeassistant/homeassistant/components/bluetooth/models.py”, line 294, in connect self._async_get_backend() or self._async_get_fallback_backend() File “/usr/src/homeassistant/homeassistant/components/bluetooth/models.py”, line 370, in _async_get_fallback_backend raise BleakError( bleak.exc.BleakError: No backend with an available connection slot that can reach address 78:9C:85:01:CB:3D was found

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File “/usr/local/lib/python3.10/site-packages/yalexs_ble/push.py”, line 573, in _queue_update await self._update_task File “/usr/local/lib/python3.10/site-packages/yalexs_ble/push.py”, line 87, in _async_wrap_operation_lock return await func(self, *args, **kwargs) File “/usr/local/lib/python3.10/site-packages/yalexs_ble/push.py”, line 108, in _async_wrap_retry_bluetooth_connection_error return await func(self, *args, **kwargs) File “/usr/local/lib/python3.10/site-packages/yalexs_ble/push.py”, line 384, in _update async with lock: File “/usr/local/lib/python3.10/site-packages/yalexs_ble/lock.py”, line 61, in aenter await self.connect() File “/usr/local/lib/python3.10/site-packages/yalexs_ble/lock.py”, line 90, in connect raise err File “/usr/local/lib/python3.10/site-packages/yalexs_ble/lock.py”, line 80, in connect self.client = await establish_connection( File “/usr/local/lib/python3.10/site-packages/bleak_retry_connector/init.py”, line 616, in establish_connection _raise_if_needed(name, description, exc) File “/usr/local/lib/python3.10/site-packages/bleak_retry_connector/init.py”, line 487, in _raise_if_needed raise BleakOutOfConnectionSlotsError( bleak_retry_connector.BleakOutOfConnectionSlotsError: FRONT DOOR (78:9C:85:01:CB:3D) - 78:9C:85:01:CB:3D -> kitchen-ble-proxy: Failed to connect: No backend with an available connection slot that can reach address 78:9C:85:01:CB:3D was found: The proxy/adapter is out of connection slots; Add additional proxies near this device

Logger: yalexs_ble.lock Source: runner.py:119 First occurred: 9:55:35 PM (19 occurrences) Last logged: 10:00:52 PM

FRONT DOOR (AugSW38): Failed to connect to the lock: FRONT DOOR (AugSW38) - 78:9C:85:01:CB:3D -> kitchen-ble-proxy: Failed to connect: No backend with an available connection slot that can reach address 78:9C:85:01:CB:3D was found: The proxy/adapter is out of connection slots; Add additional proxies near this device FRONT DOOR (78:9C:85:01:CB:3D): Failed to connect to the lock: FRONT DOOR (78:9C:85:01:CB:3D) - 78:9C:85:01:CB:3D -> kitchen-ble-proxy: Failed to connect: No backend with an available connection slot that can reach address 78:9C:85:01:CB:3D was found: The proxy/adapter is out of connection slots; Add additional proxies near this device FRONT DOOR (78:9C:85:01:CB:3D): Failed to connect to the lock: FRONT DOOR (78:9C:85:01:CB:3D) - 78:9C:85:01:CB:3D -> kitchen-ble-proxy: Failed to connect: Error ESP_GATT_CONN_FAIL_ESTABLISH while connecting: Connection failed to establish: Interference/range; External Bluetooth adapter w/extension may help; Extension cables reduce USB 3 port interference

Example YAML snippet

No YAML

Anything in the logs that might be useful for us?

No response

Additional information

The integration works fine for locks within range of a standard USB Bluetooth Dongle, but does not work with ESP Home proxy

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28 (11 by maintainers)

Most upvoted comments

ahh gotcha, guess Ill wait for the esp32 firmware to be publicly released

git clone https://github.com/esphome/esphome
cd esphome
pip3 install --upgrade .
esphome compile your_yaml_file.yaml
esphome upload your_yaml_file.yaml