I had some X10 modules and a CM17A (RS232 X10 RF transmitter) lying around. Got it working with HomeGenie on a RaspberryPi. The solution is probably applicable on Windows with some changes. Here's what I did (assuming you're using the pi account):
- downloaded a python script called firecracker.py from
http://www.collindelker.com/wp/2010/12/python-interface-to-x10-firecracker-cm17a/- got a Trendnet TU-S9 USB to serial cable
- used putty to get to the rPi. used "ls /dev/tty*" to see what ports are there
- plugged in the USB to serial cable
- ls /dev/tty*" to see what's new - that's your serial port: for example: /dev/ttyUSB1
- installed pySerial on raspberryPi using putty: sudo apt-get install python-serial
- copied firecracker.py to /home/pi (using WinSCP)
- Test: command from putty: "python firecracker.py a 1 ON /dev/ttyUSB1" where the "a" is the house, "1" is the unit.
- wrote a C# program to turn X10 virtual modules on/off (see attached). In the program, you can set the house (defaults to "a") and the port (defaults to /dev/ttyUSB1). The program is set up for modules 1-4. You can expand this by editing the AddVirtualModules in the trigger code - change the 4 to up to 16.
I hope this is useful to someone.
- JohnS