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.

Comments

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* f...

An Alternative Take on AI Doom and Gloom

 I've purposely held my tongue until now on commenting about "AI" (or, more specifically as has come to be known, GAN or Generative Adversarial Networks).  It seems like it is very in-style to complain about how it has made a real mess of things, it is displacing jobs, the product it creates lacks soul, it's going to get smart and kill us all, etc. etc.  But I'm not here to do any of that. Rather I am going to remind everyone of how amazing a phenomenon it is to watch a disruptive technology becoming democratized From the time of its (seeming) introduction to the public at large, around November of 2022, to late 2023, the growth and adoption rate has been nothing short of explosive. It features the fastest adoption rate of any new technology ever, by a broad margin.  To give a reference, the adoption rate for AI image and text generation, real-world uses, in just 12 months is comparable to all of that of the another disruptive technology, the World Wide Web, takin...

RANT TIME: Why do replies to a message I sent go to my spam folder?

Despite what one would think/hope, sending a message to a given address does not inherently give Google a high confidence that a reply from this address is expected (and, for example, that it should bypass spam checks). I have confirmed with Google's tech support that there is no way to automatically have this happen. The user can do the following: 1. Add the address to your contacts list in Gmail. 2. Check spam folder for replies, and mark it as "not spam" if something ends up there, which should influence the fate of future replies received. I can also approve an address at the domain level, i.e. if it is a big vendor or similar. I've had to do this with several of our Chinese vendors. I regularly ask engineering and purchasing to give me a list of the supplies we deal with, so I can approve them as a preventative measure. For what it's worth, all of the false positive instances of reply -> spam we have experienced have involved the sender's email server ...