Connectivity

Mesh network

A mesh network is one where devices pass data along for each other, so coverage grows with each device. Zigbee, Thread and mesh Wi-Fi all work this way.

Rooftop antennas against a clear blue sky

Photo: Nassim Wahba / Unsplash

A mesh network is a network in which devices connect to several neighbors and pass data along for one another, instead of each device talking straight to one central point. A message travels hop by hop until it reaches its destination, often a hub or a border router that links the mesh to the home network and the internet. A device in a far room only needs one neighbor in range, and if one relay fails the network can find another path. The term covers two different things: mesh Wi-Fi systems that spread internet coverage around a house, and low-power meshes such as Zigbee and Thread that connect smart home sensors, switches and bulbs.

How does a mesh network work?

Each node that can relay receives a message and forwards it to a neighbor closer to the destination, and the network keeps track of which paths work. Most meshes, Zigbee and Thread among them, keep routes: each relay knows which neighbor to use for each destination and updates that knowledge when links change. Bluetooth Mesh can instead use what the Bluetooth SIG calls a “managed flood”, in which nearby relays repeat a message so that it reaches its target over several paths at once.

Not every device relays. Mains-powered devices, such as plugs and bulbs, usually act as routers; battery devices, such as door sensors, join as end devices that do not forward traffic and sleep most of the time. The OpenThread documentation describes this split for Thread: a sleepy end device “wakes on occasion to poll for messages from its parent”, and a single Thread network has at most 32 relaying devices. When a relay disappears, the others work out new routes; the Thread Group says that Thread networks “have no single point of failure and include the ability to self-heal”.

Is mesh Wi-Fi the same as a smart home mesh?

No. Mesh Wi-Fi links several access points so that phones and laptops get a good signal in every room; the phones and laptops themselves do not relay anything. In a smart home mesh, the devices themselves, the bulbs and plugs, are the relays.

A mesh Wi-Fi system is a main router plus satellite units placed around the home, connected to each other by radio or by cable. The Wi-Fi Alliance certification for this, Wi-Fi EasyMesh, describes networks in which “multiple APs work together to form a unified network” and lets you add access points from different makers. It is built for high data rates: video calls, streaming, downloads.

Smart home meshes carry short commands and readings at low power, on their own radios, so adding a Wi-Fi satellite does not extend a Zigbee network. Some products do both jobs: Amazon says that some of its Echo speakers and eero devices have built-in smart home hubs for Zigbee devices.

Which technologies use mesh networking?

The best known are Zigbee, Thread, Z-Wave and Bluetooth Mesh in the home, Wi-SUN in utility networks, and mesh Wi-Fi for internet coverage.

What are the advantages and disadvantages of a mesh network?

A mesh trades simplicity for reach and resilience. Coverage grows with every powered device and a broken relay can be routed around, but each hop adds delay and the network only works as well as its relays.

The advantages are range without stronger radios, no single relay whose failure takes everything down, and low power, since each radio only reaches its nearest neighbor. The disadvantages are delay and lost messages at each hop, extra memory and processing for routing, and harder troubleshooting, because a fault can sit anywhere along the path. A mesh made mostly of battery devices that do not relay behaves like a star topology with extra overhead. Long-range networks such as LoRaWAN and Z-Wave Long Range choose a star from the start: each device reaches a gateway or hub directly and none has to stay awake to relay.

How do you make a smart home mesh more reliable?

Give it enough mains-powered relays between the hub and the far corners, and keep them powered. A smart bulb switched off at the wall cannot relay, and a mesh that depended on it loses that path.

Add the devices closest to the hub first, so the mesh grows outward, and put mains-powered devices between the hub and distant battery sensors. Keep the hub or its radio adapter away from metal enclosures and from other radios working at the same frequency. Home Zigbee devices usually work in the 2.4 GHz band, the same band Wi-Fi uses, so it helps to set the Zigbee and Wi-Fi channels apart. Choosing a smart home hub and the smart home hub entry explain which box coordinates which mesh.

Part of the IoT Glossary. Spotted an error or a missing term? Tell us.