- You need an ebus to RS232/USB interface such as the one I bought here: http://www.eservice-online.de/produkte/ebus/135/ebus-koppler-usb
- You need to connect it to a PC or Raspberry Pi which is Linux-based, preferably Debian or Ubuntu.
- Connect the USB device, it should mount to /dev/tty/USB0
- Ensure the driver module is activated by running:
modprobe -v ftdi_sio
- There are Debian Install packages already compiled for eBUSD, however I prefer to compile my own from the latest source code, so see below:
- You need to ensure the following packages/features are installed:
kernel with pselect or ppoll support
glibc with argp support or argp-standalone
This is done by the following:
apt-get install autoconf automake gcc make
- Now download the source via git and enter the ebusd directory:
git clone https://github.com/john30/ebusd.git
- Run ./autogen.sh to have the directory structure created in /usr/bin/ebusd otherwise you can change the location such as below:
9) Now compile the source simply by typing:
This will also create the init scripts so you can have the daemon running at startup, if you choose to.
There now seems to be a make script in the source so I ran ./make_debian.sh. What this does is compiles the package into a .deb package for installing via dpkg -i ebusd-1.2.0_armhf.deb. I did it this way instead.
- Now you can run it by typing the following and to get the command syntax:
- Now, you want to scan your ebus interface and to get details of your devices. This will help you locate the correct CSV files for your devices.
ebusctl scan full
After a few mins, type in the following and you should see the result of the scan showing your devices:
In the example above the devices are called BAI00 and UI. So now I will want to look for csv's with those devices names such as bai.csv and ui.csv
- Run the following to get a source of the latest ebusd-configuration (includes the csv's):
git clone https://github.com/john30/ebusd-configuration.git
- Now copy the csv file for your devices in your scan result to the ebusd configuration directory:
In my case:
cp 350.csv bai.csv common.csv _templates.csv common.csv broadcast.csv /etc/ebusd
^ You will need the last 4 csv files regardless of your scan result, although broadcast.csv may already be included, however I like to make sure it's up to date.
- For more information please visit https://github.com/john30/ebusd-configuration