Skip to main content

Baby Motion Pager

Are you a new parent?  Do you have an infant that sleeps lightly at times, or needs attention frequently?  Perhaps you need to do something as soon as they start to wake up, and seconds are of the essence?  That has been the situation for our son, so I decided to put together a baby motion pager system, to alert me as soon as he stirred.  If this sounds interesting to you, read on!

Our son Henry is almost 5 months old.  He is exclusively breast fed, and we have been trying to get him to take a bottle for months now.  After trying everything out there (and I do mean everything), we finally figured out that there is a very narrow window of time after he wakes up that he will take a bottle.  If the attempt is made after he has woken up too much, he will reject the bottle, and the exercise is as good as over.  For me, this can mean a very a long evening - especially if I am caring for him when Mommy is 'out' (A.K.A. I am flying solo and have no other means to feed him).  A screaming baby is likely to be my companion for the night.

We currently use an audio-only wireless baby monitor. By the time he is up and whimpering/crying, it turns out that the window is basically over (yes, it's that short).

To combat this issue, I considered the options.
  • Video monitor - Certainly there are a wide range of camera based systems out there, but the idea of having one more reason to be visually glued to a screen didn't appeal to my wife and I.  Also, they jam WiFi and they are expensive.  We may end up getting one in the future, but for now we are trying to avoid it.
  • Wake him up for feeding - Yes, it would work, but he usually won't go back to sleep after, and his naps are too short as it is.
Finally I decided on a PIR (passive infrared) motion sensor, which would be capable of sending some kind of notification (like an SMS message) when Henry is moving.  The implementation would also be very straightforward, as we run a system called Misterhouse, along with X10 devices.  X10 is a home control system incorporating a combination of wireless and powerline communications to do things such as turn lights on and off, and other things.
The X10 Infrared Motion Sensor is mounted to the ceiling, directly over Henry's crib.

With help from Misterhouse, I was fairly easily able to write a Perl script to send out an SMS page (when activated) whenever the motion sensor detects motion in the baby's crib.

After testing the system for 2 weeks now, not only has it been great to have "page me when the baby wakes up" functionality, it's also had the following unexpected perks:
  • No more of this: "Darn, what time did baby go to sleep? What time did he wake up?"  Misterhouse keeps a log of all the motion sensor output, so figuring out what time he actually fell asleep down to the minute is trivial.  (Note: it's well within the the realm of possibilities to have an automatic sleep timer activated when motion is stopped, which would provide an early warning 10 minutes before his regular nap interval has lapsed).
  • How well has baby been sleeping?  As tossing and turning shows up on the log as an occasional motion
Certainly the possibilities are many, if someone wanted to package this up into a commercial offering.  Anyone have some venture capital?  Only half-joking.


Popular posts from this blog

Reaper, Linux, and the Behringer X-Air - Complete Studio Solution, Part 1

Introduction and Rationale This is part one of a major effort to document my experiences with recreating my home studio, entirely using Linux.  Without getting into too many of the specifics, a few months ago I decided that I was unhappy with Windows' shenanigans - to the point that I was ready to make a serious attempt to leave it behind.  For most in this situation, the obvious choice is to switch to Mac OS.  With its proven track record, support, and options for multimedia production, it is naturally the first alternative to consider if your goal is to simply use something other than Windows. For me the choice was not so simple. I despise Mac OS and, in general, the goals and philosophies put forth by Apple in an effort to ostensibly provide users with an "easy" working environment.  It does not help that I have also failed to find any aspect of the Mac OS UI intuitive, but I realize that this is a subjective matter. With my IT background and user-control* favori

Timbaland rips off a Demoscene artist

I knew this day would come. The new Timbaland/Nelly Furtado song "Do It" uses a song made in 2000 by Finnish demoscene artist "Tempest" (Janne Suni). It's a 4 channel .mod (the ripoff is from a playback using the C64 SID soundchip). The song was hosted on's servers (the main repository for all everyones demos and tracked music, etc.). As you might expect, no permission or royalties were paid to Tempest. Just to clarify, we're not talking about some kind of coincidence here. There is no question that this track was used to create the song "Do It". In an interview, Timbaland tries to downplay it, saying things like "he sampled it from a video game". (This track was not written for a video game- it was actually written for the 2000 demoscene music competition, in which it won 1st place). Regardless, he basically claims he has no legal obligations because it's just like all the other pop artists that sample other m

The Hellscape that is Google’s Web in 2023

Alternate title: "were we better off in 2015 2007?" Time now for another anti-capitalist, “get off my lawn” posting for all the folks out there who won’t see it anyway, because they don’t read real blogs for the reasons specified in this very article. The web has existed for 30 years now. One would think our ability to access information on it would keep getting better. However, I watch as web search is instead devolving every year, to the point where people are giving up and hoping for the next thing.  While this sounds dire, this kind of behavioral change has historical precedent. Remember running your own mail or web server, or better yet, having a phone that you might actually answer calls to, even if you don’t recognize the caller’s number?  Yes, those ideas are gone too. It's all thanks to the uncontrolled thirst for advertising. Let’s walk through the experience of someone doing a simple Google search for “how to control poison ivy”.  The desired outcome would be