Control grove relay with timed delay

I can control my grove relay via ifttt very well. Everything works fine. Now my question: I would set the relay on and after a timed relay (3 - 5 seconds) it should set automated off. How is the best way to do that ?

I have something read in the api reference about doing own functions in the user logic block. But I’m not a developer, so my programming skills are not so good. Is there a simpler way to do that ? Thank you, for your support.

Yes, I want this function also. But sorry for that, Now IFTTT can’t do it.

Someone use Node-Red program more logic control.
Good Example: viewtopic.php?f=72&t=6939

But But, You give me a idea, why not create new action with simple, useful logic for some Groves.

Ten

Hi,

I have written a little java programm to have accesse to the relay.

sourcecode will be sent in the next days

best regards
Michael
wio_link_relay.zip (699 KB)