I made a working electric application based on Shelly Uni.
With the help of this application, I want to manage the entrance gate to the property. Opening the gate, stopping the gate and adding a temperature and humidity sensor dht22( because I had free entry).
Everything works, buttons, temperature. But I want Shelly to count down, for example, 20 seconds after opening the gate and close the gate itself.
I tried various settings, but only the output is active for a certain time and turns it off after a certain time.
And I would like that when the sensor closes the input IN1, Shelly will count down 30 seconds and then close the OUT 1 output for e.g. 1 sec, giving the signal to the gate controller to close.
thank you in advance for your help