This will be my blog post for the EnOcean Sensor Kit, which I have received today.  The post will grow as I do more things with the kit.


The contents of the kit were:

  • Raspberry Pi
  • NOOBS 8GB SD card (HC class 4)
  • STM330 Temperature Sensor Module
  • STM320 Magnet Contact Transmitter Module
  • Magnet for the STM320 module
  • PTM210 Pushbutton Transmitter Switch Module
  • EnOcean Pi plug-in board

The kit I received is specifically at the European market and as such transmits and receives on frequency 868MHz to comply with local laws.


Configuring the Raspberry Pi is rather straightforward and will only take around an hour, which includes the time to boot, install the OS of choice from NOOBS (I chose Raspbian), configure and update the system over the internet, download the prerequisite software for communicating with the EnOcean Pi and ensure it all works.


There are plenty of guides on setting up the Pi so I won't reinvent the wheel. I will assume that you have installed Raspbian, configured and updated the software, know your Pi's IP address and are in the terminal ready to begin installing the EnOcean Pi.

We first need to disable the GPIO serial port functionality as it prevents the EnOcean Pi from working correctly:

sudo wget -O /usr/bin/rpi-serial-console && sudo chmod +x /usr/bin/rpi-serial-console


Execute the script

sudo rpi-serial-console disable

I am using FHEM to monitor the units as it is out of the box compatible with the EnOcean Pi.

Install Perl and the required libraries:

sudo apt-get install perl libdevice-serialport-perl libio-socket-ssl-perl libwww-perl
sudo apt-get install -f
sudo dpkg -i fhem-5.5.deb

fhem will be installed to /opt/fhem and will start automatically both immediately after installation and at reboot.


Click a button on the transmitter to force fhem to recognise the EnOcean Pi.

Open your browser to http://pi.ip.address:8083/fhem/ and you will see an entry on the left of the screen for EnOcean. As the transmitters talk to the EnOcean Pi fhem will create menu options for them.


Welcome to the beginning of the Internet of Things!


One of the first things I did was 3D print a case for the rather small and delicate transmitter units. You may consider doing the same, after all these things are not cheap to replace.

I have attached the OpenSCAD and STL file for the STM330 Temperature Module.



Image of sensors and my 3D printed case for the STM330 Temperature Module.


To do:

  • Design and 3D print a case for the STM320 magnetic switch module (that spring antenna is going to be fun)
  • Design and 3D print a cover for the left side of the PTM210  Pushbutton Transmitter Switch Module (why does it only come with one side covered?)


Christian DeFeo