Friday, April 19, 2013

Home Alone Status (Lua, X10, AWS, etc)

It's been over 2 years since I began thinking about this project. Now, finally, I've got something working.

Right now, I have the following installed in my house:

  • 2 X10 RF door/window sensors (Kitchen Deck door and Front Door)
  • 4 X10 RF Motion sensors (kitchen, living room, family room, 1 bedroom)
  • 1 X10 RF Panic button
  • 1 (temporary) X10 keyfob button for logging medicine taking
    • (Soon to be replaced by a X10 sensor mounted in pill box)
  • 1 USB temperature probe (mounted over stove)
  • 1 Thinkpad T60 laptop discretely placed (closed) over the microwave
    • Ubuntu 12.04
    • Prototype base station software written in Lua!
    • 1 USB X10 CM19 RF adapter
  • 1 Amazon AWS instance (Internet host)
    • RabbitMQ server for messaging
    • Prototype email delivery system written in Lua
Total hardware prototype costs (not including the Thinkpad -- old laptop): < $130 (mostly X10 stuff)

I am notified on such events as

  • Deck door has been left open over 5 minutes (kids forget to close door)
  • No activity in the house plus Front door was recently closed = Everyone has left house
  • Medicine (Pills) were taken (or not taken) 3 times a day (w/ 20 minute grace periods)
  • Stove burners are on and no activity is detected in Kitchen for 15 minutes
The event periods/frequencies can be customized.

Lots of code cleanup to do and I've got new sensors coming in this weekend!

No comments:

Post a Comment