Main

A Spare-Parts Kit for an Installed Smart Home Is a Recovery Kit

The question “which sensors should I stock?” is the wrong first question. A spare-parts kit for an installed local-first stack is not a stockpile; it is a recovery kit. Its job is to answer one question on the worst day: which failures can I recover from without re-pairing every device in the house?

That framing changes what you buy. A duplicate door sensor restores one door. A compatible spare coordinator, plus a current backup, restores the whole network. The kit should be organized around failure scenarios — coordinator failure, end-device failure, battery failure, and failed migration — not around a shopping list of sensor categories. For a broader inventory of what quietly runs your week, the small-systems audit is a useful companion to this exercise.

The four failure classes the kit must cover

Before buying anything, write down which of these you can currently recover from, and how long it would take:

  1. Coordinator or adapter failure. The radio that runs the whole Zigbee or Z-Wave mesh dies. This is the failure that takes everything down at once.
  2. End-device failure. One sensor, button, or plug stops responding or dies outright.
  3. Battery failure. A device drops off because its cell is flat, and you discover it during a pairing attempt rather than before.
  4. Failed migration. You try to move to a new adapter or host and the network does not come back cleanly.

Most kits people assemble cover class 2 and ignore class 1. That is backwards. The coordinator is the single point of failure for the entire radio network, and the documentation is explicit about when you can and cannot restore it.

Tier 1: a spare coordinator of the same radio family

This is the highest-value item in the kit, and the one most often skipped. The reason is not that coordinators fail often — I have no data on failure rates, and neither does the documentation. The reason is that coordinator failure is the failure with the largest blast radius, and recovery depends on capabilities that are fixed at purchase time.

Zigbee2MQTT states that only adapters based on zStack (Texas Instruments) or EmberZNet (Silicon Labs) currently support backing up the coordinator to coordinator_backup.json. Its FAQ goes further: migration from one adapter to another requires backup and restore support, which is implemented only for zstack and ember adapters; backup and restore is not supported for other adapter types. See the Zigbee2MQTT adapter documentation and the Zigbee2MQTT FAQ.

The practical consequence: if your installed coordinator is in a family without backup support, a spare coordinator of the same family does not give you a restore path. It gives you a re-pairing path. That is still worth having, but you should label it honestly. A spare that you believe will restore the network, and that in fact requires factory-resetting every device, is worse than no spare, because it creates a false sense of recoverability.

Two purchasing rules follow from the documentation:

  • Buy the spare in the same radio family as the installed coordinator. Zigbee2MQTT notes that switching between zstack and ember may not require re-pairing, but results vary and it is not officially supported. Do not plan a recovery around an unsupported cross-family swap.
  • Prefer a locally connected USB or UART adapter. Zigbee2MQTT warns that WiFi-connected adapters may have reduced stability because the serial protocol lacks fault tolerance for packet loss and latency, and recommends a wired Ethernet adapter if a local connection is not possible. A spare that introduces a new instability is not a spare.

For Z-Wave, the picture is different but the conclusion is similar. The Home Assistant Z-Wave JS documentation states that the Z-Wave mesh is permanently stored on the adapter, while additional metadata is not, and instructs users to keep a backup of the network security keys in a safe place in case the adapter needs to be moved to another device. It also documents a migration procedure for moving an existing network to a new adapter, with device-specific prerequisites: migrating from a 500 series adapter requires updating it to SDK 6.61+ first, and migrating to an Aeotec Z-Stick 10 Pro requires firmware 7.23.2 or later. See the Z-Wave JS integration documentation.

So the Z-Wave spare is a same-family adapter plus a stored copy of the security keys. Without the keys, the adapter is hardware; with them, it is a recovery path.

Tier 2: end-device spares, and the reset constraint

A duplicate sensor is only a spare if you have also recorded how to factory reset that specific model. This is the constraint people miss. Zigbee2MQTT states that any Zigbee device is limited to one coordinator and one network, and that moving a device to a different network requires a factory reset and re-pair. The Home Assistant Z-Wave JS documentation makes the parallel statement: you cannot join a device to a new network if it is still paired with an adapter.

That means a replacement device pulled from a drawer, still paired to some previous network, is not a spare. It is inventory with a prerequisite. The kit should include, for each stocked model, a printed reset procedure — the button sequence, the number of power cycles, or the exclusion step — taped to the device or filed with it.

Which end devices are worth duplicating? The honest answer is that no retrieved source establishes which sensor classes fail most often, so I will not invent a ranking. The defensible rule is to duplicate the devices whose failure has the highest consequence for you, not the devices that are most common in general. A leak sensor under a washing machine and a door sensor on an exterior door are not equivalent failures. Stock the duplicate whose absence would force a same-day compromise, and accept that the rest of the network can wait for a replacement order.

One more constraint on end-device spares: do not stock a device you cannot reset. If the reset procedure is undocumented or requires a tool you do not have, the device is not a spare.

Tier 3: consumables and small parts

This tier is boring and it is where the troubleshooting documentation keeps pointing. Zigbee2MQTT’s FAQ names interference and USB enumeration as recurring causes of pairing failure, and its remedies are physical:

  • A USB extension cable. The FAQ recommends connecting the coordinator through one when interference is suspected, and notes the problem occurs often with Raspberry Pi 3 and 4.
  • A powered USB hub. The FAQ suggests connecting other USB devices through a powered hub if disconnecting them makes pairing work.
  • Awareness of USB-to-UART VCP drivers. The adapter documentation notes that a VCP driver may be needed when the OS cannot see a dongle, and names Silicon Labs, FTDI, and WCH as sources.
  • Serial-by-id path discipline. The Home Assistant ZHA documentation recommends using the device path from /dev/serial/by-id rather than a bare path like /dev/ttyUSB0. A spare adapter that enumerates at a different path is a recovery step you have not rehearsed unless your configuration uses the stable path.

Batteries belong here too, with a caveat. Zigbee2MQTT’s FAQ lists replacing the battery as a remedy when a battery-powered device fails to pair. That supports keeping the correct cell for your stocked devices on hand. It does not support a claim about replacement intervals or which chemistry to standardize on; no retrieved source provides those figures, and I have not measured them.

For MQTT-based devices, add one more item to this tier: a saved copy of the broker’s user options. The Home Assistant MQTT documentation states that if the official Mosquitto broker needs to be re-installed, you should save a copy of the app user options, such as additional logins. It also notes that when MQTT starts up, existing MQTT devices and entities are unavailable until a discovery message is received and processed — which is why a broker reinstall is a recovery event, not a routine restart.

The procedures the kit must support

Parts without procedures are not a kit. Each of the following should be written down, with the exact menu path for your installed version, and rehearsed at least once on a non-critical device:

Zigbee coordinator backup and restore

For zstack and ember adapters, take a coordinator backup and store it with the kit. The Zigbee2MQTT FAQ describes the migration sequence: stop Zigbee2MQTT, determine whether re-pairing is required, and either copy the old adapter’s IEEE address to the new one (when re-pairing is not required) or remove the backup and database files (when it is). Note the conditional language — the documentation does not promise that every migration succeeds without re-pairing.

Z-Wave adapter migration

The Home Assistant documentation describes a migration flow under Settings > Connectivity > Z-Wave > Migrate adapter: unplug the old adapter, connect the new one, and let Home Assistant pair the new adapter with the existing network. It also states that you cannot run two Z-Wave adapters at the same time with the same Z-Wave JS app instance, so the swap is a swap, not a parallel run.

Z-Wave device removal and exclusion

For a device still paired to an adapter you no longer have access to, the documentation describes a “Remove foreign device” procedure under Settings > Connectivity > Z-Wave > Options. For a working device, the normal removal path puts the adapter into exclusion mode and requires putting the device into exclusion mode as well.

Re-pairing when backup is not supported

If your adapter family does not support backup, the kit is a re-pairing kit. That means labels on every device, a written reset procedure per model, and a maintenance window long enough to walk the house. Plan it before you need it.

