From: Bruce W. <br...@mi...> - 2000-04-04 13:57:56
|
> I like your idea of using PERL instead. Whew! Looks like I did a decent > job at least. Still like your way better. I'll stop translating > and make > more codes tomorrow. I do feel like we are getting somewhere. > Perhaps we > can send out protocol documentation to X10.com for their perusal. :) I got far enough on the ir extentions to CM17.pm to prove it works!! If you want to give it a try, pick up these 2 files: http://misterhouse.net/mh/lib/site/ControlX10/CM17.pm http://misterhouse.net/public/test_cm17_ir.pl Edit the 'require ...' at the top of the test_cm17_ir.pl file, then run (from mh/bin): mh -run test_cm17_ir.pl COM2 Change COM2 to whereever your CM17 is plugged into. It should work on unix also (e.g. /dev/ttyS0), but I have not tried it yet. Next we need to add a device table, so we can select devices (e.g. VCR -vs- TV) and fill in the rest of the command table in CM17.pm (currently it only has POWER, MUTE, VOL, and CH). Now, however, I gotta go to work ... Bruce |