Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting a delay between commands?
#1
What is the best practice for inserting a small delay <5s between two commands? I am operating roller shades that I want synchronized. I thought you could do this with the system::pause() command, but that is not working for me.


Devices::FieldWrite
P1=ELK-M1.Output031
P2=True
P3=True

System:Tongueause
P1=3000

Devices::FieldWrite
P1=ELK-M1.Output033
P2=True
P3=True


When run this will simply turn both outputs on without the delay. Is this not how the pause command was meant to be used?
Reply
#2
Pause should certainly really pause. It will only be 3 seconds, are you sure you aren't seeing that small pause? Maybe just for sanity checking crank it up to 10000 to see if it really isn't pausing?

We've also seen some similar things before that turned out to be a scenario where they'd set up some now forgotten Elk command that was causing the second one to come on when the first one did or something like that, so be sure it's not that.
Dean Roddey
Explorans limites defectum
Reply
#3
I think a 3 seconds delay is a long way from "both outputs on without delay". I dont think 10 seconds will do much.

To test the rule scenario, change it to another output just for a test or change output33 to an off. Just do simple things for sanity checks.

Mick
Mykel Koblenz
Illawarra Smart Home
Reply
#4
Did you figure anything out here?
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sending HTTP PUT Commands gReatAutomation 2 1,665 09-17-2019, 01:11 PM
Last Post: gReatAutomation
  Serial Commands for Hunter Douglas Hub! Deane Johnson 65 19,805 07-19-2016, 07:26 AM
Last Post: Dean Roddey
  Interface Commands finish.06 7 3,999 06-13-2014, 07:20 AM
Last Post: Dean Roddey
  Sending HTML commands to Blue Iris standon 2 5,380 06-28-2011, 09:05 AM
Last Post: Dean Roddey
  Elk Keypad Commands liftn 27 8,732 12-08-2009, 03:01 PM
Last Post: Dean Roddey
  A couple of questions about OmniPro Commands Acropolis 5 2,336 05-26-2007, 06:45 AM
Last Post: Acropolis
  SoftSqueeze Commands stinggray 4 1,834 04-11-2007, 02:46 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)