Skip to content

Host setup and migration

ZeroStack uses the ZNP/MT host protocol across both TI and Silicon Labs (EFR32MG24 / EFR32MG26) coordinators. In Zigbee2MQTT and Home Assistant ZHA, select the zstack (or znp) adapter—existing TI Z-Stack users keep their config unchanged, while EmberZNet users switch from ember / ezsp to zstack.

Set adapter: zstack (or znp) in configuration.yaml (replacing adapter: ember or ezsp if migrating from Silicon Labs EmberZNet). On first boot against a freshly flashed coordinator, Z2M restores the PAN ID, IEEE address, network key, and link keys from coordinator_backup.json.

serial:
port: tcp://<coordinator-ip>:6638
adapter: zstack

Debug logging for a bug report. Set advanced: log_level: debug in configuration.yaml (or launch with DEBUG=zigbee-herdsman* to capture raw znp:SREQ / znp:AREQ frames), restart, reproduce once, and download the log.

advanced:
log_level: debug

Recommended host tuning. These settings reduce UART and airtime load on both stock firmware and ZeroStack:

  • Replace large unicast loops with Zigbee Groups so one AF_DataRequestExt groupcast crosses the UART instead of one request per device.
  • Set min_rep_interval >= 10s on chatty AC-powered Tuya power plugs.
  • Enable availability: with backoff: true and pause_on_backoff_gt: 25, and mark sleepy battery devices passive so they are not pinged.
  • Back up before and after. Take a backup before flashing and a second backup after the network stabilizes on ZeroStack.
  • Wait between restarts. On stock firmware, wait 10 seconds between container restarts so an in-flight serial parser timeout or NVRAM compaction can finish before the host reconnects.
  • Keep secrets out of reports. Never paste raw coordinator_backup.json, configuration.yaml, or unscrubbed logs. The Log Analyzer redacts keys and masks IEEE addresses locally.
  • Previous firmware. When filing a post-migration issue, record the previous firmware (for example a stock Z-Stack or EmberZNet build) in the previous-firmware field.