The idea was simple - control the entrance gate from the ewelink app. I put the battery in an external cage. I connected one wire directly to the remote control (Space 2 buttons - button permanently "on") , the other via the Sonoff in inching mode. When the Sonoff was switched on, the circuit was to switch on for 1 sec and off and the gate would respond.
The problem is that the Sonoff switches on twice (once inching) and the gate responds 2 times. Without a battery (standard 12V 23A) everything works fine (previously the sonoff works with lights powered by 2 sticks and no problems either), with a battery unfortunately not. Changing the cables, a stronger power supply for the Sonoff (via micro usb) does not help. The second Sonoff behaves in the same way.
According to the specification, the current flowing (at least that's how I understand it) should not be more than 10A, but the battery has 23A and this could be the problem.
I would appreciate any advice.
Below is the diagram:
.
The device itself appears under the name I indicated in the title Sonoff 1 Chnl Inching/self-locking
The problem is that the Sonoff switches on twice (once inching) and the gate responds 2 times. Without a battery (standard 12V 23A) everything works fine (previously the sonoff works with lights powered by 2 sticks and no problems either), with a battery unfortunately not. Changing the cables, a stronger power supply for the Sonoff (via micro usb) does not help. The second Sonoff behaves in the same way.
According to the specification, the current flowing (at least that's how I understand it) should not be more than 10A, but the battery has 23A and this could be the problem.
I would appreciate any advice.
Below is the diagram:

The device itself appears under the name I indicated in the title Sonoff 1 Chnl Inching/self-locking