Building the Solution

In order for X10-managed lights and appliances to be remotely controlled, we are going to assemble a variety of separate technologies and use them in a unified way. We will do the following:

  1. Test the X10 computer interface and modules with the Heyu application.

  2. Create a Ruby on Rails application that provides a web-based front end to a subset of Heyu commands.

  3. Create an Android mobile application that will communicate with the Rails application, turning the light on and off via a native onscreen Android toggle switch control.

images/cm11a-usb.jpg
Figure 23. The X10 CM11A interface controls the Web-Enabled Light Switch.

We will start by ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.