Control grove relay with timed delay

Simplify IoT Development.

Moderators: lily.li, violet, seth.welday

Post Reply
email4kai
Pre-kindergarten
Pre-kindergarten
Posts: 9
Joined: Wed May 04, 2016 3:24 am

Control grove relay with timed delay

Post by email4kai » Wed May 04, 2016 3:34 am

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.

teng.wang
Pre-kindergarten
Pre-kindergarten
Posts: 37
Joined: Fri Apr 08, 2016 10:50 am

Re: Control grove relay with timed delay

Post by teng.wang » Wed May 04, 2016 2:44 pm

email4kai wrote: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: http://www.seeedstudio.com/forum/viewto ... =72&t=6939

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

Ten

michael.lankers
Pre-kindergarten
Pre-kindergarten
Posts: 8
Joined: Wed May 04, 2016 2:30 am
Location: Geldern, Germany

Re: Control grove relay with timed delay

Post by michael.lankers » Thu May 05, 2016 5:00 am

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

Post Reply