X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Topic started by: rvalecruz on March 23, 2016, 02:48:23 PM

Title: Mochad and CM15A
Post by: rvalecruz on March 23, 2016, 02:48:23 PM
Hello, I'm a noob to Linux. I'm trying to get Mochad to work with my CM15A. I have Raspbian installed on my Raspberry Pi.  When I plug my CM15A into my RPi, I did not see any messages come up from Mochad like some people have posted. When I enter the command "pl a1 on | nc localhost 1099", I get a bash error that says "pl" is an unknown command.  I can see that my RPi sees my CM15A by doing "lsusb". If I check for installed packages using "dpkg -l", I don't see Mochad....am I supposed to?  Thanks in advance.  Rick
Title: Re: Mochad and CM15A
Post by: bkenobi on March 24, 2016, 12:38:23 AM
I haven't used mochad in a while, nor did I use it very much when I had it installed.  I used it on RPi and it worked easily as expected.  I followed the guide on the mochad web site as I recall.

If you have mochad installed, you should be able to use "which pl" to find whether the pl command exists.
Title: Re: Mochad and CM15A
Post by: rvalecruz on March 30, 2016, 05:34:28 PM
Thanks for the reply bkenobi.  Got it figured out.  For some reason, mochad was not starting automatically when the controller is plugged in.  Had to use "sudo mochad".