Echo & Alexa User Discussions and Support Forums

When a person is not breathing, permanent brain damage begins after 4 minutes and death in 6 minutes after that. Can you count on help arriving before that time? Learning proper CPR techniques is easy and you can learn it in 30 minutes at CPR Test Center.

Interrupt a Routine

0 Members and 1 Guest are viewing this topic.

Interrupt a Routine
« on: February 16, 2020, 02:39:26 pm »
Routines got a lot of improvements since it was first introduced, but there's still something it can't be done and although seems 'silly' it's not, that is to interrupt a routine once it's started.
The funny thing it's the fact most of the people raising this question are trying to do the same; create an alarm routine.
The problem is obvious; You need to stop the routine before initiates any alarm you've created in case it's you (and not a burglar). Today you simply can't do that. Please don't suggest "Alexa stop" because it's not the case.

jumping to a real example:

I have a motion sensor (From Philips hue) being the trigger of a routine. The first thing it will do it's to send an alert to my phone (Alexa App) and then wait for 20 seconds before turning on a smart plug connected to an alarm siren. If I could interrupt the routine (disable don't stop the routine once it's initiated), then the alarm wouldn't start. As I can't stop (interrupt) the routine, the alarm will always sound after those 20 seconds.

Either Amazon include a stop routine action (something some claim it's impossible as a routine is a script that can't be interrupted once it's started)
OR include some sort of "IF" action that would split the script execution, making it possible to interrupt before continuing to the next part.

Hopefully there will be a solution to this problem soon as it's vital to create conditional routines.
« Last Edit: February 16, 2020, 02:49:36 pm by Marco »

Re: Interrupt a Routine
« Reply #1 on: February 16, 2020, 04:56:49 pm »
I have a 'Goodnight' routine that the wife uses.
It talks a reply something like, 'Goodnight Nancy, sleep well' then waits one minute and switches off the lounge lights.  This gives her time to leave the room.
I have started this routine, in error, on another dot when I have gone to bed first.  realising this I have said 'Alexa, stop' and the routine has stopped running.  Whether I have said this fast enough to still be in the reply part of the routine, or slower and been in the wait part I am not sure, but it works.
(I should be saying 'Alexa, Good morning ' to here the news before bed but forget, seems stupid saying good morning late at night!).

Re: Interrupt a Routine
« Reply #2 on: February 16, 2020, 07:08:39 pm »
It has something to do with a perfect timing on your stop command or with the fact it's a one action routine for sure.
Not only I've read other reports on this as I've just tested AGAIN and I can't stop the task by saying "Alexa stop" during the 20 seconds wait (second action). It will keep on going and reach actions two and three.