I would like to let people know what is possible with technology they probably already have. I used the Zwave Commander software with two zwave devices and a kinect in my living room to track the motion of people and dim/turn off lights when they enter a room. It's pretty cool when you enter a room and the lights dim to the perfect movie/tv level or when you leave a room your bedroom light goes on. All of this is being handled by a computer that has 512 mb of ram and a 1.6 ghz processor which is pretty ancient in computer terms.
If people are interested in this let me know and I can go in depth how it was created. The program is currently configured for my room and zwave protocol. If someone is interested i will probably try to make the c++ program customizable or just them change the c++ proj and then build it.
I will be uploading a description along with a video on the http://www.kinecthacks.net/
website and will let you know when this is done. It will be very similar to this video http://www.youtube.com/watch?v=L7jeJSdJPpk
, however he is selling his software for $350 and I think the zwave software is better and you'll have the capability of turning the lights on and off using your smartphones.