zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

SONOFF MINI-ZB2GS: L2 relay has noticeable delay when turning off in programmable stepper mode

Open michelemilani91 opened this issue 6 months ago • 4 comments

What happened?

When using programmable stepper mode (seq1) on the SONOFF MINI-ZB2GS, the L2 relay consistently shows a small but noticeable delay when turning on/off via the physical button, while L1 responds immediately.

Device info:

  • Model: SONOFF MINI-ZB2GS (Zigbee dual-channel smart switch, MINI-ZB2GS)
  • Device firmware: 4103 (latest)
  • IEEE address: 0x6cfd22fffeb548a6

Active stepper configuration (seq1):

{
  "double_press_interval": 1000,
  "enable_double_press": false,
  "enable_stepper": true,
  "step_1": { "enable_step": true, "relay_outlet_1": true,  "relay_outlet_2": false },
  "step_2": { "enable_step": true, "relay_outlet_1": false, "relay_outlet_2": true }
}

Troubleshooting already attempted (no improvement):

  • Turbo Mode ON/OFF
  • External trigger mode L2: pulse → edge → reverted to pulse
  • Delayed power on time L2: minimum is 0.5s, cannot be set to 0

Note: programmable_stepper_seq support was added in Z2M 2.8.0 via PR #11381.

What did you expect to happen?

Both L1 and L2 should respond with the same latency when switching states in stepper mode. L2 turning off should be as immediate as L1.

How to reproduce it (minimal and precise)

  1. Pair a SONOFF MINI-ZB2GS with Zigbee2MQTT
  2. Configure programmable stepper seq1 with step_1: L1=ON, L2=OFF and step_2: L1=OFF, L2=ON
  3. Press the physical button connected to S1 repeatedly to cycle through the stepper steps
  4. Observe that when L2 turns off (step_1), there is a noticeable delay compared to L1 turning off (step_2)

Zigbee2MQTT version

2.11.0

Adapter firmware version

20210708

Adapter

Sonoff Zigbee 3.0 USB Dongle Plus (CC2652P)

Setup

Home Assistant add-on on Home Assistant OS, arm64 (Cortex-A55 x4), kernel 6.12.85-haos

Notes

The Z2M converter encodes both relay states in a single Zigbee command payload (array[7+i] pattern in sonoff.ts), so the delay is unlikely to be a Z2M-side issue. The asymmetry between L1 (immediate) and L2 (delayed) response appears to be firmware-level behavior in the MINI-ZB2GS.

michelemilani91 avatar Jun 02 '26 14:06 michelemilani91

@lcheng33775823, i guess the issue is on the firmware side

michelemilani91 avatar Jun 02 '26 14:06 michelemilani91

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 02 '26 00:08 github-actions[bot]

Is this issue fixed? I have a similar problem with this sonoff!

MarcelP77 avatar Nov 25 '26 09:11 MarcelP77

@MarcelP77 , no. this issue has been closed automatically without any action

michelemilani91 avatar Nov 25 '26 10:11 michelemilani91