From: Neil C. <nc...@li...> - 2007-11-10 04:13:38
|
John Gillis wrote: >> I realized the code below I was using pointed to the device on the >> sysopen line so it looks like I need to define my CM15a in my >> mh.private.ini file > > > Yeah, sorry.. missed giving you the config bits. The line you have > below is correct, plus you seem to need to have this line also: > > x10_interface=cm15a > > Not sure what it does, or why it works.. but it does! > > As the problems you had using CM15A.pm with the old script.. I've > changed the way the pm works, so it works more like the rest of MH. If you > want to use the new pm in the same way as the old.. Use IO::File to open a > descriptor, pass that as the first argument to send.. then split up your > commands. So, A1J would become two commands.. A1 AJ. I haven't tested it, > but it should work. ;) I think A1J is not valid, it should be A1AJ (A1 AOn). -- Linux Home Automation Neil Cherry nc...@li... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies |