How to set up and use Alexa sound detection: soothe crying babies, barking dogs and noisy snorers

Amazon Echo Dot with Clock, leaked by Twitter user SnoopyTech
(Image credit: SnoopyTech (Twitter))
Smart Home Week

This article is part of TechRadar's Smart Home Week 2024, where we're giving you all the latest news, tips and tricks to help you make the smart home of your dreams. 

We all know Amazon's Alexa is smart, more so perhaps than we give it credit for. Every time we ask the voice assistant to “set a timer for 12 minutes” or play our favorite radio station, there’s a momentary existential crisis as we remember it can do much more, like commanding thousands of the best smart home devices to spring into life whenever we need them.

More specifically, there’s a Routines feature called Sound Detection, where Alexa can be configured to do all manner of things when it hears a certain sound. These include the sounds of a baby crying, an appliance beeping and a dog barking, as well as running water, snoring, and coughing.

As ever with smart home automation, it can take a bit of imagination to truly get the best out of a feature. You might be asking yourself, "Do I really need Alexa to do something when it hears me coughing, or whenever I turn on the kitchen tap?" Perhaps not, but what about when Alexa hears your dog barking in the middle of the night? It can be programmed to turn on a smart light in a bid to deter a potential burglar. Or, how about if the assistant turns on the hallway light, illuminating your way to your crying baby? It could even switch on your favorite radio station when it hears your morning shower.

All of these routines are relatively simple to set up, but because they tap into Alexa’s smart home controls, they can be made as complex as you like. The system also lets you decide exactly when Alexa responds to each type of sound. So it’ll only turn on the garden lights when your dog barks between 11:30 PM and 5:30 AM, for example, or it’ll only turn the radio on when running water is heard between 5:00 and 6:00 pm – when I tend to wash up some dishes ahead of preparing the evening meal.

Steps for how to set up Alexa sound detection routines

  1. Open the Alexa app
  2. Create a routine
  3. Set a schedule
  4. Tell Alexa what to do
  5. Add multiple actions

Tools and requirements

  • Amazon Echo smart speaker or display
  • Compatible smart home devices (such as the best smart lights; optional)

Step by step guide

The Alexa app isn’t always the most intuitive, but it doesn't always need to be given that most of us ask little more from the assistant than the occasional kitchen timer. Still, setting up a routine triggered by sound is simple enough.

1. Open the Alexa app

(Image: © Future)

To get started, open the app and tap on the More button at the bottom, then tap on Routines.

2. Create a routine

This is where your routines live, if you’ve made some already, and where they can easily be enabled, disabled, and modified. This is also where new routines are created, with a tap on the + icon in the top-right corner. Here you’ll see the basic structure of any Alexa routine, and how they are made up of two parts – the ‘when’ and the ‘will’.

Tap ‘add an event’ in the ‘when’ section, then tap on ‘Sound Detection’. Here you’ll see all six sounds Alexa can respond to. As of writing, these are the sounds of a baby crying, water, coughing, beeping appliances, snoring, and barking dogs. All pretty self-explanatory.

The routine I’ll build here will see Alexa turn a hallway light on when baby crying is heard, thus helping you find your way from your room to the baby’s in the middle of the night. I have already named a smart light ‘hallway’ to make this as logical as possible. Tap on Baby Crying, then pick which of your Amazon Echo devices you want to detect the sound. Sonos speakers aren’t compatible, so only Amazon’s own Echo products show up in this list. Pick the device then tap next.

3. Set a schedule

(Image: © Future)

On the next screen, you can configure how the routine works by setting a daily or weekly schedule. For this example, I’ve set the routine to function every night between 8 PM and 7 AM. The app isn’t granular enough to adjust the need for lighting based on the time of year, but I can forgive it for that. There’s also an option to stop the routine from repeating within a certain time frame, which can be set between one minute and 12 hours.

The system also lets you decide whether Alexa acts on the sound immediately, or only if the sound is detected for a certain amount of time. In this instance, you can tell Alexa to only turn the light on if a baby's crying is heard for at least 30 seconds. For other routines, you might want to increase this, with up to 60 minutes possible. Tap next.

4. Tell Alexa what to do

(Image: © Future)

