Comfort Automation/ Security System Forums
Stop Timer explanation - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Support (https://www.comfortforums.com/forum-2.html)
+--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html)
+---- Forum: Responses and Actions (https://www.comfortforums.com/forum-74.html)
+---- Thread: Stop Timer explanation (/thread-4515.html)



- lms - 09-16-2016

No time (= too lazy) to figure this out myself, so hoping someone can provide a quick answer...

Response1:
[Some actions]
Wait 30 Seconds Using Timer01
[More actions]

Response2:
Stop Timer Timer01

If Response2 is triggered during Response1\'s wait action, does Response1 continue with its subsequent actions or is Response1 itself terminated immediately?

And I assume the same would apply if the \"Wait 30 Seconds\" were replaced with \"Do Response3 After 30 Seconds Using Timer01\", i.e., Response3 would obviously not be triggered but would subsequent actions in Response1 still continue?

Thanks for any enlightenment!


- slychiu - 09-16-2016

The Response after WAIT does not happen if the Timer is stopped
The same applies to Do Response after Timer



- slychiu - 09-16-2016

For a better understand of how the timer works;

For the Do Response after Timer action, a new process is started with a timer running down to 0. When the timer expires, the target Response is activated.

For the \"Wait for Timer:  Response, when the timer expires, the next action after the wait is activated, so it actualy does Wait for the timer to expire. However that does not mean that other Responses are all waiting. Other Responses can be activated wile waiting for a timer



- lms - 09-16-2016

Thanks slychiu.


On re-reading, I\'ve just realised the second part of my question (Do Response After) is rather stupid - obviously subsequent actions in Response1 will continue immediately after the \"Do After\" and only Response3 would be stopped. Apologies - must have been a temporary brain failure!