Use your Raspberry Pi to log all incoming EnOcean telegrams with an USB300 stick.
- Raspberry Pi
- EnOcean USB300 (Alternative: EnOcean Pi SoC-Gateway TRX 8051)
Compile EnOceanSpy with the following command
gcc -o EnOceanSpy EnOceanSpy.c
or use makefile with the following command
To use the EnOcean Pi SoC-Gateway TRX 8051 you need to disable Linux using the serial port for debugging. As default the serial port of the GPIO interface is used for console debug outputs. To use this port for your EnOcean Pi, this feature has to be disabled. There is a script available at GitHub to adapt boot up settings: https://github.com/lurch/rpi-serial-console
As soon as compiling was succeesfull, you can start spying with
./EnOceanSpy /dev/ttyUSB0 (using EnOcean USB300)
./EnOceanSpy /dev/ttyAMA0 (using EnOcean Pi)
to log all imcoming telegrams at console or start it with
./EnOceanSpy > log.txt
to log all incoming telegrams in file 'log.txt'.
Have fun to seek your environment after EnOcean devices.