Open Massu4 opened 3 weeks ago
The exact same problem with an AP R600 V2.0,
HA discovers the device But when we try and connect it thinks about it for a while And the fails
Here is the error log:
`This error originated from a custom integration.
Logger: homeassistant Source: custom_components/allpowers_ble/allpowers.py:232 integration: allpowers_ble (documentation) First occurred: 07:02:44 (7 occurrences) Last logged: 08:56:46
Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 363, in establish_connection await client.connect( File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 310, in connect connected = await super().connect(kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/bleak/init.py", line 615, in connect return await self._backend.connect(kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/client.py", line 254, in connect assert_reply(reply) File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply raise BleakDBusError(reply.error_name, reply.body) bleak.exc.BleakDBusError: [org.bluez.Error.Failed] Operation already in progress
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/config/custom_components/allpowers_ble/allpowers.py", line 248, in _reconnect await self._ensure_connected() File "/config/custom_components/allpowers_ble/allpowers.py", line 232, in _ensure_connected client = await establish_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 472, in establish_connection _raise_if_needed(name, device.address, exc) File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 339, in _raise_if_needed raise BleakConnectionError(msg) from exc bleak_retry_connector.BleakConnectionError: AP R600 V2.0 - 2A:02:01:39:8A:63: Failed to connect after 6 attempt(s): [org.bluez.Error.Failed] Operation already in progress`
Unfortunately I'm unable to connect to AP R2500 V2.0. Bluetooth address has been found, but failed to connect message appears.