zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

SONOFF MINI-ZBRBS: external_trigger_mode "following(on)" reads back as "pulse" since firmware 4609 (1.2.1)

Open firepeg-debug opened this issue 1 week ago • 8 comments

What happened?

Since the OTA update from firmware version 4101 (1.0.5, 20250711) to 4609 (1.2.1, 20261112), setting external_trigger_mode to "following(on)" no longer works. Z2M sends the value without any error, but reading it back returns "pulse", and the device actually behaves as in pulse mode (latching wall switch: releasing to STOP no longer stops the motor). With firmware 4101, following(on) worked as expected. "edge" still works on 4609.

What did you expect to happen?

Expected: following(on) Actual: pulse

How to reproduce it (minimal and precise)

  1. Set external_trigger_mode to "following(on)"
  2. Read external_trigger_mode back (get)

Zigbee2MQTT version

2.14.3

Adapter firmware version

7.4.5 [GA]

Adapter

SONOFF Dongle Max (Dongle-M, EFR32MG24), ember driver, network connection (tcp://:6638)

Setup

Home Assistant add-on (Zigbee2MQTT 2.14.3-1) on Home Assistant OS, running as a VM on Proxmox VE 9 (Dell OptiPlex Micro 7010, i5-13500T, x86-64). Coordinator: SONOFF Dongle Max over Ethernet (TCP), ember driver.

Zigbee2MQTT 2.14.3, frontend 2.15.1 zigbee-herdsman-converters 26.125.0 zigbee-herdsman 11.2.0 Node v24.22.1 Linux 6.18.58-haos x64 EmberZNet 7.4.5 [GA]

Device database.db entry

No response

Debug log

Log [22/11/2026 22:58:05] frontend:api: Sending {"topic":"0xc02cedfffeef09a9/set","payload":{"external_trigger_mode":"following(on)"}} [22/11/2026 22:58:06] frontend:api: Sending {"topic":"0xc02cedfffeef09a9/get","payload":{"external_trigger_mode":""}} [22/11/2026 22:58:06] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Volet Bureau', payload '{..."external_trigger_mode":"pulse",...,"update":{"installed_version":4609,...}}'

Notes

No response

firepeg-debug avatar Nov 22 '26 22:11 firepeg-debug

With firmware 4609 (1.2.1, 20261112):

  • Writing external_trigger_mode = "following(on)" works: the device behaves in following mode (latching switch STOP stops the motor).
  • Reading the attribute back (refresh button / get request) returns "pulse" AND actually switches the device to pulse behaviour: after the read, STOP no longer stops the motor. Setting following(on) again restores it.
  • With firmware 4101 (1.0.5), set/get worked correctly. So a simple get request changes the device configuration.

firepeg-debug avatar Nov 23 '26 09:11 firepeg-debug

After update my wall switch does no longer work with "Edge" mode. Controls via z2mqtt do work. Same issue or different bug?

(after switching power off and on it starts to work again, but i don't know if this is a permanent solution?)

thomas-ostarek avatar Nov 23 '26 14:11 thomas-ostarek

cc @cubez2mdeveloper

andrei-lazarov avatar Nov 23 '26 17:11 andrei-lazarov

I have the same probleme with my switch and the new 4609 but not on all my shutter. And some of them works well after a power outage and other not

Totalementaumax avatar Nov 24 '26 09:11 Totalementaumax

We checked this with the firmware team and confirmed that this is related to the device's historical behavior.

The following(on) and following(off) options have been exposed for historical reasons, but they are not actually supported operating modes. In practice, any mode other than edge is handled as pulse by the device.

This behavior is consistent across both the old and new firmware versions, so it is not a regression introduced in firmware 1.2.1.

To avoid further confusion, we plan to hide the following(on) and following(off) options in a future converter update.

Thanks for bringing this to our attention.

CubeZ2mDeveloper avatar Nov 26 '26 06:11 CubeZ2mDeveloper

We checked this with the firmware team and confirmed that this is related to the device's historical behavior.

The following(on) and following(off) options have been exposed for historical reasons, but they are not actually supported operating modes. In practice, any mode other than edge is handled as pulse by the device.

This behavior is consistent across both the old and new firmware versions, so it is not a regression introduced in firmware 1.2.1.

To avoid further confusion, we plan to hide the following(on) and following(off) options in a future converter update.

Thanks for bringing this to our attention.

Since the last update, the edge mode is not working as before. I need to push the stop physical button to get the shutter going up and for other shutters, the physical button is not working at all. Any thoughts on this?

El-Daron avatar Nov 26 '26 07:11 El-Daron

We checked this with the firmware team and confirmed that this is related to the device's historical behavior. The following(on) and following(off) options have been exposed for historical reasons, but they are not actually supported operating modes. In practice, any mode other than edge is handled as pulse by the device. This behavior is consistent across both the old and new firmware versions, so it is not a regression introduced in firmware 1.2.1. To avoid further confusion, we plan to hide the following(on) and following(off) options in a future converter update. Thanks for bringing this to our attention.

Since the last update, the edge mode is not working as before. I need to push the stop physical button to get the shutter going up and for other shutters, the physical button is not working at all. Any thoughts on this?

According to the upgrade instructions in https://github.com/Koenkk/zigbee-OTA/pull/1389, please make sure all external switches are fully released (not pressed or held).

If the device is still behaving abnormally, please restart it after releasing all external switches. This may help restore normal operation.

Could you let us know whether this resolves the issue?

CubeZ2mDeveloper avatar Nov 26 '26 09:11 CubeZ2mDeveloper

Same regression here after OTA 4101 (1.0.5) -> 4609 (1.2.1), 3 MINI-ZBRBS on Ember (Sonoff Dongle-M), Z2M frontend still showing external_trigger_mode "edge".

Setup: 3-position latching rocker (up / stop / down). After the update, the cover only moved when the rocker went BACK to the middle "stop" position (pulse-like behaviour). Toggling edge/pulse/following(on)/following(off) in Z2M did not help; following modes behaved erratically.

Workaround that fixed it: put every wall rocker in the middle (stop) position, cut mains power to the modules for ~20 s, power back on. All 3 units now work normally in edge mode on 4609. A unit that was power-cycled with its rocker NOT in the stop position kept the wrong behaviour until power-cycled again with the rocker in stop.

Looks like the firmware samples the external switch state at boot and uses it as the reference.

grotibo avatar Dec 03 '26 09:12 grotibo