I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic kernel.
I've installed libusb-1.0.8 with using this manual http://paulojacob.com/wp/category/linux/
I've checked that the module is visible for OS
$ lsusb
Bus 004 Device 003: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
...
But when I send simple command (to turn A1 module ON) I receive error message
$ pl a1 on
Error: Can't open input file, a1.
What files do I need to configure to manage this problem?
Quote from: amt779 on February 11, 2012, 03:43:23 PM
I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic kernel.
I've installed libusb-1.0.8 with using this manual http://paulojacob.com/wp/category/linux/
I've checked that the module is visible for OS
$ lsusb
Bus 004 Device 003: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
...
But when I send simple command (to turn A1 module ON) I receive error message
$ pl a1 on
Error: Can't open input file, a1.
What files do I need to configure to manage this problem?
The CM15A is
NOT a module, it's a USB interface. It needs Active Home Pro to send the signals through the powerline to control modules.
Send commands to the CM15A like this. This works for Ubuntu.
$ echo "pl a1 on" | nc localhost 1099
Dan; The CM15A can be used with some custom software running through Linux.
Module or USB Interface. Just a choice of words used.
Search the web using linux cm15a and you'll find a few Linux apps that work with the CM15A.
Quote from: bbx10node on February 11, 2012, 04:17:15 PM
Send commands to the CM15A like this. This works for Ubuntu.
$ echo "pl a1 on" | nc localhost 1099
wow! this works great! thanx a lot ))
Is there some manual about pl & other x10 commands available ?
for example how to send "dim 20", "all lights off", "all modules off", etc... ?
Quote from: Dan Lawrence on February 11, 2012, 03:58:21 PM
Quote from: amt779 on February 11, 2012, 03:43:23 PM
I've trouble in setting up control over X10 CM15A module via libusb.
I use Ubuntu 10.04 with 2.6.32-38-generic
...
The CM15A is NOT a module, it's a USB interface. It needs Active Home Pro to send the signals through the powerline to control modules.
Yep, apologies. IT IS an interface.
Is there Active Home Pro available for linux? If is, please give the link, cuz I didn't find such.
AHP is strictly for Windows.
Someone with Linux experience maybe able to add what other programs can duplicate AHP functions. I doubt downloading things like timers and macros can be done.
This is where I really miss Charles Sullivan. Have you joined the HEYU forum yet? It's a Yahoo group. There's a wealth Linux knowledge at that place, and everyone there deals with X10 on the "other" OS.
Quote from: amt779 on February 12, 2012, 08:09:11 AM
Quote from: bbx10node on February 11, 2012, 04:17:15 PM
Send commands to the CM15A like this. This works for Ubuntu.
$ echo "pl a1 on" | nc localhost 1099
wow! this works great! thanx a lot ))
Is there some manual about pl & other x10 commands available ?
for example how to send "dim 20", "all lights off", "all modules off", etc... ?
stupid question. I found
pl a [on|off|dim|bright|xdim|all_lights_on|all_lights_off|all_units_off]