Now we can tell Alexa what to do when the sound is heard under the given conditions. Tap save, followed by the ‘add an action’ button in the ‘Alexa will’ section of the routine recipe. Here you can have Alexa say something (through an Echo speaker at your bedside, for example, play music, control a smart home device, or perform a custom action; these are created by typing in what you would say to Alexa to make it perform that action.

In this case, I want Alexa to turn a smart light on in the upstairs hallway. To do this, tap Smart Home, then Lights, and pick the light you want to control. Be aware that you can only choose one smart light, or a single group of lights (perhaps you have two lamps assigned to a group called hallway in your smart lighting system).

On the next screen, you can decide whether the routine turns the light on or off, along with the brightness (either to a set number or an increase or decrease of 25 percent), and the color. Five versions of white are available, from cool to warm, plus 15 colors. This is Alexa’s own selection, however, so you can’t pick a lighting scene created in an app like Philips Hue. Tap save, then next.

5. Add multiple actions

You can now add another action to the same routine – perhaps you want Alexa on the Echo in your bedroom to tell you the baby is crying, and for an Echo in the baby’s room to start playing a piece of calming music. You could also have Alexa add the crying to your calendar if you’d like to keep a record of when your baby is waking in the night, for example. 

If your dog also benefits from calming music, at least some kind of audio distraction to stop them barking, you could create a sound-based routine to do that too. Similarly, an Alexa routine could be used to play a sound when it detects snoring.

Final thoughts

As with any aspect of Alexa, there’s a fair bit of fiddling to get things just the way you want them. This has always been the way with the routines function, but if you’re a smart home fan who wants to bring more automation to their system, sound-detection routines are a great place to get stuck in.

Truth is, you might not need any of this – and I think the routines need to be more configurable, giving broader options like turning lights off after a certain amount of time. But still, it’s fun to tinker with. Turning the hallway lights on when your baby cries could prevent stubbed toes, and illuminating the garden when your dog barks at night could add a handy function to your home security system.

Even a simple thing like having Alexa turn the radio on when it hears me running water to wash the dishes raises a smile. Living in the autonomous smart home of the future might not be as mind-blowing as it sounds, but it is at least full of handy little timesavers.

You might also like

Alistair Charlton

Alistair Charlton is based in London and has worked as a freelance technology and automotive journalist for over a decade. A lifelong tech enthusiast, Alistair has written extensively about dash cams and robotic vacuum cleaners for TechRadar, among other products. As well as TechRadar, he also writes for Wired, T3, Forbes, The Independent, Digital Camera World and Grand Designs Magazine, among others.

Read more
The amazon echo show 10 on a kitchen countertop showing a live feed from a Ring Video Doorbell
How to set up Routines with Alexa: make the most Amazon Echo-based automations
Woman pressing a button on a smart speaker
I tried using Alexa and smart home devices to help fix my irregular routine – and it changed my life
Amazon Echo (2020)
Got a new Amazon Echo speaker or Show? Here are 7 common mistakes when setting up Alexa and how to avoid them
Amazon Echo Dot in a bedroom
Alexa too loud? How to use Whisper Mode on an Amazon Echo
Alexa
If Alexa 2.0 doesn’t fix these 5 problems, I might be done with my Amazon Echo devices
Philips Hue lightbulbs, Apple HomePod mini speaker, and Blink security camera on purple background
The best smart home devices 2025: smart speakers, lights, hubs, and more
Latest in Smart Home
A mock up of an Apple HomePod hub based on the Amazon Echo Show 10 sitting on a kitchen table
Advantage, Alexa – Apple's smart home hub reportedly 'postponed' due to Siri slowdown
Couple looking at phone in front of Philips Hue Impress wall light
Want to expand your Philips Hue setup? These 3 new lights will let you take it outdoors
Ring Battery Video Doorbell Pro on blue background with white text reading 'TechRadar best price'
One of Ring's best video doorbells crashes to its lowest-ever price at Amazon
Philips Hue lights being dimmed
Got Philips Hue lights? A free app update delivers these 3 improvements
Tado Smart Thermostat
Tado thermostat owners are hot and bothered after marketing study raises possibility of subscription fee
Alexa Plus Up Close
I wasn’t a fan of the new Echo Show 15 and 21, but Alexa+ has changed my mind
Latest in How Tos
Cheltenham racing festival 2024 day four: Paul Townend on Galopin Des Champs crosses the finishing line for victory in the Gold Cup
Cheltenham Festival 2025 live stream: How to watch world-class horse racing online
Ousmane Dembele of Paris Saint-Germain watches the ball during a UEFA Champions League 2024/25 match in March 2025
Liverpool vs PSG live stream: How to watch the UEFA Champions League match online
Still from the sneak peek trailer of Ring & Friends showing the ex-beatles singer on stage at the Ryman
Ringo & Friends at The Ryman: how to watch the country music show online
Lewis Hamilton of Great Britain and Scuderia Ferrari waves to the crowd from the stage during F1 75 Live in the run up to the 2025 F1 season
How to watch F1 online: your guide to 2025 Formula 1 season
Rachin Ravindra of New Zealand plays a shot during an ICC Champions Trophy 2025 match in February.
India vs New Zealand live stream: Watch ICC Champions Trophy final online (it's free) – India chasing 252
CARDIFF, WALES - FEBRUARY 22: Jamie Osborne of Ireland celebrates with team-mates after scoring a try ahead of the Ireland vs France Guinness Six Nations 2025 clash
Ireland vs France live stream: how to watch today's Six Nations game online, TV channels, broadcasters, team news