Selora Homes Selora Homes Academy

The Thread mesh and border routers

12 min

You will be able to

  • Name the roles in a Thread network
  • Explain what a border router does and why one network matters

Thread is a low-power mesh network for small devices. It uses the same 802.15.4 radio and the same 2.4 GHz channels 11 to 26 as Zigbee, but unlike Zigbee it is an IPv6 network: every Thread device has an IP address.

Roles

Role What it does
Router a device built to route (usually mains-powered) that relays for others; up to 32 at once
Router-eligible end device a device built to route that isn't routing yet, promoted if the mesh needs it
End device talks only through its parent router; sleepy ones (battery sensors) wake periodically
Leader one router, elected automatically, that manages the network
Border router a router that also connects the mesh to the home's IP network

The roles adapt by themselves: router-capable devices are promoted when the mesh needs them, and a new leader is elected if the old one goes away. Whether a device can route depends on how it was built, not only on its power: a mains-powered device can still be a plain end device.

The border router

Without a border router, Thread devices can only talk to each other. The border router is what lets Home Assistant reach them. It can be:

  • the Selora Hub, with a Thread radio (ZBT-1, ZBT-2, ZBDongle-E with OpenThread firmware) and the OpenThread Border Router app;
  • Apple: HomePod mini, HomePod (2nd gen), Apple TV 4K (2nd gen, or 3rd gen Wi-Fi + Ethernet);
  • Google: Nest Hub (2nd gen), Nest Hub Max, Nest Wifi, Nest Wifi Pro, Google TV Streamer;
  • others, such as some Amazon Echo, eero, SmartThings and Aqara devices.

Several border routers on the same Thread network add redundancy. Several border routers that each created their own network split the home into separate meshes.

One Thread network per home

Fragmentation is one of the most common Thread problems on site. A home with an Apple or Google border router already runs its own Thread network. If the Selora Hub creates a second one, the devices end up split between them:

  • each mesh is smaller, with fewer routers to relay and to fall back on;
  • devices can't move from one mesh to the other when a router goes away;
  • Home Assistant reaches the devices on the other mesh only through that mesh's border routers: if those sleep, are unplugged, or sit on another network segment, the devices drop out of Home Assistant.

So, before starting the Selora Hub's border router:

  1. Find the existing networks: Settings → Connectivity → Thread lists every border router it discovers. Ask the customer about Apple, Google, Amazon or eero devices too.
  2. If a network exists, import its credentials from the Companion app on a phone that knows it ("Send credentials to Home Assistant" on the Thread page) and make it the preferred network. The Selora Hub's border router then joins it when it starts.
  3. If none exists, the Selora Hub's network becomes the preferred one.

The Selora Hub's border router joins the preferred network only if it has no network yet: one started too early forms its own, and must be reset to join the preferred one. The panel should end up showing one network name with every border router under it. Also make sure the phone you commission from has the same preferred network: devices added from a phone join the phone's preferred network.

Check yourself Single answer

The Thread panel lists "MyHome4F2" (Apple TV, HomePod mini) and "ha-thread-7c1e" (Selora Hub only). Nothing is commissioned yet. What do you do?

Not graded: try as often as you like.

Go further on selorahomes.com

What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.

This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.