JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Convert LIRC Codes to EFCs?

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Beginners
View previous topic :: View next topic  
Author Message
bpuserid



Joined: 16 Oct 2003
Posts: 2

                    
PostPosted: Thu Oct 16, 2003 2:08 am    Post subject: Convert LIRC Codes to EFCs? Reply with quote

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
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Thu Oct 16, 2003 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Thu Oct 16, 2003 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Thu Oct 16, 2003 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jon_armstrong
Expert


Joined: 03 Aug 2003
Posts: 1238
Location: R.I.P. 3/25/2005

                    
PostPosted: Thu Oct 16, 2003 4:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bpuserid



Joined: 16 Oct 2003
Posts: 2

                    
PostPosted: Sat Oct 18, 2003 12:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Beginners All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control