timerSet rule

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
hyperx
New user
Posts: 3
Joined: 16 Jun 2016, 09:48

timerSet rule

#1 Post by hyperx » 16 Jun 2016, 09:53

Hello,

i just created a switch (with an relay) which should work as a button.
For this case, i created a rule:

On switch1#Switch1 do
gpio,5,1
timerSet,1,1
endon

On Rules#Timer=1 do
gpio,5,0
endon

So if Switch1 has the command "ON", after a secound it should be "OFF"
Unfortunately 1 secound is in REAL ~4 secounds. So it seems that it has an delay for some reasons.
Any ideas about that problem ?
Thanks.

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: timerSet rule

#2 Post by costo » 19 Jun 2016, 00:58

Any ideas about that problem ?
It is not a problem, it is a feature :lol:

It is a known fact that there can be a substantial delay over WiFi , you have to live with it.
I have it too when I use rules, a few seconds is normal.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests