Is it possible to give the relays commands so he closed automatically after X seconds? So for example: Relay on 1 10 seconds
Yes. I used the .cpp sample code and used the built-in function Sleep. It requires an int to be passed in (already configured) which is set in ms. (1000 = 1000ms).