Bottlerocket has been around for a considerable time and interfaces to X10 modules via a serial interface known as a Firecracker module.  Here is a link to the BottleRocket website Here you can read about it, download the current application, etc.  From this point on I will provide installation instructions for my setup which includes Ubuntu running on a PC.  These instructions should work for you too.

Please note:  You need certain equipment and an understanding of X10.  This procedure will not cover those areas.  Reading the bottlerocket link above might help provide that insight.

  1. in a browser go to:
  2. scroll down to the Download the current version(0.04c) link (Download the current version(0.04c))
  3. click on it.
  4. This will download bottle rocket to your Downloads directory. 
  5. cd to the Downloads directory and
  6. mv bottlerocket-current.tar.gz bottlerockeet.tar
  7. tar -xvf bottlerockeet.tar
  8. this will generate a directory called: bottleocket-0.04c
  9. cd bottleocket-0.04c
  10. there you will find a readme file and an install file — please read these two files.
  11. ./configure
  12. make
  13. make install

your done

to test:  usr/local/bin/br -x /dev/ttyUSB0 n16 on < this assumes the device you want to control has an address of “n16”.  Substitute “off” to turn the device off.

Things to be aware of:

  1. create a director in “/” for your scripts.  call it /scripts and be sure it is:  drwxr-xr-x 2 root root 4096 May 30 21:35 /scripts
  2. to access the /dev/ttyUSB0 device you/your program needs to be root .i.e, needs to be:  -rwxr-xr-x 1 root root
  3. in your script it might best to provide a full path to the br command, i.e., /usr/local/bin/br -x /dev/ttyUSB0 n16 on

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.