View previous topic :: View next topic |
Author |
Message |
bpuserid
Joined: 16 Oct 2003 Posts: 2
|
Posted: Thu Oct 16, 2003 2:08 am Post subject: Convert LIRC Codes to EFCs? |
|
|
I don't have a learning remote but I can generate learned LIRC config files with WinLIRC.
How do I convert LIRC code data bits to OBC or EFC codes?
Thanks,
Barry |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Thu Oct 16, 2003 6:43 am Post subject: |
|
|
It depends on the protocol and on how LIRC happened to represent that protocol in that case.
Often two of the digits of the LIRC data exactly match the UEI hex command. If you use RM rather than KM you can enter the hex command and see the corresponding OBC and EFC. (I'm not sure how hex command entry works in KM. It's not as clean as in RM). You also can use the EFC calculator in IR to convert hex command to EFC.
Unfortunately, even for a protocol that normally would have the hex command appear directly in the LIRC data, it is possible for the LIRC data to be done differently, as in this recent thread:
http://www.hifi-remote.com/forums/viewtopic.php?p=1532
If you have a URL for the LIRC data, post that here and one of a few different experts can tell you how to use it. Otherwise, email a copy of the LIRC file to me and I'll post the answer. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Thu Oct 16, 2003 10:20 am Post subject: |
|
|
johnsfine wrote: | I'm not sure how hex command entry works in KM. |
Just stick an "h" on the end, eg "4Bh". _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
Mark Pierson Expert
Joined: 03 Aug 2003 Posts: 3017 Location: Connecticut, USA |
Posted: Thu Oct 16, 2003 1:14 pm Post subject: |
|
|
The Robman wrote: | johnsfine wrote: | I'm not sure how hex command entry works in KM. |
Just stick an "h" on the end, eg "4Bh". |
You can use the "h" as a prefix or suffix ("4Bh" or "h4B") for single byte entries. Multi-byte hex is delimited by spaces, i.e. "AA BB".
I think John might have been referring to the fact that KM doesn't decode EFC's or OBC's from text entries the way RM does. _________________ Mark |
|
Back to top |
|
|
jon_armstrong Expert
Joined: 03 Aug 2003 Posts: 1238 Location: R.I.P. 3/25/2005 |
Posted: Thu Oct 16, 2003 4:23 pm Post subject: |
|
|
I have decoded a lot of LIRC files and they seem to have more exceptions than rules. Unless it is something really unusual, there are other methods listed below (IMO, in order of difficulty, all easier than decoding LIRC commands unless you already know a lot about the IR protocol and binary to hex manipulation):
1. If some commands in a setup code work, but not the ones you need, look at www.hifi-remote.com under advanced codes=EFC for that setup code. If it not, tell us that setup code and the command you want (make sure you mention you can’t learn commands)
2. A device upgrade in the JP1 Yahoo files section.
3. A ccf file at RC that is close can be decoded with John Fine's DecodeCCF.exe/DecodeIR.dll
4. An RTI Theater Touch cml file from RC that can be decoded with John's cml2efc.exe/DecodeIR.dll
5. A Premise System file (http://ir.premisesystems.com/search.aspx) that are Pronto hex that can be decoded with the special version of IRTool/DecodeIR.dll
All the decoding tools can be found in the JP1 Yahoo files under tools or programs, put DecodeIR.dll in your windows\system directory and it will work with all programs mentioned.
If you still need help decoding a LIRC file, post it and one of us will help. Once you figure out the"rules” for that command set then they aren't hard. _________________ -Jon |
|
Back to top |
|
|
bpuserid
Joined: 16 Oct 2003 Posts: 2
|
Posted: Sat Oct 18, 2003 12:18 am Post subject: |
|
|
Thanks for the info and the offer to decode my LIRC files. It's not as straightforward as I had expected. I should pick up a JP1 learning remote.
Barry |
|
Back to top |
|
|
|