7.2 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:
-
Test the X10 computer interface and modules with the Heyu application.
-
Create a Ruby on Rails application that provides a web-based front end to a subset of Heyu commands.
-
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.

Figure 23. The X10 CM11A interface controls the Web-Enabled Light Switch.
We will start by hooking up the X10 hardware and verifying that it can be controlled via the Heyu application.