espressif / esp-matter

Espressif's SDK for Matter
Apache License 2.0
707 stars 161 forks source link

Unable to commission matter over thread light example. (CON-1277) #1027

Open baylf2000 opened 4 months ago

baylf2000 commented 4 months ago

Describe the bug I have not been able to commission the light example using matter over thread. I've tried multiple pathways, however I'm primarily using the Home Assistant OTBR and their Android commissioning app. I've also tried using the Android Home app directly.

The Android device does appear to make a successful bluetooth connection to the ESP32C6 device, however

The error I get in the commissioner app is Can't connect to thread network xyz. Check that your device can work with this network type and try again.

Firmware is built in vscode with the current esp-idf extension. ESP-IDF versions 5.2 and 5.3 were both tried. ESP-Matter was installed in vscode with the Install ESP-MATTER option in the ESP-IDF extension.

Environment

Device Log: (Complete log from boot to commission failure) - esp32c6_matter_thread_light.txt

Some of the OTBR logs:

otbr_commission_log.txt

Any additional details ...

wqx6 commented 3 months ago

Looks like the esp32c6 was not attached to the thread network of the OTBR you were using. It became a leader at last. Could you enable the CONFIG_OPENTHREAD_CLI on esp32c6 and input this command in the esp32c6's console after the thread credential is set during commissioning to verify that the esp32c6 receives the same thread dataset as the OTBR was set?

matter esp ot_cli dataset active -x
dhrishi commented 2 weeks ago

@baylf2000 Any update you can share? Please close the issue if resolved