Projects, thoughts and more
in categories Home Automation, Mac OS X
At the moment i am testing if a swap of my current GNU/Linux server running Ubuntu to an Mac Mini with an external RAID and Mac OS X is possible. For that i have created an eibd for connecting with my Home Automation KNX bus.
For a discussion about compiling the eibd on Mac OS X see (in german language) knx-user-forum.de.
Here a short description how it can be compiled:
Unpack both tarfiles (Attention, they both unpack to the same directory name. So, rename the first and unpack the second).
Step into the pthsem directory and
./configure --prefix=/opt/knx make sudo make install
aclocal -I m4 -I /opt/knx/share/aclocal autoheader automake -a --foreign autoconf ./configure --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --prefix=/opt/knx --with-pth=/opt/knx make sudo make install
You can also download my prebuilt binaries as tar. Unpack it, set DYLD_LIBRARY_PATH and you can run the eibd directly. When i decide to run an Mac OS X Server in the future, i will built an MacPorts package.
Start the eibd with the command (this is the "standard" multicast address for KNX routers):
/opt/knx/bin/eibd -i -d ip:22.214.171.124
Switch a light with (if the groupaddress 0/1/3 is associated with a light):
/opt/knx/bin/groupswrite ip:localhost 0/1/3 1