Hi Calberts,
Can you post an export of your flow to see how you have approached the solution ?
and to better visualize what you have tried until now ?
Instructions of how to post can be found here
by the way .. when the GPIO are open do we have to take in consideration how long they have to be open ? or the relays have a stop trigger ?