Page 1 of 3

Trouble learning dish codes

PostPosted: Mon 4. Apr 2011, 19:28
by ocgltd
I've got an IRtrans LAN with the 56k external receiver added on. I'm trying to learn dish network codes (for vip211), but with poor results.

When I click learn timing, I can get 10 different timings depending on the buttons I press. Is that normal?

Next, when I learn a key, I get 30+ character strings learned, which change most times I click the button. However, if I watch the DEBUG/monitor window I see smaller fixed size strings like "S10001111111111110". When I put these into the .rem file THEN irtrans says that it detects the right keypressess!

1. Why so many timings?
2. Why can't I use the learn procedure to learn this remote?
3. Any down side to copying the shorted strings from the debug window into my rem files?
4. I've tried messing with some of the timings to improve performance (some keys just don't work right)...but this seems like a bad thing to do, even though I've improved performance a bit.


Here's my latest rem file with manual tweaks:
Code: Select all

  [0][N]3[1]400 1704[2]400 2824[3]408 6184[RC]1[RP]0[FREQ]57
  [1][N]3[1]408 6184[2]400 1704[3]400 2824[RC]6[FL]60[FREQ]57[SB]
  [2][N]3[1]4008 4000[2]504 1000[3]504 2000[RC]4[FL]64[FREQ]57[SB][RS]
  [3][N]2[1]408 6184[2]400 2824[RC]4[FL]64[FREQ]57[SB]


Re: Trouble learning dish codes

PostPosted: Mon 4. Apr 2011, 19:48
by IRTrans
some tips:

1. Some remote controls use different timings for every IR codes. That does not mean that there is a problem with the code.
2. If the code is not recognized again by the IRTrans it does not mean that these codes are not sent correctly.
Some remote controls use slightly different IR codes depending on how long you press the button.
You should be able to get the "short" codes shown in the detected IR codes window if you use a shorter IR timeout.
However, I suppose the longer codes might work better.
3. Copying the codes from the detected commands window might work - however there is no guarantee if you have the correct timing for those codes.
4. To send IR codes again it is in general better to use longer IR timeouts - even if the codes might not look that clean.
5. To make sure the codes are learned correctly you should use a Learning receiver.

To analyze that any more we would need to have the remote control.


Re: Trouble learning dish codes

PostPosted: Fri 8. Apr 2011, 23:01
by ocgltd
This is frustrating...I watched a coworker learn is 56khz codes using a $25 USBIR kit and learned them perfectly in five minutes. I've spent over $250 for what I thought was the best equipment, and I've wasted days on this!

Even if I held a button a bit too long during learning, shouldn't it work when I playback that button? Doesn't make sense to me.

So to continue on I need to:
1. Increase the "IR Receive Timeout" from 90ms to what?
2. Should I change the "IR Receive Tolerance" from 96 us to anything different?
3. Ensure very short button presses

Please help me get this right...

Re: Trouble learning dish codes

PostPosted: Fri 8. Apr 2011, 23:37
by IRTrans
please try an IR timeout of 250ms.

I would not change the Receive tolerance.

You might try to learn the codes as "RAW Codes".

Are you sure your device does have a 56kHz receiver? - We only sell 56kHz device on special request. Our standard devices either have 38kHz receiver or a Universal learning receiver. Changing the receiver setting to 56kHz does not make a 56kHz device out of a 38kHz one!


Re: Trouble learning dish codes

PostPosted: Fri 8. Apr 2011, 23:41
by IRTrans
I have just checked your previous postings.

You told us that you have an external 56kHz receiver - however according to our records we never sold an external 56Khz receiver at all.

Please check which type of receiver you are using.


Re: Trouble learning dish codes

PostPosted: Sat 9. Apr 2011, 01:26
by ocgltd
I bought an IR Trans Net (ethernet), from you with the regular 38Khz receiver internal. At your recommendation I then purchased an external IR receiver (plugs into the irtrans on top) - looks like a short black cable with a bulge at the end. (This 56k IR receiver is the same price as an entire USBIR unit)

Here is the message where you told me what to purchase from you:

Re: Trouble learning dish codes

PostPosted: Sat 9. Apr 2011, 10:42
by IRTrans
what you bought is not a 56 kHz receiver. It is an Universal lerning receiver that can learn all frequencies.
Of course it can also learn 56 kHz, however you did not configure it correctly:

Configuration for Ethernet V2.2 Device:
- Remove jumper inside the IRTrans next to the IR Receiver
- Plugin in External learning receiver
- Select "Codelearning receiver" in the IRTrans GUI Client Device mode dialog

Configuration for Ethernet V2.3 Device:
- Plugin in External learning receiver
- Select "Codelearning receiver [EXT]" in the IRTrans GUI Client Device mode dialog

That way it will work correctly.

The wrong configuration also explains why the codes where not learned correctly.


Re: Trouble learning dish codes

PostPosted: Sat 9. Apr 2011, 12:49
by ocgltd
Actually I did exactly that the first time:

Plug in the external IR receiver
Disable the internal IR receiver from the web interface
Enable the external IR receiver from the web interface (set as universal)

So what steps should I try NOW ?

Re: Trouble learning dish codes

PostPosted: Sat 9. Apr 2011, 13:02
by IRTrans
please check the receiver settings using the GUI Client and post a screenshot.

The codes you have posted have not been learned using the Codelearning receiver. Codes learned with the Codelearning receiver have an extra mark "[FREQ-MEAS]".

Please make sure you have the latest SW for your device installed. Older server SW and GUI Client versions maybe do not support the learning receiver.
The CD that came with your device will work, too.


Re: Trouble learning dish codes

PostPosted: Sun 10. Apr 2011, 17:43
by ocgltd
Ok I started over, installing the latest irtrans software and relearning. Here are the codes my remote learned (without changing timing on the irtrans settings page), but using the "code learning" receiver and enabling the external IR receiver only.

Code: Select all

  [0][N]3[1]400 1704[2]400 2824[3]400 6176[RC]1[RP]0[FREQ]57[FREQ-MEAS]
  [1][N]2[1]408 6176[2]400 2816[RC]3[FL]64[FREQ]57[FREQ-MEAS][SB]
  [2][N]3[1]4000 3992[2]488 1000[3]512 1992[RC]3[FL]64[FREQ]57[FREQ-MEAS][SB][RS]
  [3][N]3[1]400 6176[2]400 1696[3]400 2816[RC]3[FL]60[FREQ]57[FREQ-MEAS][SB]


I'm not sure if this is a new bug in your software, but after learning the timing I was never able to learn a code using "normal learn", I always had to "learn with timing" (the normal learn setting disabled the learn button, even thought I had already learned 4 timings).

Next, I reloaded the database from the irtrans system tray, but when I clicked any remote button the "Detect IR Commands" window only showed lines like:
Code: Select all
12:42:00 : S10000111111111110
12:42:01 : S10001111111111110
12:42:01 : S10011111111111110
12:42:02 : S10010111111111110
12:42:02 : S10010111111111110
12:42:02 : S10111111111111110
12:42:03 : S10111111111111110
12:42:03 : S10000111111111110
12:42:04 : S10000111111111110

It never showed any of the key names I just learned. I ensured that I clicked buttons quickly (as I normally do), yet the codes above don't look like any remote I've ever learned.

Help...what next?