Sonoff MINI-D inching mode

Hello,

I’ve bought a Sonoff MINI-D and wanted to use it as garage opener.
Pairing with HA was fine, but the device is shown as a regular on/off switch.
In the eWeLink app there was a setting to activate “Inching Settings”, unfortunately I can’t find a way to enable this in HA.
How do I change the switching mode from regular on/off to inching mode?

Thanks!

flash it with tasmota or esphome

I don’t think it’s possible to flash Sonoff matter devices and my question relates to the official HA matter integration.
The Sonoff MINI-D natively supports inching mode, which can be enabled or disabled in the eWeLink app. So it should be possible for HA to integrate the switch in the proper mode.

sorry, didn’t notice it is a matter device

I never used matter and probably won’t. Why don’t you just write an automation that turns on a relay for 0.25 seconds, then off.

I’m sure there will be a better way but I have exactly the same device used to open a garage door.

Done via a script

alias: Momentary Switch Garage Door
sequence:
  - action: switch.turn_on
    target:
      entity_id: switch.sonoff_100253ca85_1
    data: {}
  - delay: "00:00:01"
  - action: switch.turn_off
    target:
      entity_id: switch.sonoff_100253ca85_1
    data: {}
mode: single
description: ""
icon: mdi:garage

I was thinking about an automation, but my thought was:

If I press the HA button to close the garage and the switch somehow disconnects from wifi, the switch will stay on. Can the garage still be opened in this state with the remote control or is an emergency access required then?

That’s why I thought it would be better if you could enable inching mode and set the inching delay on the device itself, so it turns off automatically.

Well, I’ll give the automation a try and maybe also check how everything behaves in the described scenario.

If possible, the inching features could be added to the matter integration imo.

I don’t think inching is supported in the Matter spec. There can be custom fearures under Matter that only the manufacturer’s ecosystem may support.

HA has in the past supported some custom features, as they did with the Eve plugs energy monitoring features before monitoring was supported under Matter.

I don’t know what the current HA policy is on trying to support these off spec features.

Matter was supposed to stop this nonsense, but is still far from meeting that goal.

1 Like

I wonder why it wouldn’t be possible to flash a Sonoff matter device because they use esp32 chips. I’m thinking about buying one and flashing it, but I can’t find any docuemntation or teardowns of the device. Did anyone here try to flash it?

You can change the switch type on the device itself, according to the user manual here:-

But I don’t think you can change the length of the delay in inching mode.

It is the same mess as it was with custom Zigbee clusters, and different interpretation of the Zwave standard, or major changes in the Zwave standard.

On wifi, it gives a frustration free setup, but that’s it. This was a feature kind of before as well in each of the ecosystems.

To the OP, @katschub88, there is a custom Sonoff integration, which might solve your problem. It supports local communication as I remember.

Hello, maybe you have managed to solve it already, but I thought I share my experience.
As I just purchased this switch for the same purpose of automating my garage door I am not sure if that is new in the Sonoff native app (eWelink for the device) but there is a few additional settings available compaed to what is there in HA, including automatic switch off timing. I have set mine to 0,5sec and that is working perfectly for my garage door SBS function both from HA as well as from eWelink. That setting is not available in HA, as you mentioned, but you probably do not need to change it very often. Another eWelink feature I tried to use is decoupling the S1-S2 manual switch input with dry contact to use it independently for another purpose (to connect a self-resetting switch for a dimmable smart light that does not have its own physical switch). That setting is unfortunately not visible in HA either, whereas for my idea I would need the S1-S2 switch input to appear as an independent Control, instance in HA. So, indeed based on my experience with this Sonoff matter dry switch as well as with newly released Ikea matter-over-thread devices, Matter is still far from being a magic bullet, so I will prefer another zigbee device where possible for now.