Domotiga/Heyu

Heyu Support

If you have a CM11 interface and want to control X10 modules you can use Heyu. You currently can only switch lamps and appliances on and off. There is no status check. Maybe I will add support for the Firecracker CM17 with the use of Heyu later.

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

Make sure your CM11 is attached to a real serial port, it doesn't like USB-to-Serial converters.

I will add the TTY port for your CM11 to the config file
Specify /dev/ttyS0, /dev/ttyS1, etc., or the word dummy
To which port is the CM11 attached? /dev/ttyS0

If you want to change the port afterwards you can edit /etc/heyu/x10.conf

Related Resources