[Device Codes:] Devices4.xls vs KM - Discrepencies

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
sofakng
Posts: 62
Joined: Sat Aug 21, 2004 10:41 am

[Device Codes:] Devices4.xls vs KM - Discrepencies

Post by sofakng »

I'm wondering why devices4.xls is showing me different device codes than the "suggested" (hinted) values that Keymap-Master gives me.

For example... ReplayTV (official) protocol...

Devices4.xls says the Dev1 code is 0, but the Dev2 code is 148.
Keymap-master says the Main Device code is 0, and Sub Device code is 1.

Keymap-master also says the same for ReplayTV (advanced)...

So, should I use the 0/1 values or the 0/148 values?

Are these discrepencies present for other protocols as well?
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

The "suggested" values that Keymap-Master gives are simply the defaults that the protocol will use if you don't enter a value. They are not suggestions for what to use to create your upgrade.

Why create a new upgrade for a ReplayTV when there are plenty already available at Yahoo? Just download one, load it into KM, change the remote to match the one you want to use, and then tweak the button assignments to your satidfaction.
sofakng
Posts: 62
Joined: Sat Aug 21, 2004 10:41 am

Post by sofakng »

Thanks for the reply...

In the keymaster readme file, it has this:

Device Codes/Parameters:
------------------------
Protocols generally require 1 to 4 device codes (some don't
require any). These are the codes sent at the start of every IR
(infrared) data stream, sort of like a "header". KM will provide
hints as to what needs to be entered for a given protocol (to the
right of Protocol Name).


Also, the Replay-5000.txt file on Yahoo is using 1/0 values for the ReplayTV (advanced) protocol. This is again different than what Devices4.xls says, but that must be the correct value...

However for future reference I'd like to learn where to get the correct device codes if I shouldn't go by the values that keymaster gives.
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

The best way to figure out the device number is to learn a key from the OEM remote. IR will decode 90+ percent of what's out there. KM and RM closely match the protocols and device numbers that IR decodes.

Devices4.xls is a good guide, but it is dated and has not been revised to reflect things that we have subsequently changed for a variety of reasons.

You can also use DecodeCCF to decode a Pronto ccf from remote central. Since DecodeCCF and IR rely on the same decoder (DecodeIR.dll) they will have consistent results.
-Jon
Post Reply