Thread working on ESP32-H2 - Example Project

Argh, the @IP was only accessible for 2-3 minutes, and now there’s no response even after rebooting the module!

Anything in the log that shows why it lost its connection?

I’ve run my C6 for about 10 minutes and it keeps pinging fine.

I don’t understand.
Yesterday, I tested two Xiao ESP32C6 modules again, and HA detected them correctly. Both were accessible via their IPV6 addresses.

OTBR can see them:

# ot-ctl
> srp server host
esp32c6-1.default.service.arpa.
    deleted: false
    addresses: [fd43:b533:bfc7:1:2d14:3659:b25e:ac02]
esp32c6-2.default.service.arpa.
    deleted: false
    addresses: [fd43:b533:bfc7:1:faa5:206:2404:942e]
Done

I added a log to display the module’s IP address.

[D][sensor:131]: 'esp32c6-1 Uptime': Sending state 542.58899 s with 0 decimals of accuracy
[D][MYLOG:047]: IP ADDR: 'fd43:b533:bfc7:1:2d14:3659:b25e:ac02'

A few hours later, they were no longer accessible and the module log no longer displayed their @IP.

[D][sensor:131]: 'esp32c6-1 Uptime': Sending state 482.58301 s with 0 decimals of accuracy
[D][MYLOG:047]: IP ADDR: ''

I will replace the nrf52840 USB dongle connected to the OTGR with a SONOFF ZBDONGLE-E flashed with openthread rcp firmware and see if I get the same behavior.

Thank you for your help, I will keep you posted.

1 Like

Might ESPhome also work to let the H2 be a Thread Border Router?

No, ESPHome only supports Full Thread Device (“router”) and Minimal Thread Device (“end device”) device types. And besides that, ESPHome doesn’t support Matter.

I have been unsuccessful at creating a Openthread esphome device. Home assistant does not auto detect it.
I am using an esp boarder router built with esp-idf 5,54. Border router web page says it is app version v1.3-33-g66762f2.
I believe the border router is working because I was able at add a Nordic Thingy:53 running the Matter weather firmware to home assistant.
I am using an Olimex esp32-h2-devkit-lipo board with the basic test firmware from above.
Is there more documentation I shpuld be reading?

Can I use the boarder rourter web page to disgnose the issue?

I switched to an esp32-c6 (adafruit feather) and I was able to build esphome firmware whiched conected to my home assictant thread network.
Now I wonder if it's my olimex board or h2 devices i general.
I do like the olimex board, its similar to the feather boards