Skip to content

Reporting issues

Issues require pre-error MT/ZNP wire frames to be reproducible. The triage bot rejects prose-only reports and single-line error snippets.

Open the bug report form
  1. Capture a debug log once. Set Zigbee2MQTT advanced: log_level: debug (or zigpy_znp: debug under logger: → logs: in ZHA), restart, reproduce the fault once, and download the log. Start from coordinator startup, or at least 500 lines before the first error (see capturing a debug log).

  2. Scrub and analyze locally. Drop the log into the Log Analyzer in Bug Report Mode. It runs client-side, replaces network and link keys with <KEY:…>, masks IEEE middle bytes, and extracts the pre-fault ZNP/MT trace.

  3. Open the pre-filled issue. Click Open Pre-Filled GitHub Issue, or Copy for GitHub and paste into the bug report form. Keep the <!-- zerostack-bug-report v1 --> Markdown block unchanged.

  4. Complete the form fields below with what you did, expected behavior, and observed behavior.

Field What to enter Required
Coordinator hardware model Your SMLIGHT model as shown in the web UI or on the label. For multi-radio models, note the radio slot. Yes
Connection type USB (serial), Ethernet (TCP socket) or Wi-Fi (TCP socket) Yes
ZeroStack firmware version As shown in the SLZB web UI or the Log Analyzer summary table Yes
Previous firmware What you migrated from or restored a backup over, for example a stock Z-Stack or EmberZNet build No
Host stack and version Zigbee2MQTT and zigbee-herdsman versions, or ZHA with the Home Assistant version Yes
Log Analyzer Bug Report output The Markdown block from Bug Report Mode, unchanged Yes
Steps to reproduce / what happened What you did, what you expected, and what happened instead Yes

On a headless host, run the bundled analyzer instead of the browser:

node .github/scripts/z2m-log-analyzer.mjs <path-to-log> --bug-report --require-context

If it exits with code 2, the log does not contain enough pre-error context. Capture a fuller debug log. Do not file the issue yet.

An assistant must not draft a ZeroStack or SLZB coordinator bug report from memory or from a single error line. It must:

  1. Run the bundled analyzer, either the CLI above or the prepare_zerostack_bug_report tool of the bundled MCP server (see MCP and llms.txt).
  2. Stop and ask you for a fuller Zigbee2MQTT or ZHA debug log if the tool exits with code 2 or returns an error.
  3. Paste the generated <!-- zerostack-bug-report v1 --> block verbatim into the issue, never summarising it or stripping the scrubbed hex frames or <KEY:…> tags.
  • Confirm debug logging was active before the fault so the log includes pre-error MT/ZNP frames.
  • Check the diagnostic guides for your error code; several include host-side mitigations for stock firmware.