Extremely unstable device commissioning with basic_thread_border_router example #197
Unanswered
schildbach
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm running the
basic_thread_border_routerexample on an "ESP Thread Border Router/Zigbee Gateway V1.2" dev board. Except for hardcoding my Wifi credentials, enabling OPENTHREAD_BR_AUTO_START and setting my TLV via console, I'm using the default configuration. I currently have 10 devices commissioned (took many attempts!) and once commissioned they work reasonably well.However,
when I try to commission new Thread devices via Home-Assistant 2026.6 / matterjs-server 0.8.0 / ESPHome 2026.5, only one out of twenty commissioning attempts succeed. The BLE phase is always successful, but then Thread IPv6 communication seems to drop packets on a larger scale. I see this in the console:
After some research, I tried a few configuration changes on the esp32s3:
CONFIG_SPIRAM=y
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS=256
Those did not help. I tried a few other changes on the RCP (esp32h2):
OPENTHREAD_SPINEL_RX_FRAME_BUFFER_SIZE=2048
OPENTHREAD_UART_BUFFER_SIZE=4096
Those made the RCP unstable (frequent crashes), so I reverted them quickly.
Can someone suggest specific configuration changes that will help? Will there be a new version in this repo? I see the last version is from December 2025, and there were only cosmetic changes since then.
All reactions