If you are looking for some DIY home automation and want to play around with Pi and Arduino have a look at heimcontrol.js. James Bruce used it for a simple setup and you can see his results in the video below.
“heimcontrol.js was created to gain experience in Node.js, MongoDB, Websockets and a lot of other great technologies that were used in the project. Take a look in the package.json
 for a full list of used open source projects. The project is in active development and a very early prototype, so use it at your own risk!
Hardware
- Full access to the GPIO of the Raspberry Pi
- Communication with an attached Arduino
- Wake-on-LAN (not really hardware, but at least it wakes up hardware)
- Stream your webcam via socket.io
Software
- Node.js, Socket.io, Expressjs, Requirejs
- HTML5, CSS3 and Websockets
- Jade templating
- Responsive design”