I will continue using hejmo for my home automation, I’ll also improve resources, probably create new ones…
First, I need to download hejmo :
cd /usr/src svn checkout http://hejmo.googlecode.com/svn/trunk/ hejmo
Hejmo bus
All hejmo parts communicate through the Hejmo bus, based on D-Bus.
A special instance of D-Bus is started for hejmo, listening on the network.
cd /usr/src/hejmo/hejmobus/ sudo make install sudo update-rc.d hejmobus defaults sudo /etc/init.d/hejmobus start
Python-hejmo
Hejmo resources are often (let’s even say always for now) programmes in Python, the python-hejmo package helps a lot…
sudo apt-get install python-dbus python-gobject python-daemon cd /usr/src/hejmo/python-hejmo sudo python setup.py install
X10 controller
I’m using a CM15A X10 controller.
I’ve managed to make it work by using the IPLC driver, slightly modified because of the recent modifications in the Linux kernel.
I’ve compiled it on my home automation controller from hejmo‘s repository.
First, the source code may be modified, according to the Linux kernel version ; on line 46, the include statement shoud point either to <linux/autoconf.h> or <generated/autoconf.h>.
cd /usr/src/hejmo/x10_driver/cm15a sudo -s make make install exit
Resources
First I’m gonna install (but not activate) all resources I’ve created so far.
cd /usr/src/hejmo/resources sudo ./install.sh
cd /usr/src/hejmo/resources-starter sudo make install