SONOFF MINI-ZBDIM - externalTriggerMode issue with SmartThings
I have been troubleshooting a SONOFF MINI-ZBDIM connected to a SmartThings / Aeotec hub.
Initially I assumed the problem was related to SmartThings, wiring, or firmware, but after testing the device with Zigbee2MQTT I found something interesting.
Device details:
-
Manufacturer: SONOFF
-
Model: MINI-ZBDIM
-
Firmware: 1.0.5
The device exposes a manufacturer-specific attribute called:
customClusterEwelink.externalTriggerMode
Possible values are:
-
edge
-
pulse
-
double pulse
-
triple pulse
When externalTriggerMode is set to pulse, the device works perfectly with a single momentary push button:
-
short press = on/off
-
long press = dim up/down
I verified that:
-
pulse mode works correctly
-
pulse mode survives power loss
-
firmware 1.0.5 appears to work correctly
However, SmartThings does not expose this setting.
The interesting part is that after removing the device from Zigbee2MQTT and rejoining, the device reverts to double pulse, which produces behavior very similar to what SmartThings users have reported:
-
dimming up works
-
dimming down may not work correctly
-
on/off behavior can be inconsistent with a single push button
It appears that the issue may not be the dimmer itself, but rather that SmartThings does not expose customClusterEwelink.externalTriggerMode.
Questions:
-
Has anyone created an Edge driver that exposes this attribute?
-
Is there a way to read/write attributes in
customClusterEwelinkfrom an Edge driver? -
Has anyone successfully used MINI-ZBDIM with a single momentary push button in SmartThings?
Any information would be appreciated.
Thanks.