Introduce short temporization (1-10s) at command activation

I would like you to implement the adjustable timing function (channel activation for a short duration, like 1-2s); I use a Sonoff mini to activate a remote control from an automated gate; I need the channel to be ON for 1-2s at the moment of activation; the application was blocked several times, and my remote control battery ran out !

do you mean turn on for 1-10s and then turn off?
try the inching mode, go to settings page of the mini to find if there is an Inching option, there you can do this.