With a CM15Pro – LK15 – LM15ES – raspberry and software mochad for communication (X10 – protocol). This is a cool home automation demo setup. mochad is a Linux TCP gateway daemon for the X10 CM15Pro RF (radio frequency) and PL (power line) controller. Github link: https://github.com/njh/mochad/blob/master/README
Before you connect the CM15Pro with your Rasp. Enter the following commands:
apt-get install update sudo apt-get upgrade sudo apt-get install libusb-1.0-0-dev
wget -O mochad.tgz http://sourceforge.net/projects/mochad/files/latest/download tar xf mochad.tgz cd mochad-* ./configure make sudo make install
Connect the CM15Pro with your Rasp with the USB interface.
After several seconds you can use the following commands.
echo "pl a1 on" | nc localhost 1099 echo "pl a1 off" | nc localhost 1099 echo "rf a2 on" | nc localhost 1099 echo "rf a2 off" | nc localhost 1099 echo "pl a2 on" | nc localhost 1099 echo "pl a2 off" | nc localhost 1099