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.