EIBD with Raspberry and HS [Tutorial 50%]
Page 1 of 1

Author: River [ 5. Dec 2013 13:49 ]
Post subject: EIBD with Raspberry and HS [Tutorial 50%]


I'm trying to send messages from Gira HS to Raspberry PI with EIBD to the KNX bus.

Actually I've tried the image from Selfbus wiki and I'm correctly connecting with ETS3 through KNXNET/IP. But unfortunately with HS don't receive any message.

If i do: eibd --trace=5 --listen-local ip:
Then I can see the messages from Gira HS each time I push a button, but the doubt is, how I pass the messages from IP to the bus?

The device is connected though raspberry pi serial port /dev/ttyAMA0

Author: oldcoolman [ 5. Dec 2013 14:07 ]
Post subject: Re: EIBD with Raspberry and HS

Is there no telegramm, or you only can't see it in the GA Monitor?

Author: River [ 5. Dec 2013 16:31 ]
Post subject: Re: EIBD with Raspberry and HS

Hi Oldi!

I can see the telegram from HS when click to a button on quadclient while logged on the raspberry and put in the console the command:
#eibd --trace=5 --listen-local ip:

But no retransmission to /dev/ttyAMA0
By the way, I've formatted the card and now I'm installing plain EIBD (no knxweb) and try again to see if it works.

My raspi local ip is: and i've added
#sudo route add dev eth0

The homeserver EIB Connection config is:
EIBNET/IP routing
Physical Address: 0.0.254
Ip Routing Multicast:
Port 3671
iETS deactivated

I will tell my results..

Author: River [ 10. Dec 2013 17:18 ]
Post subject: Re: EIBD with Raspberry and HS

Hi Again!

I don't know if this is bad or good news, I've wipped entire raspberry pi SD card and started again, installing only EIBD.

For helping other people I've included my steps to get it working starting from fresh raspbian install (click on Spoiler to show):

First, we need to deactivate the getty to serial port:
#sudo nano /etc/inittab

Scroll all the way down till you see:
#Spawn a getty on Raspberry Pi serial line
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Now open this file:
#sudo nano /boot/cmdline.txt

And remove all /dev/ttyAMA0 things in order to make the file look like this
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

The next step is to download pthsem and bcusdk and unzip it:
#cd /tmp
#wget http://optimate.dl.sourceforge.net/project/bcusdk/pthsem/pthsem_2.0.8.tar.gz
#wget http://dfn.dl.sourceforge.net/project/bcusdk/bcusdk/bcusdk_0.0.5.tar.gz
#tar xvfz pthsem_2.0.8.tar.gz
#tar xvfz bcusdk_0.0.5.tar.gz

Time to configure pthsem:
#cd pthsem-2.0.8
#sudo make install

Configure bcusdk:
#cd ../bcusdk-0.0.5
#export LD_LIBRARY_PATH=/usr/local/lib
#./configure --with-pth=yes --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-ft12 --enable-usb
#sudo make install
#echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf.d/bcusdk.conf
#sudo ldconfig

Add a route so the raspberry listen to (Broadcast)
#sudo route add dev eth0

Create log files
#sudo touch /var/log/eibd.log
#sudo chown $USER /var/log/eibd.log

Start EIBD (later I will add the startup script in order to start EIBD automatically)
#eibd -t 1023 -i -D -T -S --eibaddr=0.0.254 ft12:/dev/ttyAMA0

Now my problem... I'm starting EIBD with
#eibd -t 1023 -i -D -T -S --eibaddr=0.0.254 ft12:/dev/ttyAMA0

And this is what I see:

So appears to see the messages flowing both directions (from KNX bus and from HS). But can't make the light to work. I'm doing some more tests but maybe someone has it working? Probably I'm starting eibd with the wrong commands?


Author: fehli [ 13. Apr 2014 23:52 ]
Post subject: Re: EIBD with Raspberry and HS [Tutorial 50%]

Der HS läuft bei mir mit diesen Parametern.. also eigentlich nur -R dazu..

eibd -t 1023 -i -D -T -S -R --eibaddr=1.1.251 ft12:/dev/ttyAMA0

Gruß Fehli

Page 1 of 1All times are UTC + 1 hour
phpBB Forum Software