A ZigBee smart switch is not a device that talks to a hub. It is a device that talks to the mesh, and in a house with more than a handful of them, it is part of the mesh. Wall switches are mains-powered, and mains-powered ZigBee devices are routers: they relay traffic for other devices, all day, whether you asked them to or not. That is the reason a whole house of ZigBee switches is usually the most stable ZigBee installation there is — and also the reason that swapping one out can knock a different one offline.
The route is chosen when the network is built, not when it is needed
ZigBee route discovery is expensive in battery terms, so the protocol does not do it continuously. Routes are established when devices join and when the network is repaired, then reused. A route that made sense on installation day can persist long after it stopped being the best one.
This is why the symptom is confusing. You replace the hallway switch. Twenty minutes later the sensor in the study stops reporting. Nothing about the study changed: its battery is fine, its signal to the hub was always weak, and it was never talking to the hub directly. It was talking through the hallway switch. When that switch left the network for the ten minutes it took to fit the new one, the sensor's route died with it — and a battery device does not immediately go looking for a new parent, because that costs battery it may not have to spare.
Battery devices do not route, and that is the whole design
The split is simple and worth internalising:
- Mains-powered ZigBee devices (wall switches, sockets, in-line modules, some lamps) route. They are always awake, they have no power budget to protect, and they form the backbone of the mesh.
- Battery devices (sensors, buttons, locks, some thermostats) do not route. They sleep, they wake to report, and they rely entirely on whichever router is nearest at the moment they need it.
So the stability of every battery sensor in the house is a function of where the mains-powered devices are. A house with two routers and fourteen sensors is fragile. A house with eleven routers and fourteen sensors is robust, because almost every sensor has a router within a few metres no matter where it is mounted.
This is the practical argument for fitting switches rather than smart bulbs in a retrofit: a smart bulb that is switched off at the wall is a router that has left the building.
What actually happens during a replacement
- The old switch stops relaying. Routes through it fail.
- Battery devices that depended on it retry, fail, and fall back to a slower recovery path. Some recover in minutes; some only recover the next time they wake for a scheduled report, which for a temperature sensor can be an hour.
- The new switch joins, and joins as a new device. It does not inherit the old one's place in the routing tables.
- Other routers update their neighbour tables, but the mesh does not globally re-optimise just because one node changed.
Step 4 is the one that catches people out. The mesh does not instantly recompute the best path for every device. It repairs what is broken and carries on.
The failure looks like a device fault and is a topology fault
Signature symptoms worth recognising:
- The failure appears minutes or hours later, not during the work. Battery devices are asleep; you see the gap when they next report.
- The affected device is not adjacent to the one you changed. It is the one routing through it, possibly two rooms away.
- The device recovers on its own. That is the sensor finding a new parent, not the fault clearing.
- Re-pairing the sensor fixes it instantly. Forcing a rejoin does an explicit route discovery — the expensive operation it was avoiding.
How to change a switch without taking the house apart
- Add the replacement before removing the old one. Join the new device while the old router is still in place, then remove it. The mesh then has somewhere to send traffic that used to go through it.
- Trigger a network repair afterwards. Most hubs have a "repair" or "rebuild" action, sometimes only in the ZigBee settings screen. Run it once the new device is in.
- Wait a reporting cycle before judging. Door sensors report on event; temperature sensors on an interval. Judge the door sensors first.
- If a device is still missing, re-pair that device, not the switch. You are fixing its route.
Where to put the routers
Because mains devices are the backbone, their placement is the design decision, not the hub's. Two rules resolve most problems:
- One mains-powered device per room that contains battery sensors. Not per floor, per room. A ZigBee socket behind the sofa is a legitimate mesh investment.
- Do not put every router on one circuit. If a lighting circuit trips, every switch on it leaves the mesh at once — a large simultaneous hole. Spread them across circuits.
The hub matters less than people expect. A second identical hub adds no routers; a socket in the far bedroom does.
Current mains-powered options are listed under smart switches for home, and the protocol-specific range is in the ZigBee smart switch selection. The wider catalogue is at the smart switch category, and panel-level choices on the OEM side are described in the smart switch board manufacturing programme.
Top comments (0)