[Bug]: SONOFF MINI-ZB2GS (fw v1.1.2) - Missing double-click and long-press actions in Relay Detach mode
What happened?
What happened?
On the SONOFF MINI-ZB2GS updated to firmware v1.1.2 (4354), double-click and long-press events are not exposed/published under action when using detach_relay_mode with momentary push-buttons (pulse mode).
According to the v1.1.2 OTA release notes:
"3. Added double-click and long-press event reporting in Relay Detach mode, and separate Follow ON/OFF event reporting."
Currently:
- A single press publishes
"action": "toggle_l1"/"action": "toggle_l2"(instead ofsingle_l1/single_l2). - A double press (< 400 ms) or long press (~2 s) triggers a Zigbee radio message from the device (confirmed by
last_seenupdating immediately in Z2M without firing twotoggleactions), but noactionfield is published in the MQTT payload.
What did you expect to happen?
When detach_relay_mode is set to ENABLE and external_trigger_mode is set to pulse on firmware v1.1.2, single, double, and long press events on S1/S2 should be decoded and published under action (e.g. single_l1, double_l1, long_l1 and single_l2, double_l2, long_l2).
How to reproduce it (minimal and precise)
- Pair a SONOFF MINI-ZB2GS running firmware v1.1.2 (
4354) wired to momentary push-buttons. - Enable
detach_relay_mode(ENABLEfordetach_relay_outlet1anddetach_relay_outlet2). - Set
external_trigger_mode(l1andl2) topulse. - Perform a single press, a fast double press, and a long press while monitoring MQTT logs:
- Single press emits
{"action":"toggle_l1", ...} - Double press and long press update
last_seenbut omitactioncompletely.
- Single press emits
Zigbee2MQTT & Environment
- Platform: Home Assistant OS (Raspberry Pi 4)
- Adapter: SONOFF Zigbee 3.0 USB Dongle Plus (
EFR32MG21/ Ember) - Device: SONOFF
MINI-ZB2GS - Firmware version:
v1.1.2(installed_version: 4354)
Relevant MQTT Payload
Single press on L1:
{
"action": "toggle_l1",
"detach_relay_mode": {
"detach_relay_outlet1": "ENABLE",
"detach_relay_outlet2": "ENABLE",
"detach_relay_outlet3": "DISABLE"
},
"external_trigger_mode": "pulse",
"external_trigger_mode_l1": "pulse",
"external_trigger_mode_l2": "pulse",
"last_seen": "2026-11-20T13:24:48+01:00",
"linkquality": 156,
"programmable_stepper_seq1": {
"double_press_interval": 500,
"enable_double_press": false,
"enable_stepper": false,
"switch_outlet": 1
},
"state_l1": "OFF",
"state_l2": "OFF",
"turbo_mode": true,
"update": {
"installed_version": 4354,
"latest_version": 4354,
"state": "idle"
}
}
### What did you expect to happen?
_No response_
### How to reproduce it (minimal and precise)
_No response_
### Zigbee2MQTT version
2.14.3
### Adapter firmware version
8.0.2 [GA]
### Adapter
EmberZNet
### Setup
Ru on a Raspberry ยจPi4
### Device `database.db` entry
_No response_
### Debug log
_No response_
### Notes
_No response_
CC @cubez2mdeveloper
https://github.com/Koenkk/zigbee-herdsman-converters/pull/13631
It needs this to work, should be available in next release or now in dev.
Thanks for this information.
I think, this is fail release OTA without Koenkk/zigbee-herdsman-converters#13631
The required converter changes are already included in https://github.com/Koenkk/zigbee-herdsman-converters/pull/13631 , which has been merged into the master branch.
This change is expected to be included in the next official Zigbee2MQTT release.
Thanks for your patience!