Page 1 of 1

Learning 3 second remote command - possible?

PostPosted: Wed Mar 05, 2003 9:20 am
by nmendelson
The USB-UIRT has been great so far (with Girder). BUT, I can't seem to get it to learn one remote button, which has one function when pressed once (mute) and another when held down for 3 seconds (off). If I just try to learn and press it, it learns the single-press function then quits after 1 second. I can't seem to get it to learn for the whole 3 seconds so it catches the whole code from beginning to end.

Is there any way around this?

PostPosted: Wed Mar 05, 2003 1:21 pm
by jrhees
nmendelson,

For now, can you send me a 'OR Debug' capture of the button?

To do this, press the 'IR Debug' button. Then, press and HOLD the button. After many seconds, you'll get a screen-full of hex data. Simply copy and paste it to a posting.

-Jon

PostPosted: Wed Mar 05, 2003 9:20 pm
by nmendelson
This is what IR Debug captures when I hold down the button, but it quits after about 2-2.5 seconds, so it's probably not capturing the whole code:

27 05 B3 55 0E 07 0E 1D 0E 1D 0E 08 0D 07 0E 1E 0D 07 0E 07 0D 1E 0E 07 0D 08 0D 07 0E 07 0D 1E 0E 07 0D 08 0D 1E 0D 1E 0E 07 0D 1E 0E 1E 0D 07 0E 1E 0D 1E 0D 1E 0E 1E 0D 07 0E 07 0D 08 0D 1E 0D 1E 0E 08 0D 08 0D 08 0E 1E 0D 1E 0D 1E 0E 07 0D 08 0D 1E 0D 1E 0E 1E 0D FF
01 B2 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B3 54 0E FF
07 22 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B3 54 0E FF
07 22 B3 54 0E FF
07 22 B4 54 0E FF
07 22 B3 55 0E FF
07 22 B3 55 0E FF
07 22 B4 54 0E FF
07 22 B3 54 0E FF
07 22 B3 54 0E FF
07 22 B3 54 0E FF
07 22 B3 55 0E FF
07 22 B3 54 0E FF

PostPosted: Wed Mar 05, 2003 10:08 pm
by jrhees
You're probably right. You can try the IR debug like this and perhaps capture the second code (although a bit tricky):

1. Press the 'Learn IR' button
2. Covering the front of your remote with your hand, etc., press and hold the remote button.
3. About 2 seconds later, remove your hand while still holding the button.

This way, you start capturing debug info about 2 seconds into the process.

-Jon

PostPosted: Thu Mar 06, 2003 9:00 am
by nmendelson
I tried it blocking the remote for the first 2 seconds, and all I get in the IR Debug is repeating lines of "07 22 B3 55 0E FF". Maybe the remote isn't transmitting anything special at the end, but just the same code repeated over 3 seconds? Is there any way to simulate that?

PostPosted: Fri Mar 07, 2003 5:03 pm
by jrhees
nmendelson wrote:I tried it blocking the remote for the first 2 seconds, and all I get in the IR Debug is repeating lines of "07 22 B3 55 0E FF". Maybe the remote isn't transmitting anything special at the end, but just the same code repeated over 3 seconds? Is there any way to simulate that?


Yes, it is *very* possible that the 3-second 'special' command is actually being performed by the receiver and *not* the remote. Youcan try setting the repeat count to 31 and see if that's long enough. If it isn't, let me know.

-Jon

PostPosted: Sat Mar 08, 2003 8:20 pm
by nmendelson
Changing repeat to 31 did the trick! Thanks.

PostPosted: Sat Mar 08, 2003 8:47 pm
by jrhees
nmendelson wrote:Changing repeat to 31 did the trick! Thanks.

Good to hear! FYI - future versions of the USB-UIRT firmware and plugin will support repeats greater than 31.

-Jon