I installed v21 according to these instructions:
sudo apt-get install update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev
Install mochad:
(assuming mochad-0.1.21.tgz is in /home/pi/ )
tar xf /home/pi/mochad-0.1.21.tgz
cd /home/pi/mochad-0.1.21
./configure
make
sudo make install
Connect the CM15Pro with your Rasp with the USB interface.
Command line to test:
$ echo "pl a1 on" | nc -w 1 localhost 1099
with no errors on installation, then plugged in my CM19. The test line given returned nothing, and mochad -d gave me an error that libusb couldn't open the device. What now?
Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I should add that I tried the mochad-master patch from 2016 and that didn't help. running sudo mochad -d will start it manually, but I don't think that's a fix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Timothy, try sending "rf" command instead of "pl". CM15 has both Power Line and RF interfaces but CM19 has only the RF.
So, try the command:
$ echo "rf a1 on" | nc -w 1 localhost 1099
Last edit: Rodrigo da Silva Nunes 2023-03-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed v21 according to these instructions:
sudo apt-get install update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev
Install mochad:
(assuming mochad-0.1.21.tgz is in /home/pi/ )
tar xf /home/pi/mochad-0.1.21.tgz
cd /home/pi/mochad-0.1.21
./configure
make
sudo make install
Connect the CM15Pro with your Rasp with the USB interface.
Command line to test:
$ echo "pl a1 on" | nc -w 1 localhost 1099
with no errors on installation, then plugged in my CM19. The test line given returned nothing, and mochad -d gave me an error that libusb couldn't open the device. What now?
Thanks for any help.
I should add that I tried the mochad-master patch from 2016 and that didn't help. running sudo mochad -d will start it manually, but I don't think that's a fix.
Timothy, try sending "rf" command instead of "pl". CM15 has both Power Line and RF interfaces but CM19 has only the RF.
So, try the command:
$ echo "rf a1 on" | nc -w 1 localhost 1099
Last edit: Rodrigo da Silva Nunes 2023-03-19
Rodrigo, thanks. I switched to using heyu to control my X10 devices, and that works well.