CM11 Quick Start
Compile
After unpacking cm11, cd to the source directory and make.
There are no configuration options.
This will create an executable program called cm11, which you
can move to any convenient directory.
Setup
Plug your CM11A into a power output and connect the serial cable
to your computer. The serial cable that comes with the CM11A has
a DB9F connector, which plugs into the DB9M connector which is standard
on a PC.
If you have a workstation with a DB25F connector, such as a Sparcstation,
you will need a DB25M to DB9M adaptor.
Plug an X10 lamp module into an outlet near your computer, and plug a lamp
into that module. Turn on the lamp. You can just turn the lamp control
off and on; the X10 lamp module will notice and turn on.
Set the lamp module address to A1.
If you have a mini-controller, plug it in near your computer so you can
press buttons on the mini-controller without leaving your computer.
Set the mini-controller house code to A and unit switch so that it
includes unit 1.
Test
- On the mini-controller (if you have one), switch 1 should now control
the lamp, i.e. you should be able to turn the lamp on and off using
switch 1.
- Run "cm11 -m" to monitor the X10 traffic, and use the mini-controller
to turn the lamp off and on.
You should see message from cm11 such as
RDY
Rec Poll: A1
RDY
Rec Poll: Off
Stop the cm11 program with control-c.
- Run these cm11 commands to turn the lamp off and on, or to dim
and brighten by the specified percentages:
cm11 -i "OFF A1"
cm11 -i "ON A1"
cm11 -i "DIM:50 A1"
cm11 -i "BRIGHT:25 A1"
- Synchronize the CM11's clock to your computer clock with this command:
cm11 -s
Macros
Look in the macros directory for an interesting file and load it
into the CM11A with this command (for a file called "sample.cm11"):
cm11 -e sample.cm11
Copy one of the sample macro files to a convenient directory,
edit it to your liking, and load it into your CM11A as above.
Jan 30, 1998