What not to stock

Several plausible-looking items do not belong in the kit:

  • An adapter from a family without backup support, if you believe it will restore your network. It will not. It is a re-pairing tool.
  • A WiFi-connected coordinator as a spare. The Zigbee2MQTT guidance points toward local USB or wired Ethernet instead.
  • A second Zigbee network running alongside the first. Zigbee2MQTT states that a device can only be part of one network, and that there is no “Zigbee over IP” bridging in the protocol. A parallel network is not a failover.
  • A device you cannot factory reset. It is not a spare.
  • Firmware updates applied routinely as kit maintenance. The ZHA documentation warns that some updates can break features and that in rare cases a firmware update can brick a device. Update deliberately, not as a habit.

Two labeled walkthroughs

These are hypothetical illustrations of the documented procedures, not case records.

Scenario A: the coordinator dies on a Saturday, and you have a backup. You are running Zigbee2MQTT on an EmberZNet adapter and you have a current coordinator_backup.json plus a second adapter of the same family in the kit. You stop Zigbee2MQTT, swap the adapter, follow the documented migration steps, and start the service. The documentation supports this path for zstack and ember adapters; it does not guarantee that every device responds immediately, and the FAQ suggests restarting routers by removing them from mains power for a few seconds if devices do not respond. The recovery is restore-then-reconnect, not re-pair.

Scenario B: the coordinator dies, and you do not have backup support. You are on an adapter family the documentation lists as not supporting backup. The spare adapter in the kit does not restore the network. The recovery is a re-pairing session: factory reset each device per its model procedure, re-pair one at a time, and rebuild automations that referenced device names. This is why the kit should include labels and reset instructions, and why the maintenance window matters more than the hardware.

The one-page recovery card

The failure mode where you have the parts but not the procedure is real, and it is the one this exercise is meant to prevent. Tape a single page inside the enclosure that holds the kit. It should list:

  • The installed coordinator’s radio family and connection type.
  • Whether coordinator backup is supported, and where the backup file lives.
  • The Z-Wave security keys location, if applicable.
  • The exact menu paths for backup, restore, migration, and exclusion on your installed versions.
  • The reset procedure for each stocked end device.
  • The serial-by-id path of the installed adapter.
  • The date of the last rehearsal.

If the card cannot be filled in, the kit is not finished. And if the answer to “what happens when the coordinator dies” is a multi-hour re-pairing session you have not scheduled, a mechanical timer or a plain switch on the critical circuit may be the more reliable choice until the kit is complete. That is not a failure of the smart-home project; it is the tradeoff the documentation makes visible.

FAQ

Can I keep a spare Zigbee coordinator plugged in alongside the active one?

Not as a failover for the same network. Zigbee2MQTT states that each installation instance supports a single coordinator and a single Zigbee network, and that a device can only be part of one network. A second coordinator is a cold spare, not a hot standby.

Will swapping to a new adapter of the same family require re-pairing?

The documentation says re-pairing is not required when the adapter type stays the same (zstack to zstack, or ember to ember), with one exception: switching from a CC2531 or CC2530 to a CC2652 or CC1352 requires re-pairing. Cross-family swaps may work but are not officially supported.

Do I need to back up Z-Wave separately from Zigbee?

Yes. The Z-Wave mesh is stored on the adapter, and the Home Assistant documentation instructs you to keep a copy of the network security keys. The Zigbee coordinator backup is a separate file with separate support conditions.

Is a WiFi-connected coordinator acceptable as a spare?

The Zigbee2MQTT adapter documentation warns that WiFi-connected adapters may have reduced stability, and recommends a local USB or UART connection, or a wired Ethernet adapter if a local connection is not possible. A spare that adds a known instability is a poor trade.

Should I apply firmware updates to spare devices before storing them?

Not routinely. The ZHA documentation warns that some firmware updates can break features and that in rare cases a device can be bricked. Update deliberately, with a reason, and record what changed.