This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Special delay
#1
Hi.

I think i makes everything more difficult than it has to be.. Rolleyes

I want to have a script (maybe eventbased), when i get 1 on the incoming adress i want to send a 30min delayed
% value to the outgoing adress.

If incoming is 0, nothing will happen.


Best regards
Reply
#2
See this:
https://forum.logicmachine.net/showthrea...4#pid26134
------------------------------
Ctrl+F5
Reply
#3
Think i got it...

--event based
if event.getvalue(1)
  then
 
  --Delay
value = 1
os.sleep(60*30)
value = 11
grp.write('32/1/2', value)
else
end
Reply
#4
In this case make sure to set the execution mode to last instance only.
------------------------------
Ctrl+F5
Reply
#5
What do you mean with that ?
Reply
#6
https://app.screencast.com/Zck27WZ4EUGlj
------------------------------
Ctrl+F5
Reply


Forum Jump: