PID $0066: Kathrein Protocol

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

tombongo wrote:vickyg2003,
I feel bad having you blindly tweak timing upon request since you do not have the hardware. Is there a way for me to play with timing and give you the final result?

alanrichey,
Do you know how to mess with the timing since you do have the hardware?

- Tom
Tom, Alan doesn't have the hardware (or at least I don't think he does), what he has is a Harmony Remote that allows him to download from the Harmony database.

Its only you and the other tom, that have had the adaptor. Oh boy tom, tom bongo, I think I'm going crazy here. But the other Tom returned his, before I saw the topic. It was buried inside a thread that I wasn't following anymore.

I have four options here.

1)I can turn off repeating totally, or
2)I can add repeating to the group of keys that normally repeat (Ch+,-. Vol+,-, FFW,rew)
3) I can increase the time between frames which might or might not
4)I can insert a small delay before repeating starts, with repeating on all keys.

My prefrence would be 1, or 2 as these are easy to do.

Your call.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

Although, my guess is that #4 is the option closest to the behavior of the Sony remotes, #1 or #2 might be very close. Since #1 is easy, please build me that one. I can then program one device with repeats all on and another device with repeats all off. This way I can test which button are adversely affected by repeats on or off. If I find that all off does not work, you could build a #2.

BTW, I am not sure what frames are, but I am assuming that #3 will increase the time between repeats. If this is true, I don't think this is the correct option.

Thanks for everything so far!
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

tombongo wrote:Although, my guess is that #4 is the option closest to the behavior of the Sony remotes, #1 or #2 might be very close. Since #1 is easy, please build me that one. I can then program one device with repeats all on and another device with repeats all off. This way I can test which button are adversely affected by repeats on or off. If I find that all off does not work, you could build a #2.
Will do.

BTW, I am not sure what frames are, but I am assuming that #3 will increase the time between repeats. If this is true, I don't think this is the correct option.

Thanks for everything so far!
The day that I had my epiphany and finally started understanding what everyone was talking about, I wrote this document infrared primer It might kind of a beginners guide to the terminology with pictures. Hope that helps.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Here is a protocol version that has no repeats. If you want to have both resident at the same time, change the PID and make new upgrade agree with that pid id.

Upgrade protocol 0 = 00 66 (HCS08) KatherinLike (PB v4.01)
20 15 22 46 11 E5 44 04 08 00 C8 00 FF 00 C8 01
EA A8 8E 07 C3 08 C5 CC FF 5F
End
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

No, it's nothing to do with the hardware, it's all done in the software. And way outside my level of expertise I'm afraid.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

vickyg2003,
Removing the key repeat seemed to work very well, except the PS function OBC 125 stopped working. Also, the power off function OBC 65 didn't work with or without key repeats. The power off function is related to the PS function, so until I figure that out, I want to hold off on a #2 option.

alanrichey,
How did you come up with the OBC 65 for power off?
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

tombongo wrote:alanrichey, How did you come up with the OBC 65 for power off?
I'm not sure, it was in my original learn. But now I go back and check on my Harmony 'PS3 OFF' and 'PS' are both defined as OBC 125.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

After some research, it looks like the "Power Off" command is not a discrete command, but rather a macro in the harmony remote as apposed to a macro in the adapter. That would explain why only the first command, "PS", was captured/learned. I believe the macro is "PS" (press & hold I think), then "Enter", and then "Enter" again. This should also be doable with a JP1 macro.

It seems that a single press does not pull up the "Turn off system" menu, but rather a press and hold. I will try and verify this tonight. If so, I will have to figure out how to add a press and hold to a macro (probably for another thread, and I haven't even researched it yet).
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

tombongo wrote:After some research, it looks like the "Power Off" command is not a discrete command, but rather a macro in the harmony remote as apposed to a macro in the adapter. That would explain why only the first command, "PS", was captured/learned. I believe the macro is "PS" (press & hold I think), then "Enter", and then "Enter" again. This should also be doable with a JP1 macro.

It seems that a single press does not pull up the "Turn off system" menu, but rather a press and hold. I will try and verify this tonight. If so, I will have to figure out how to add a press and hold to a macro (probably for another thread, and I haven't even researched it yet).
Since the repeating is done with full frames, a bunch of Power buttons in a row might take care of the long press, but that doesn't seem very clean. It might be best to go with the 'dreaded option 4', with the delayed repeating. (My very first protocol upgrade, the "Friday Special" dealt with just this issue, so I know how to do it.)

Let me know if rapid repeats works for long press.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

I just tested it.

My macros are too slow to produce a long press.

I then tested with manual key presses. If I hit the PS key two times fast it doesn't work. If I hit the PS key two times at a normal pace, roughly a half second in between, it registers as a long press. I can also get a long press if I hit the PS key three times fast, but it is probably just ignoring the second press.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

vickyg2003,

Since the dreaded option 4 is such a big effort, turning on key repeats for just the PS button or turning off key repeats for just the directional buttons might be a 95% solution. Of course, I am assuming that this option is easy.

What are your thoughts?

Thanks!
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Oh sorry, this fell off my radar. I thought this was more or less an academic exercise. I thought you were just being nice to help me find out if this would actually work. If however you are plannning on useing this PS3 Bluetooth adaptor, i'll raise its priority and finish it right away.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

I do need this protocol and an extender to be able to use my 8820N remotes.

I want to make it clear that I do not expect you to do anything, but I do greatly appreciate the time that you can and have donated to my/our needs. You are in no way obligated to do so.

I don't want to impose any timelines or priorities on you and your schedule. Whatever you can do is great.

If I knew more about this, I would help. I have little time, but I would like to take look at the tools you are using to come up with these protocols.

Thanks for everything!
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

tombongo wrote:I do need this protocol and an extender to be able to use my 8820N remotes.
Hopefully the extender will stabilize and I can get that out for testing soon. I had a miss-start when Jim gave me a better idea for how to handle device selection. So I recoded it and I'm still encountering bugs. I'm also changing computers next week and that is going to put me behind. But then I won't be sharing a computer so things will be a little easier for me to find "blocks" of time.
I want to make it clear that I do not expect you to do anything, but I do greatly appreciate the time that you can and have donated to my/our needs. You are in no way obligated to do so.

I don't want to impose any timelines or priorities on you and your schedule. Whatever you can do is great.
I'm glad you are mindful that we are all volunteers here. Like I said, I just thought this was more or less an academic exercise, so I left you hanging. I LIKE to program, and I LIKE to help people, especially people who provide feedback, like you do. One of the most annoying things in forum life, is to spend time creating a solution and then never even getting the satisfaction of knowing it worked!

I updated the PS3 Harmony Bluetooth file with this new protocol.

Upgrade protocol 0 = 00 66 (HCS08) KatherinLike (PB v4.01)
20 15 22 46 11 E5 2C 04 08 00 C8 00 FF 00 C8 01
EA A8 8E 07 C3 08 C5 CD FF 5F 45 11 00 CD FF 74
CD FF 92 24 09 3B A3 F2 6E 45 A3 CC FF 5F 81
End

If this is too sensitive, that is if repeats the other keys during normal use, adjust the 11 00 upward. This starts repeating after about 1/2 a second, adjusting this to 21 00 makes it about 1 second before repeating starts.

Let me know the final number that seems to work best.
If I knew more about this, I would help. I have little time, but I would like to take look at the tools you are using to come up with these protocols.

Thanks for everything!
Ah Time, I know that can be in short supply. I've got my own dilema with time. I can only work on this if DH is napping, or out playing, or so engrossed in some sports show so that I can get away with playing on the computer without being GLARED at. DH doesn't approve of this hobby.

When you do get a chance, poke through the protocols directory. Look at protocol builder and its help files.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
tombongo
Posts: 43
Joined: Mon Oct 26, 2009 1:34 pm
Location: South Jersey

Post by tombongo »

Thanks! I will test this tonight.

Would 19 00 be around 3/4 of a second? I am assuming that this is some sort of clock count or something. Is that correct?
Post Reply