Koenkk / Koenkk/zigbee2mqtt

Sonoff button SNZB-01P. Zigbee MQTT

Open
#33,149 1 comment 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?

I’ve several buttons configured and running in automations with single, double or long press actions.
Now I’ve bought a new one and when I try to edit the automations, I cannot see the 3 actions class.

What did you expect to happen?

To see the three types of actions

How to reproduce it (minimal and precise)

I’ve tried with my existing buttons configured and a new one.

Zigbee2MQTT version

2.14.1 (unknown)

Adapter firmware version

{"build":0,"ezsp":13,"major":7,"minor":4,"patch":4,"revision":"7.4.4 [GA]","special":0,"type":170}

Adapter

EmberZNet

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: SNZB-01P - SONOFF (v0.0.0)
software_build_id: 2.2.0
date_code: 20230908
endpoints:

{"1":{"bindings":[{"cluster":"genPollCtrl","target":{"endpoint":1,"ieee_address":"0x24d660fffea3ae2d","type":"endpoint"}},{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x24d660fffea3ae2d","type":"endpoint"}},{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x24d660fffea3ae2d","type":"endpoint"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genPollCtrl","manuSpecificAmazonWWAH"],"output":["genIdentify","genOnOff","genOta"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":7200,"minimum_report_interval":3600,"reportable_change":0},{"attribute":"batteryVoltage","cluster":"genPowerCfg","maximum_report_interval":7200,"minimum_report_interval":3600,"reportable_change":0}],"scenes":[]}}
Health

time: Thu Sep 17 2026 21:13:14 GMT 0200 (hora de verano de Europa central)
os.load_average: 0.28, 0.2, 0.17
os.memory_percent: 79.1745
process.memory_percent: 5.9835
process.uptime_sec: 127227

{"leave_count":0,"messages":25,"messages_per_sec":0.0002,"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 by reproducing the SNZB-01P behavior with the reported Zigbee2MQTT 2.14.1 setup and inspect the device definition and emitted action data for this model. Compare it with the existing buttons that expose single, double, and long presses. Done means the three action types are available when editing automations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.