Say alexa ask home my invocation name to turn off living room lights in 5 mins lambda receives the command and parses it sends params livingroom off and 5mins to my raspberry pis webserver the webserver writes the params into a file my croned python script parses the file every minute if there are entries which match the current time it sends the params in this case livingroom and off to the openhab api. Turn on the switchlight b.
Japanese Alexa Commands Arekusa Speak Nihongo Learn
Alexa turn light off in 30 minutes. Wish this was possible alexa turn off garage lights in 5 minutes this would let me leave the garage before the lights were switched off. However since ill use the restroom and grab some coffee first i can add a delay so that the space heater doesnt turn on until after a few minutes have passed. You could set several up say one for 1 minute 5 minutes 10 minutes 15 minutes and 30 minutes. Add a timer to turn off the switch light in 60 seconds. To make it happen open up the alexa app and either create a new routine or edit an existing one. Alexa turn off all lights after x minutes.
Name your scene whatever you like something like garage light 5 minutes 3. You could also just create a switch in ha or openhab and call it lights in 30 minutes. Routines can only turn devices on or off. When you go to add an action you can select wait from the options. I have my aquarium light that stays on for 2 minutes after my night time routine triggers to give me time to get to bed you could do. The new scene should show up in the alexa app.
Then when you want to turn off the lights tell echo to turn on the timer and when. An enhanced version of this feature could be dim bedroom light to 0 in 30 minutes. So you can set recurring daily alarms that turn your smart lights on and off with commands like alexa set up an alarm for every morning at 7am with my bedside lamp and alexa set a 30. Then you set your other real switches to follow that switch using smart lighting. Now you can start music with your routines. Just create one virtual switch and use the power allowance feature in smart lighting so that it always turns itself off after x minutes.
Turn on the garage light 5 minutes. One to turn it on and a second one starting 30 minutes later to turn the light back off. Open alexa then discover devices and scenes. If you want a light to turn on for 30 minutes you will have to make 2 routines. Paybax ryan little september 10. Routines were updated in early 2018.
Then you authorize the virtual timer switch for echo to use. Then you would be able to say turn off the bedroom lights in 10 minutes and itll trigger that function. That way it would simply sound a bit more natural if you say alexa turn off the lights in 30 minutes and all she does is flip a virtual switch that triggers the script you were talking about. Older routines can be updated to add music and to.