Connect the EnOcean Pi transceiver module to your Raspberry Pi Model B or B+ as shown. That little red wire is the antenna.
NOTE: Connect a keyboard, mouse, and HDMI monitor with sound capabilities to your Raspberry Pi when you’re setting this project up. At the end of the project, you can remove those peripherals and connect the Pi’s analog audio output to computer speakers or a sound system.
Boot your Raspberry Pi with the latest version of Raspbian and log in. Update the software and firmware with the following commands (you’ll need an internet connection for this):
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
By default, the serial pins on the Pi are used to connect to the console. In order to use the EnOcean Pi, this feature will have to be disabled. The easiest way to do this is to install a utility by Andrew Scheller called rpi-serial-console:
sudo wget https://raw.github.com/lurch/rpi-serial-console/master/rpi-serial- console -O /usr/bin/rpi-serial-console
sudo chmod +x /usr/bin/rpi-serial-console
Use the utility to disable the serial console:
sudo rpi-serial-console disable
Install the dependencies for FHEM, an open-source home automation server:
sudo apt-get install perl libdevice-serialport-perl libio-socket-ssl-perl libwww-perl
Install FHEM:
wget http://fhem.de/fhem-5.5.deb
sudo dpkg –i fhem-5.5.deb
This will install and launch FHEM. It will also set up your Raspberry Pi to launch FHEM when the Pi boots.