From: Daniel L. <dan...@ho...> - 2000-04-05 02:08:04
|
Actually, I misread your original e-mail... What Bruce and I have demonstrated is that when I record the code sent to my CM17a for TV-Power. If he sends that same command to his, it turns does his TV-Power. Now what his IR Commander HW transmits in IR is different from mine. But because he and I configured ours up. We don't care. His sends the TV-POWER IR code for his TV and mine does mine. So, if you can get your IR Commander hooked up and configured with the X10.com software. You're golden (unless you want IR commands they don't support, like my PictureInPicture options on my TV, or my completely unsupported Dolby ProLogic amp, etc.) This is the next step after Bruce figures out if I've sent him everything he needs for the basic commands. -Dan >From: Kieran Ames <ka...@op...> >Reply-To: mis...@li... >To: mis...@li... >Subject: Re: [misterhouse-users] The IR Commander Translation Project: >Rosetta Stone >Date: Tue, 04 Apr 2000 20:16:55 -0400 > >Way to go, Idaho!! >Now... a couple of things: >1. Since I can't get x10.exe to work on my machine, (funny, my X10 supplied >FireCracker software stopped working as well... hhmmmmmmmm), will I be >able to >benefit from the work that's going on here? >2. I'm gonna speculate (for discussion purposes) that you, Dan, have a Sony >television. Your remote for the Sony is what you used to "populate" your IR >Commander's database with the proper codes. Those codes would probably be >some 3 >digit identifying value listed in the brochures that come with new remote >controls. >eg: #448. But my TV is a Zenith (Remote code #478) >Questions: >- Will I have to send every remote I own to Dan so that he can populate his >IR >Commander database? >- Will Dan then translate the codes via Portman and send them to Bruce? >- Will Bruce then decipher the codes, modify CM17.pm and post a new >distribution for >the rest of us? >- Will Dan ever send my remotes back to me? >- Will Bruce be prompt in decoding subsequent Portmon outputs and post >newer CM17.pm >modules when he's old and gray? >- Will Debbie tell Dirk that he's NOT the father of her child, but rather, >it was a >story that began on that fateful night at the Cancun Club Med when Nick >finally >admitted to Debbie that it was actually Nancy who vowed to never......... ? >- How do I make my voice do this? > >I guess you see where I'm coming from. Thoughts? >Kieran > >Daniel Levine wrote: > > > Ok, > > > > I have the IR Commnder tester working now on Win 98 with the compiled > > version. Here were the necessary breakthroughs: > > > > 1. Put stuff in the right place: > > a. CM17.pm goes under mh\lib\site\ControlX10 > > b. test_cm17_ir.pl goes under mh\lib\test > > > > 2. Comment out the line from your mh.ini (or you special one) file that >has > > cm17=comx. Add a new line with just: > > cm17= > > Bruce has not gotten this far and when you set this up, it interfers >with > > the simple serial driving code he's writen to test the IR Stuff. > > > > 3. Edit the test_cm17_ir.pl file in three places. > > a. On line 5 change the path to point to the absolute path to where >you > > put the CM17.pm file in step 1a. > > b. On line 7 change add $loaded inside the parens like this: > > use vars qw($OS_win $port $loaded) > > c. On the 7th line after the end of the "black magic" is a line which >has > > COM1 on it. Change it to the com port which has you CM17a. Again this >is > > likely to go away once Bruce integrates the CM17a X10 and IR code and we > > again use the cm17= line in the .ini file. > > d. Down at the bottom I also uncommeted the first > > ControlX10::CM17::send_ir($serial_port, 'POWER'); > > line so it would turn my TV on first anf the do the other commands. > > > > Now goto the mh\bin directory and type: mh test_cm17_ir.pl > > > > Assuming your TV is configured using the initial setup of IR Commander >for > > the necessary codes, this should turn your TV POWER (on), TV CH+, TV >Vol+, > > TV MUTE (muting), TV CH-, TV MUTE (unmuting), TV Vol- > > > > Mine also turns off the TV. Bruce, do you do this somewhere I don't >know > > about? > > > > Ok, so I should probably start generating the files as Bruce recommeded >of > > the IR Commnder recordings for each possible command on each device. I >only > > have TV and VCR setup, but now that this is working (in a hacked sort of > > way) I could configure up a CD player. I guess it realy doesn't matter >what > > I actually have, since I can just set anything up and record the >commands. > > > > Let the translation process begin! > > > > -Dan > > > > P.S. I'll probably just send the recordings to Bruce to reduce >bandwidth. > > I'll let the list know what I'm sending him. > > > > >From: Kieran Ames <ka...@op...> > > >Reply-To: mis...@li... > > >To: mis...@li... > > >Subject: Re: [misterhouse-users] The IR Commander Translation Project: > > >Rosetta Stone > > >Date: Tue, 04 Apr 2000 17:53:30 -0400 > > > > > >Dan, > > >Do you have Perl installed? (and in your path?) If so, here's the steps >I > > >took. (I'm > > >on WINNT4.0, but prefer running the Perl version). > > >I copied the cm17 module to my g:\mh\lib\site\ControlX10\CM17.pm > > >I copied test_cm17_ir.pl to g:\mh\bin\test_cm17_ir.pl > > >I then edited the require statement to read > > >/mh/lib/site/controlx10/cm17.pm > > >and ran the command line Bruce suggested, preceded by perl... > > >My starting point is g:\mh\bin. I cd there, get the following prompt ( > > >g:\mh\bin> ) > > >and run > > > > > >g:\mh\bin> perl mh -run test_cm17_ir.pl COM2 > > > > > >If Perl is not in your path, you can also do the following: > > >g:\directory\of\mh\bin> c:\path_to_perl\perl\bin\perl mh -run > > >test_cm17_ir.pl COM2 > > > > > >HTH > > >Kieran > > > > > >Daniel Levine wrote: > > > > > > > Bruce, > > > > > > > > I was trying to reproduce your results with the CM17a.pm and > > >test_cm17_ir.pl > > > > files without success at a basic level. > > > > > > > > I am on Windows using the Windows comiler version of MH. I dropped >both > > >of > > > > these files into the mh/code/test area. Changed require line to >point > > >to > > > > where the CM17a.pm is. > > > > > > > > Then from the code directory: mh -run test_cm17_ir.pl COM1 > > > > produces: Can not find -run pgm: test_cm17_ir.pl > > > > > > > > Perhaps the windows version of MH doesn't support -run option. > > > > > > > > Then I tried: mh test_cm17_ir.pl COM1 > > > > This eventually leads to: Error, can not find file C:/..blah.../COM1 > > > > > > > > Then I tried what I normally do: mh test_cm17_ir.pl > > > > This eventually leads to: Global symbol "$loaded" requires explicit > > >package > > > > name at (eval 38) line 29. > > > > > > > > Why can I figure out the protocol and yet not this part? :) > > > > > > > > Any help is appreciated! > > > > > > > > -Dan > > > > > > > > >From: "Bruce Winter" <br...@mi...> > > > > >Reply-To: mis...@li... > > > > >To: <mis...@li...> > > > > >Subject: RE: [misterhouse-users] The IR Commander Translation >Project: > > > > >Rosetta Stone > > > > >Date: Tue, 4 Apr 2000 08:51:36 -0500 > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > >________________________________________________________ > > > > >To unsubscribe from this list, go to: > > > > >http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > > > ______________________________________________________ > > > > Get Your Private, Free Email at http://www.hotmail.com > > > > > > > > ________________________________________________________ > > > > To unsubscribe from this list, go to: > > >http://sourceforge.net/mail/?group_id=1365 > > > > ______________________________________________________ > > Get Your Private, Free Email at http://www.hotmail.com > > > > ________________________________________________________ > > To unsubscribe from this list, go to: >http://sourceforge.net/mail/?group_id=1365 > > >________________________________________________________ >To unsubscribe from this list, go to: >http://sourceforge.net/mail/?group_id=1365 > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com |