Node Red - Sonoff 4CHPROR3 Buttons with time Intervall/trigger

Hello,

I am a total newbie to Node Red, so I need some help.

I have since a few days Electric skylights from the company ROTO. These I can open / close electrically and also open and close the blind.
Unfortunately, this only works directly either via the Centronic Stick from Becker or via the Mediola Interface.
Alternatively, I can operate this via control lines (potential-free contact/dry contacts).

I have now found the solution for me to realize this via the Sonoff 4CHPROR3

Channel 1 Window OPEN
Channel 2 Window CLOSED
Channel 3 Shutter Open
Channel 4 Shutter CLOSED

This works. I set the channels on the Sonoff to time interval mode 0,5 sec and so the functions are given.

What I do not achieve is to stop the opening / closing, because I need a long keystroke and that does not work.
Also the opening in the rain (rain sensor) does not work, because I have to press 2x to open the window.

In order not to have to buy another Sonoff, where I then disable “time interval switch”, I would like to try this with Node Red (Sonoff channels with time control).

There should be an entity that triggers the functions “Button”.

Button open/close = 0,5 sec
Button stop = 3 sec (or more)
Button open rain = 2x 0,5 sec

Has created something like this before or can give me (absolute beginner tips) about it?
Gladly also in German :slight_smile:

Thanks
Andreas