BLE timeout during matter commision

Hi,

I have a Homeassistant Yellow and want to integrate an evehome smart plug with matter support. I have set up the matter addon with matter-server and open thread border router. The thread integration is able to detect the network and I double checked the information in the thread addon and in the otbr web gui.
Adding the device via the companion app on my ios device does not work, because my ios device “requires a thread border router” as I dont have a matter compatible apple device (like apple tv).
Next, I tried to connect the smart plug via a python script using the python-matter-server package. This also doesnt work, but I observed the following logs

2023-05-04 14:54:21 core-matter-server chip.CTL[126] INFO Starting commissioning discovery over BLE
2023-05-04 14:54:21 core-matter-server chip.CTL[126] INFO Starting commissioning discovery over DNS-SD
2023-05-04 14:54:22 core-matter-server chip.BLE[126] INFO BLE removing known devices.
2023-05-04 14:54:22 core-matter-server chip.BLE[126] INFO BLE initiating scan.
2023-05-04 14:54:32 core-matter-server chip.CTL[126] ERROR Commissioning discovery over BLE failed: ../src/platform/Linux/BLEManagerImpl.cpp:814: CHIP Error 0x00000032: Timeout
2023-05-04 14:54:32 core-matter-server chip.-[126] ERROR ../src/platform/Linux/BLEManagerImpl.cpp:814: CHIP Error 0x00000032: Timeout at ../src/controller/SetUpCodePairer.cpp:299

The yellow and the smart plug are ~1 meter apart from each other.
I have the bluetooth integration installed and it lists 1 device with the bluetooth address.

Is there a way to increase the BLE timeout?

I dont really know what I can do and I hope you can help me! :slight_smile:

Matter-Server version: 4.3.1
System: Home Assistant OS 10.1 (aarch64 / yellow)
Home Assistant Core: 2023.5.0 (it also hasnt worked on 2023.4.3)
Home Assistant Supervisor: 2023.04.1

1 Like

I was getting the same thing. I finally got it working by bringing my bluetooth adapter closer to my thread device, like 6 inches away. Was no easy feat considering my bluetooth is integrated with my PCs motherboard and I was trying to pair window blinds.