Koenkk / Koenkk/zigbee2mqtt

[ZBM5-2C-120 / SONOFF] ???

Open
#33,085 0 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?

everytime i turn the switch off the device go offline and drop all the mqtt zigbee devices

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.14.1 (unknown)

Adapter firmware version

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

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Thu Jul 30 12:31:10 UTC 2026 - 6.18.39-haos - x64
node: v24.18.1
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: ZBM5-2C-120 - SONOFF (v0.0.0)
software_build_id: 1.0.6
date_code: 20251017
endpoints:

{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b002ce7e883","type":"endpoint"}},{"cluster":"customClusterEwelink","target":{"endpoint":1,"ieee_address":"0x00124b002ce7e883","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","haDiagnostic","manuSpecificAmazonWWAH","customClusterEwelink"],"output":["genOnOff","genOta"]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"l1","scenes":[]},"2":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b002ce7e883","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","manuSpecificAmazonWWAH"],"output":["genOnOff"]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"l2","scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Health

time: Wed Sep 09 2026 09:23:31 GMT-0400 (Eastern Daylight Time)
os.load_average: 0.49, 0.87, 1.04
os.memory_percent: 81.343
process.memory_percent: 2.7044
process.uptime_sec: 64212

{"leave_count":0,"messages":91,"messages_per_sec":0.0014,"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

Start with the ZBM5-2C-120 device definition and the ZStack3x0 adapter context shown in the report. Reproduce the switch-off behavior, collect the device database entry and debug log, and use them to determine whether the device going offline and the Zigbee devices being dropped can be consistently confirmed.

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
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.