Heyu module was renamed to X10Cmd because it now also supports other command line X10 interfaces.
- Table of contents
- Heyu Support
- Marmitek CM15A (CM15pro)
If you have a CM11 interface and want to control X10 modules you can simply use Heyu.
You currently can only switch lamps and appliances on and off. As of version 0.1.189 you can enable heyu monitor, so X10 status changes will be feed back into DomotiGa.
Compile and Install¶
$ mkdir -p ~/install $ cd ~/install $ wget http://heyu.tanj.com/download/heyu-2.8.0.tgz $ tar xzvf heyu-2.8.0.tgz $ cd heyu-2.8.0 $ ./Configure $ make $ sudo make install
If this is your first install you will be asked where to store Heyu's config file, you can choose to store it globally in /etc/heyu
I did not find a Heyu configuration file. Where would you like the sample Heyu configuration file installed? 1. In directory /home/ron/.heyu/ 2. In subdirectory .heyu/ under a different user home directory 3. In directory /etc/heyu (for system-wide access) 4. No thanks, I'll take care of it myself Choice [1, 2, 3, 4] ? 3 The sample configuration file will be installed as /etc/heyu/x10.conf
You need to specify the port of your device in file /etc/heyu/x10.conf
Select correct type from combo box in X10Cmd settings, and enter the path to hey in the Command field.
You can check the location of heyu using:
$ which heyu
This is the UK version of the CM11, it will work via heyu too, just configure it the same way as CM11A, and test if you can control your devices via the command line:
$ heyu info - return info $ heyu on A4 - turn on A4 device $ heyu off A4 - turn it off again $ heyu info - return info, including the A4 off showing as last command
Marmitek CM15A (CM15pro)¶
With the use of a cm15ademo binary DomotiGa now also can use a CM15 to control X10 devices.
This is the site http://somethinginteractive.com/blog/tag/cm15a/
Compile and Install¶
The cm15a requires the libusb-dev, the following command will install it (if not installed yet):
$ sudo apt-get install libusb-dev
Here how to install it:
$ mkdir -p ~/install $ cd ~/install $ wget http://www.eclipsehomeauto.com/cm15a_on_linux/cm15ademo.tar.gz $ mkdir cm15a $ cd cm15a/ $ tar xzvf ../cm15ademo.tar.gz cm15ademo.c cm15ax10.c config.h libusbahp.c libusbahp.h makefile onetext.h
On Ubuntu modify 2 lines in makefile like so:
$ vi makefile (or use the nano editor - $ nano makefile) LFLAGS = -DDEVEL -DDEBUG -DLINUX -DX10DEMO -o $@ EXTLIBS = -lusb -lm -lpthread
Install it, and set correct permissions:
$ sudo cp cm15ademo /usr/local/bin/cm15a $ sudo chown root /usr/local/bin/cm15a $ sudo chmod +s /usr/local/bin/cm15a
After a system reboot,
Test if you see the CM15A X10 device with the command
You will see a line like:
Bus 001 Device 005: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant) Bus 001 Device 004: ID ...
Then tests with CLI-commands, to dim the light.
$ /usr/local/bin/cm15a a1 dim 50 # dim light at 50% maximum $ /usr/local/bin/cm15a a1 on # switch light on $ /usr/local/bin/cm15a a1 off # switch light off - all with X10 address 'a1'
Activate LW12 dimmer module (beta)¶
The next information is in beta
To activate the LW12 dimmer module you can follow the next procedure in Domotiga.
First we start to make the X10 interface active, based on CM15A.
Change the command line to:
The next item we have to add is the LW14 module (is not standard in Domotiga).
Start with the 'Devices' - 'Modules-groups..' and add the new hardware.
To make the new Device complete, download the small picture and place this one in de folder: sudo cp Marmitek-LW12m.jpg /home/[username]/domotiga/icons/devices/marmitek-lw12.jpg
The result will be the next picture;
Related Resources (X10 related weblinks)¶