INDEX A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

College of Liberal Arts and Sciences

ISU Smart Home Lab, Department of Computer Science

X10 Motion Sensor (Model #MS14A)

X10 Motion Sensor MS14A X10 USB Dual-band Controller CM15A Insteon Serial Interface 2413S

1. Device Description

This X10 motion detector (model #MS14A) uses passive infrared technology to detect motion up to 20 feet away, and broadcasts these events as X10 "ON" commands over Radio Frequency. Similarly, after motion has ceased for configurable period of time, an X10 "OFF" command is broadcast. Using this motion sensor requires both an X10-compatible RF transceiver (e.g. CM15A, TM751, PAT01,...) to read the events and convert them to powerline signals and an X10-compatible powerline controller (e.g. CM15A, CM11A, Insteon 2413S, etc.) to relay the powerline signals to the computer.

The motion sensor itself requires 2 size AAA batteries to operate, and has a manually set device ID that is used to distinguish this X10 device from other X10 devices.

2. Device Installation and Configuration

See the product manual to physically configure the X10 Motion Sensor

  1. To set the X10 device id transmitted with "ON" and "OFF" (default is A1)
  2. To set the time period after which an "OFF" is sent after motion (range is 1-256 minutes and default is 1 min.)
  3. To set whether motion is detected at all times or only at night (default is all times

To install the X10 Transeiver in the home, plug it into a wall outlet and consult the manual for any configuration.

The X10-compatible computer interface used in the lab is the Insteon 2413S (serial port). To install this device,

  1. Attach it into an available serial port on the computer and then plug the other end into the wall.
  2. Download and install the Insteon Smarthome Device Manager (Freely available)
  3. Run the Device Manager application. It starts a server on port 9020 and opens a window showing the X10/Insteon activity on the powerline.
  4. Open a browser and enter the following sequence of commands to initialize the device.
    1. http://localhost:9020?port=?
    2. http://localhost:9020?getport=
    3. http://localhost:9020?isResponding
  5. A reference for the device server API can be found here.

See the product manual for installing the X10-compatible powerline interface used in the lab ()

3. Using the Device API

The device may be queried either via the web interface mentioned above, or lab-developed OSGi or WS services (TBD).

  1. To use the device via the Smarthome Device Manager web interface.
  2. To use the device via OSGi service [TBD]
  3. To use the device via Web Service [TBD]

[Importing Device Libraries]

[Initializing the Device]

[Sending Commands]

[Receiving Events]

[Closing the Device]

4. Services Using this Device

5. Applications Using this Device

6. Troubleshooting Common Problems