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: zstackDebug 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: debugRecommended 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_DataRequestExtgroupcast crosses the UART instead of one request per device. - Set
min_rep_interval >= 10son chatty AC-powered Tuya power plugs. - Enable
availability:withbackoff: trueandpause_on_backoff_gt: 25, and mark sleepy battery devices passive so they are not pinged.
Download a network backup first: Settings → Devices & Services → Zigbee Home Automation → Configure → Download Backup. After flashing, ZHA detects the coordinator (choose ZNP / TI Z-Stack if migrating from EmberZNet) and restores the network from the backup without re-pairing.
Debug logging for a bug report. Enable via the UI or configuration.yaml:
- UI: go to Settings → Devices & services → Zigbee Home Automation, select
⋮→ Enable debug logging, reproduce the fault (or select⋮→ Reload for startup faults), then select Disable debug logging to download the log. - YAML: set
zigpy_znp: debugunderlogger:→logs:, restart, reproduce once, and download the log.
The Log Analyzer matches ZHA signatures including SRSP not received for AF.DataRequestExt.Req and DeliveryError.
Migration notes
Section titled “Migration notes”- 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.

