Get CPR certified in 30 minutes at CPR Test Center.
Echo & Alexa Forums

Tip for delaying actions in an Alexa Routine

0 Members and 1 Guest are viewing this topic.

buffaloquinn

Tip for delaying actions in an Alexa Routine
« on: November 18, 2018, 06:13:10 pm »
Was searching for a way to tell Alexa to turn off my drivewy lights after a few minutes without having to fish out my phone and run the Alexa app. I thought I coould set up a "Play Music" step with a timer, but no go. Music can only be the last step in a routine. But a "Flash Briefing" can go anywhere. If you put it in a routine before the command to turn out the lights than you have a time delay the equivalent of the briefing. For shorter delays, add an "Alexa Says" to "tell a story" or "sing a song". You can add a "mute the volume" on the device as a first step if you're worried about waking someone. Reset thevolume as a last step.

Jerome

Re: Tip for delaying actions in an Alexa Routine
« Reply #1 on: November 20, 2018, 07:41:40 am »
I think you're looking for Stringify : it can really boost your Alexa routines greatly.
Please read this in order to learn how to call a Stringify "flow" in an Alexa routine :
https://www.reddit.com/r/Stringify/comments/97oxe5/using_a_stringify_flow_from_an_alexa_routine/

In my case, I am able to say "Alexa, good night" and it will fade out my LIFX smart bulbs over 20 seconds giving me time to leave the room before it gets pitch black. AFAIK such a delay is not possible in Alexa's routines without 3rd party tools.

Offline kenf

  • ****
  • 127
Re: Tip for delaying actions in an Alexa Routine
« Reply #2 on: November 20, 2018, 09:39:37 am »
This is a kind of automation where the 3rd party hubs (ex. Samsung SmartThings) usually have better scripting options than what's built into Echo.

Friends of mine use theirs to turn off the lights after five minutes (after bedtime), because their boys get up to go potty and turn on every light on the way and forget to turn them off again.


buffaloquinn

Re: Tip for delaying actions in an Alexa Routine
« Reply #3 on: November 23, 2018, 08:20:14 am »
I knew there were other ways to accomplish this but I was looking to stay entirely within Alexa for the moment. I just got my first Echo device a couple of weeks ago & am just getting started with the programming stuff. Thanks for the replies and the suggestions. Ideally I'd like to be able to say, "Alexa, leaving in X minutes" & have the sequence adjust the timing for X.

Re: Tip for delaying actions in an Alexa Routine
« Reply #4 on: November 23, 2018, 09:50:08 am »
You can set up Music with a timer... but have to call it out each time. "Alexa, set a sleep timer for 20 minutes" or whatever time duration you'd like.

I haven't worked it into a routine yet, but need to so I can just say "Alexa, Goodnight" or whatever is available.
2 Echo Dots 2nd gen
2 echo dots gen 3 (no clock) -2 Echo Dot 3rd gen with Clock
1 echo dot Gen 4 with clock
1 Echo Spot
4 10" Fire Tablets
1 15' Echo show
23 Hue Lights 1 Hue bridge - 1 Amazon Smart plug outlet
One Ring Doorbell Pro
4 cell phones with Alexa app installed!
You should see My Apple Device List!

buffaloquinn

Re: Tip for delaying actions in an Alexa Routine
« Reply #5 on: November 23, 2018, 06:29:47 pm »
You can set up Music with a timer... but have to call it out each time. "Alexa, set a sleep timer for 20 minutes" or whatever time duration you'd like.

I haven't worked it into a routine yet, but need to so I can just say "Alexa, Goodnight" or whatever is available.
As I mentioned in the original post, music can only be placed as the final step in a routine. Since the object is to "delay" the "lights off" action, this would not be a solution. Also note that routines do not allow variable voice input. You can say, "Alexa, start this routine", But you cannot say, "Alexa, run this routine for X minutes."