EIB Control

A lot of my electric installation is controlled with EIB. Next to the typical modules, I use a Fonera device (with an Atheros MIPS processor) and an NSLU2 device to control day to day operations. I am gradually shifting operations from a NSLU2 device to a Fonera device (one major hurdle right now is a replacement or cross compilation of at for scheduling tasks based on sundown/sunset).

Using the NSLU2 device is easier to start with (since it is fully supported by GNU/Debian but quickly requires larger disks (though that often is not such a problem anymore with large solid state devices, only a couple of Euros for a memory stick of several GBs). The fonera on the other hand is much smaller, can be used for wireless routing and is more for dedicated use.

Yet another interesting device is the Buffalo Linkstation Live NAS that can be hacked to run GNU/Debian.

I built the packages with the development kit of OpenWRT Kamikaze (7.09 IIRC). These are the packages you need (for sources and documentation, see the homepage of eibd:

  1. eibd-openwrt.0.0.3-2.tar.gz
  2. eibd_0.0.2.1-10_mips.ipk
  3. eibd_0.0.3-2_mips.ipk
  4. libreadline_5.1-1_mips.ipk
  5. pthsem_2.0.7-2_mips.ipk
  6. uclibcxx_0.2.2-1_mips.ipk

After the installation of the packages, you'll have an eibd enabled Fonera device. A small script on in OpenWRT helps operation:

root@OpenWrt:~# cat /etc/init.d/eibd
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=70

start() {
eibd -d -i ipt:192.168.123.124
}

stop() {
killall eibd
}

In my case, 192.168.123.124 is the address of the Siemens IP module.

Combined with Cron and ntpd (ipkg install ntpd), I use it to to time based actions like opening/closing shutters, heating, ...


[Home]

Last update:

Valid HTML 4.01!