X10Cmd

Heyu module was renamed to X10Cmd because it now also supports other command line X10 interfaces.

Heyu Support


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
$ sh ./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

CM15A Support

With the use of a cm15ademo binary DomotiGa now also can use a Cm15 to control devices.

This is the site http://somethinginteractive.com/blog/tag/cm15a/

Here how to install it:

$ cd ~install
$ wget http://www.eclipsehomeauto.com/cm15a_on_linux/cm15ademo.tar.gz
$ tar xzvf 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

LFLAGS = -DDEVEL -DDEBUG -DLINUX -DX10DEMO -o $@

EXTLIBS = -lusb -lm -lpthread

Compile it:

$ make

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

Tests with CLI-commands, to dim the light.

$ /usr/local/bin/cm15ademo a1 dim 50
$ /usr/local/bin/cm15ademo a1 on
$ /usr/local/bin/cm15ademo a1 off

Related Resources

Comment

    Updated by: rdnzl, Updated 6 months ago
    Access count: 878 since 2011-08-25

    Attached Files

    cm11interface.jpg (3.3 kB) rdnzl, 08/23/2011 01:07 pm

    heyu_logo.gif (3.5 kB) rdnzl, 08/23/2011 01:07 pm

    lw12.jpg - LW12 Wall Lamp Module (52.8 kB) scdhome, 08/28/2011 04:32 pm

    cm15ademo.tar.gz (28.2 kB) rdnzl, 09/07/2011 09:10 pm