Koenkk / Koenkk/zigbee2mqtt

[SNZB-02D / SONOFF] ???

Open
#32,403 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

device still online after stop/start of the dongle-P, but no informations are sent. no logo of connected device shown. Only the button wake/reconnection can make it work.

What did you expect to happen?

automatic reconnection after shutting down and restart the dongle

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.12.0 (unknown)

Adapter firmware version

{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20250321,"transportrev":2}

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Thu Jun 18 16:52:30 UTC 2026 - 6.18.35-haos - x64
node: v22.22.2
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: SNZB-02D - SONOFF (v0.0.0)
software_build_id: 2.3.0
date_code: 20250116
endpoints:

{"1":{"bindings":[{"cluster":"genPollCtrl","target":{"endpoint":1,"ieee_address":"0x00124b003929d4bd","type":"endpoint"}},{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b003929d4bd","type":"endpoint"}},{"cluster":"msTemperatureMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b003929d4bd","type":"endpoint"}},{"cluster":"msRelativeHumidity","target":{"endpoint":1,"ieee_address":"0x00124b003929d4bd","type":"endpoint"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genPollCtrl","msTemperatureMeasurement","msRelativeHumidity","manuSpecificAmazonWWAH","customSonoffSnzb02d"],"output":["genOta"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":65000,"minimum_report_interval":3600,"reportable_change":10},{"attribute":"measuredValue","cluster":"msTemperatureMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":100},{"attribute":"measuredValue","cluster":"msRelativeHumidity","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":100}],"scenes":[]}}
Health

time: Thu Jun 25 2026 09:37:19 GMT+0200 (heure d’été d’Europe centrale)
os.load_average: 0, 0, 0
os.memory_percent: 53.4232
process.memory_percent: 5.7756
process.uptime_sec: 9515

{"leave_count":0,"messages":17,"messages_per_sec":0.0507,"network_address_changes":0}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the SNZB-02D failure with the ZStack3x0 adapter after restarting the dongle-P, then collect a debug log and inspect the adapter reconnection and device-reporting paths. Done means the device reconnects automatically and resumes sending information without a manual wake or reconnection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.