Last year, I put together an OpenThread Border Router using a Raspberry Pi 4 and a spare ESP32-H2 board. Then, the Home Assistant picked it up with no manual setup. It’s the base I want for a Thread-friendly smart home: local mesh, no cloud dependency, and a border router I can control. That bridge needed a Pi, a USB cable, a custom radio co-processor firmware, and a native OTBR install, which is a lot of parts for one job.
But an ESP32-C6 can run a border router on its own, bridging Thread to Wi-Fi from a single chip. A typical ESP32-C6 board costs between $5 and $10. That’s why my next Thread router will be an ESP32-C6, and I might skip the Pi.
In my build, the Pi and the ESP32-H2 had two separate jobs. The Pi ran the OpenThread Border Router agent, while the ESP32-H2 served as the radio co-processor because it has an 802.15.4 radio but no Wi-Fi. That was the price of using parts I already owned. I built the RCP firmware, watched the Docker image crash, and compiled OTBR natively on the Pi. It took most of my afternoon, longer than I expected.
With an ESP32-C6, I get to skip most of that. ESPHome builds the border router firmware, and the native C6 radio puts the host and the radio on the same board. There’s no custom service file, no radio URL, no baud rate to match, and nothing to connect to a Pi over USB. I would still need a YAML config, which ESPHome’s documentation covers. A few others, like ESP32-C5, ESP32-H4, ESP32-H21, and ESP32-S31, can run ESPHome’s border router mode too.
Thread can run multiple border routers in a single network, which widens coverage and removes the single point of failure. My Pi build is exactly that single point. When I am tinkering with it, or it is rebooting, Home Assistant can’t reach my Thread devices, and automations that depend on them stop working until it’s back. A second border router keeps Home Assistant connected to the mesh in the meantime.
An ESP32-C6 board needs a USB cable and Wi-Fi. With that, I can put one where the coverage is thin. The only rule I remember is that the border router needs to join my existing network instead of forming a new one. To achieve that, I’d copy the dataset from my Pi’s network into ESPHome config.
Then, Home Assistant discovers the OpenThread Border Router using mDNS on the LAN. Its Thread integration lists the networks under a preferred network or other networks. That list confirms that my board has landed on the right network. That list is where I would check whether the board landed on the right one.
That said, the Thread integration in Home Assistant is still a work in progress, so I’d expect some rough edges. Some users report leftover networks they couldn’t remove. I’d start with a test board before spreading more around the house.
My Pi build used ESP32-H2’s radio for Thread, so Wi-Fi never had to compete with it for radio. Espressif’s documentation warns that running OpenThread and Wi-Fi on the same C6 can cause performance issues since both share the same hardware radio. However, the sensor traffic is light, and it wouldn’t matter much. I don’t plan to put too many Thread devices per border router anyway.
Joining the existing network keeps Thread on the non-overlapping channel I picked for my Pi build, instead of letting a new board choose one. And if sharing becomes a problem, there’s a fallback. ESPHome lets any Wi-Fi-supporting ESP32 board use an external radio co-processor over UART, so my spare H2 could be the Thread radio again. The new H4 and H21 chips have no Wi-Fi either, so they would only work as radios.
ESPHome’s OpenThread component needs ESP-IDF 5.5.5 or newer, so I need to update the older ESPHome builder first. The border router mode is also new to my smart home setup, while the Pi build has had a few months of uptime. I would miss the otbr-web interface since it made it easy to form and diagnose networks. I don’t know if the C6 builds offer that flexibility in the future.
That’s why I run the C6 next to the Pi first. If the ESP32 hangs, the Thread network keeps working through the Pi.
The $5 ESP32-C6 is a good alternative to swap out a host, a radio board, and a USB cable with a single enclosure. Also, adding more border routers can help build a sturdier Thread network, which is what I want from my local-first smart home. Of course, the cost involved is taking care of the credentials, channels, and firmware updates across border routers.
Considering the cost of Pi boards, the ESP32-C6 is a good starting point to give Thread network a shot in your smart home.
Turn your ESP32, ESP8266, or RP2040 boards into powerful smart home devices with simple YAML configuration