logo

Noumena Corporation

Whitmore Lake
Michigan

Tcl/Tk Front-End to BottleRocket and FireCracker
Home Automation GUI
The X10 company ( www.x10.com) makes a couple of computer interfaces for their X10 based switches. One of these is an in-line DB-9 serial device they call the Firecracker.

There is a command-line linux application to drive the Firecracker called BottleRocket. The homepage for bottlerocket is http://www.linuxha.com/bottlerocket/.

This looked like a great opportunity for a Tk front end to a nifty little program, and since I had a Firecracker I wanted to use from my Linux box... The control.tcl program displays a drawing that you create with your favorite paint program (I used xfig), and then overlays little rectangles to represent where the X-10 controllers are installed. When your mouse passes over one of these rectangles, it displays an informative label, like "Coffee Pot". The controllers can be turned on and off by clicking them with left and right mouse buttons.

The control.tcl program has these features:

  • Display a gif image.
  • Add new controller rectangle.
  • Edit the fields (label, X-10 code, type) associated with a controller icon.
  • Display an informative label when the cursor enters a controller icon.
  • Turn a controller on with a left-mouse-click.
  • Turn a controller off with a right-mouse-click.
  • Save current configuration.

This is a first pass, "Wow, it works!" project. Subject to change as I get time.

Release History:

Revision Date Comments
1.5 7/26/99 Save button works again.
I'd changed naming convention for the save file in almost all the places that the filename was accessed.
1.4 7/18/99 First release, it seems to work.