zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Sonoff Mini ZBDIM transition not 0

Open andreaskoelsch opened this issue 2 months ago • 9 comments

What happened?

I have a Sonoff Mini ZBDIM and configured "dimmer_transition_time": 0. However, there's still a visible transition when turning on/off the light. This is especially annoying when walking into a room and turning on the light using the wall switch as it takes some time unti it's on.

Now, I'm not sure, whether this is a Z2M issue or simply that the dimmer cannot do instant on/off.

What did you expect to happen?

Lights turning on/off immediately with no transition when "dimmer_transition_time": 0

How to reproduce it (minimal and precise)

  • Set "dimmer_transition_time": 0
  • toggle light state

Zigbee2MQTT version

2.14.1

Adapter firmware version

8.0.2 [GA]

Adapter

Sonoff ZB Dongle-E

Setup

HA addon

Device database.db entry

No response

Debug log

No response

Notes

No response

andreaskoelsch avatar Sep 11 '26 23:09 andreaskoelsch

Please try this: Go to device -> dev console -> read / write attributes -> endpoint 1 -> cluster genLevelCtrl

Here select attribute onOffTransitionTime and read it, then try to change it to 0. The unit is deciseconds. Also try onTransitionTime and offTransitionTime (different transitions for on and off).

Let me know if they are supported

andrei-lazarov avatar Sep 12 '26 07:09 andrei-lazarov

Unfortunately, none of them is supported.

[12.9.2026, 20:58:37] z2m: Publish 'set' 'read' to 'Arbeitszimmer Licht' failed: 'Error: ZCL command 0x18690afffefc491d/1 genLevelCtrl.read(["onOffTransitionTime","offTransitionTime","onTransitionTime"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

While browsing through the clusters, I also found endpoint 1 -> customClusterEwelink -> transitionTime. I set it to 0, but it didn't change anything.

andreaskoelsch avatar Sep 12 '26 19:09 andreaskoelsch

genLevelCtrl.read(["onOffTransitionTime","offTransitionTime","onTransitionTime"],

Try one by one. Reading multiple attributes will return the error even if only one attribute is unsupported

customClusterEwelink -> transitionTime

Yes, this is dimmer_transition_time

andrei-lazarov avatar Sep 12 '26 21:09 andrei-lazarov

I did try them one by one first. None worked. I did all of them together to have a concise error message.

andreaskoelsch avatar Sep 12 '26 21:09 andreaskoelsch

In that case please contact Sonoff to request this feature (for a future firmware update)

andrei-lazarov avatar Sep 12 '26 21:09 andrei-lazarov

I talked to the Sonoff customer service, here's the reply.

Certain lighting fixtures exhibit high capacitive characteristics, generating a power surge several times the rated wattage at the moment of activation. While the internal mechanical structures of relays in standard models can briefly withstand the resulting heat, the MOSFETs used in dimming equipment are semiconductor components; an overload will inevitably cause component breakdown, leading to a loss of dimming functionality or even total device failure. ​ Therefore, it is essential to slow down the startup process to protect these components.

Even if the Transition time is set to 0, the firmware still reserves a 0.5-second power-on delay to improve device lifespan, and there are currently no plans to allow modification.

So, nothing we can do about it. Bummer!

andreaskoelsch avatar Sep 21 '26 07:09 andreaskoelsch

Hello @cubez2mdeveloper can you edit the description for dimmer_transition_time to clear confusion? Maybe valueMin should be 0.5s?

andrei-lazarov avatar Sep 22 '26 22:09 andrei-lazarov

Thanks for reporting this.

We have forwarded this feedback to our firmware team, and they will include this item in their iteration plan.

Regarding whether valueMin should be limited to 0.5s, we cannot give a definitive conclusion at this stage. We will wait until the firmware iteration plan is confirmed and then consider whether such a limitation is appropriate.

Thank you for your feedback!

CubeZ2mDeveloper avatar Sep 23 '26 06:09 CubeZ2mDeveloper

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 Nov 23 '26 00:11 github-actions[bot]