Pause command not pausing

More
1 year 3 months ago #4232 by Will Riker
Pause command not pausing was created by Will Riker
Anyone else having trouble with this?  I can't get the pause command to do anything in a macro.  Rather than delaying, the entire macro just processes instantly.

For example, this macro is supposed to wait 10 minutes and then turn a light off but the light goes off immediately

Macro|
Pause|600!
Lighting|23~Off

 

Please Log in to join the conversation.

More
1 year 3 months ago #4233 by aa6vh
Replied by aa6vh on topic Pause command not pausing
This looks like it could be a bug. Have you tried placing as the first command something other than Pause? Perhaps have a command to turn on the light (doesn't do anything if the light is already on), then the pause.

Please Log in to join the conversation.

More
1 year 3 months ago #4234 by Nillaz
Replied by Nillaz on topic Pause command not pausing
The problem is the length of the pause. IIRC the system won't process a pause command longer than 249 seconds. At 250 or higher it will just skip the pause.

You can work around it by using multiple sequential pauses. For the sake of simplicity set 3 pauses in a row of 200 seconds each and you should be in good shape.

Also keep in mind that while the pauses are in effect the myServer GUI won't be available. The system will still function but you won't be able to make any changes until the macro completes. It's not the end of the world in daily use but can be annoying when troubleshooting or making modifications to the system. 10 minutes can feel like an eternity when you're trying to get stuff done.

Please Log in to join the conversation.

More
1 year 3 months ago #4238 by Will Riker
Replied by Will Riker on topic Pause command not pausing
Hmmm...I wondered about that but tried decreasing the pause time to 60 seconds and got the same results.

All I'm trying to do is set a automation rule that when a light is turned on, turn it off again after 10 minutes.  Unfortunately the family seems incapable of turning off a light.  I was hoping to do the same thing with the front door lock in case anyone forgets to lock it.  This was easy in V5 to set a timer but I can't find this option anywhere in V6.

Pauses tie-up the UI?  I hope that can be fixed.

Please Log in to join the conversation.

More
1 year 3 months ago #4239 by Will Riker
Replied by Will Riker on topic Pause command not pausing
I'll try that

Please Log in to join the conversation.

More
1 year 3 months ago #4240 by davep
Replied by davep on topic Pause command not pausing
The issue is that there is a rule in the Pause command that says any parameter to pause that is greater than 250 is treated as a value in milliseconds. Values less than 250 are treated as seconds that then get converted to milliseconds before kicking off the wait.

The next server update will eliminate the test for > 250 and treat all pause parameters as seconds.

To test today use Pause|600000 to get your 10 minute wait.
 

Please Log in to join the conversation.

Time to create page: 0.175 seconds