top of page

Raspberry Pi Baby Monitor Email/SMS Alert

I am a very deep sleeper and attach great importance to sleep quality. After I have a kid, I realized that I have to sleep with one ear open forever. Sleeping soundly became the thing of the past.

The good news is that I am also an enthusiatic Maker. To help bringing sanity back to me and my wife, I have developed this Baby Monitoring System running on Raspberry Pi and Micropython. It helps me get things done during those brief free periods without worrying missing my baby’s cry. It gives me reassurance and, most of all, good sleep.

We will run the raspberry pi headlessly over wifi. There is no need for a monitor, keyboard or mouse. In my example, the system sends me alert email but you can change the script into sending you SMS easily. I will probably include that in the next post.



This Baby Monitoring system, credit-card size, is installed near my son's crib. He usually makes lots of noise when waking up (yawning, laughing, sometimes crying). The sound sensor of the system keeps checking 24/7 and will send me an alert email or SMS when detecting any loud noise from the little demon. Since it is running on wifi, I can be notified even if I am a world apart.


Email alert after sound sensor is triggered:



This is an advanced Raspberry Pi project requiring you to learn the following:

  • 1, how to run a Raspberry Pi computer remotely, and headlessly (without a monitor, keyboard or mouse);

  • 2, how to use Linux Operation system and some basic commands;

  • 3, Python/Micropython programming language;

  • 4, using Rpi GPIO pins with a Sound Sensor;

  • 5, sending emails via python;

  • 6, sending SMS via python;

  • 7, runing python files in the command prompt;

  • 8, how to use PuTTy and VNC software for remote desktop control;


Special thanks to my son who deprives my sleep for 9 long months and inspires me to build such a project. Love you.


Running a python file on a headless Raspberry Pi remotely:



Comments


bottom of page