Introduction: Easy DIY Baby Crying Detector With Raspberry Pi

About: We are the creators of - Prota OS: an OS for smart home hub that connects all devices and services and automate them in a simple way - MicroBot Push: a wireless button pusher that turns all your old appliance…

In this instructable we will learn how to make a simple yet effective baby monitor that detects and alerts you whenever the baby is crying. We used Philips Hue as an alert system but you can choose a different item or channel to get notified.

Besides, while commercial baby monitors will cost you a couple hundred dollars, this one comes at the fraction of it and can be reused when the baby grows up! The problem

It is perfectly normal that new parents become a bit hypersensitive to their baby’s crying. However, for the first few months this can turn into an anxiety that drives you to the baby’s room whenever there is and there’s isn’t a problem. Baby monitor eliminates those instances when there is no actual problem. It reduces parental anxiety and let’s you focus on your time without scarifying the baby’s well-being.

This DIY baby monitor is widely compatible and can be accessed both on your tablet, smartphone or computer using a web-browser. In addition to the universal access, it’s a secure system since its audiovisual feed isn’t stored anywhere but streamed directly to you.

How it works

First, Raspberry Pi must be running Prota OS with Speech, GPIO and Webcam apps installed. We also installed the Philips Hue app because we have a Hue light bulb set up in our kitchen where we cannot physically hear our baby well. Thus, whenever the Speech app detects baby’s cry, the Hue in the kitchen starts blinking.

One last thing

The system can proactively attempt to put your baby back to sleep by playing the music whenever it starts crying. Since Prota OS is based on if this happens do that logic, it means you can set up the Volumio app to play a lullaby in attempt to calm the baby down when the sound detector picks up on crying. We’ll demonstrate how to do this in the last step of this instructable.

Step 1: Make Sure You Have the Following Items.

Here's what you'll need


  • 1 Raspberry Pi
  • 1 USB webcam with a microphone
  • 1 micro SD card
  • WLAN card


  • Prota OS for Pi (must be installed on the Micro SD card that you'll put into Raspberry Pi)
  • Speech app
  • Webcam app
  • Hue app
  • Volumio app

Step 2: Connect Everything and You're Done on the Hardware Side!

Step 3: Mount the Webcam on the Baby's Crib.

Step 4: Once Raspberry Pi Is Connected, Go to Http://

You'll need to install 3 apps: Philips Hue app (or another app that will notify you about crying baby), Webcam app to get a live video feed, and finally Volumio app that will play your lullabies.

All apps can be found for free in the App Repository.

Step 5: No Go to the Ambiency App and Press + to Add a New Automation Story.

Step 6: First, Select the Speech App As Your Sensor. Then Select Volumio and Philips Hue As Actuators.

Step 7: In-app Options Should Be Selected As Following.

Step 8: Name and Save Your Automation Rule. You're Done!

Step 9: ​Finally, Whenever You Want to See the Baby's Crib, Go to the Shell and Open the Webcam App.

Hope this was helpful. Enjoy!

You like our projects? Make your own!

We are currently (and until July 30) running a maker contest. Show us the creative projects you can do with Prota OS and win awesome prizes!

More info here -

Raspberry Pi Contest

Participated in the
Raspberry Pi Contest