X10 – Easier from web

Altought you can control all your devices easily with heyu from your computer, it’s not something for everyone. A easier approach for daily usage is to use one of the various web interfaces that exist.

The two that are more popular are domus.Link and heyu web interface, I choose domus.Link, basically because it’s programmed using php and it will make it easier to install / modify.

To configure the environment, we will need a webserver (lighttpd) and the interpreter for  the code (php)

apt-get install lighttpd php5-cgi

To enable php for the web server:

lighttpd-enable-mod fastcgi-php

/etc/init.d/lighttpd restart

To get the software:

wget http://domuslink.googlecode.com/files/domus.Link2.1.2.tar.gz

tar  -xzf domus.Link2.1.2.tar.gz

mv domus.Link/* /var/www/

chown  www-data -R /var/www/

ln -s  /usr/local/etc/heyu /etc/heyu

chmod g+w /etc/heyu -R

chgrp www-data /usr/local/var/tmp/heyu /usr/local/var/lock

chmod g+w /usr/local/var/tmp/heyu /usr/local/var/lock

chgrp www-data /dev/ttyUSB0

chmod g+rw /dev/ttyUSB0

The default password is 1234, once you are in the interface you can change it.

Some information taken from here (rohalik.blogspot.com).

Add a Comment

L'adreça electrònica no es publicarà. Els camps necessaris estan marcats amb *