Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Convert LIRC to Harmony HEX?
This thread has 2 replies. Displaying all posts.
Post 1 made on Friday January 9, 2009 at 19:13
snorton
Lurking Member
Joined:
Posts:
January 2007
6
I have several LIRC profiles that I would like to use on my Harmony remote, and would like Logitech to add to their database. Unfortunately, the LIRC file isn't much use to the Logitech support team.

Is there anything I can use to convert from LIRC to HEX? Logitech expects sixteen sets of four hex characters per each command.

This is a partial of what I have from LIRC. I have no examples of the HEX expected by Logitech.

# This LIRC config file is the most complete representation of IR control
# for the Hitachi 57F510 (and others?) rear projection TV as of 2007-02-16
#
# contributed by Steve Norton
#
# brand: Hitachi
# model no. of remote control: CLU4341UG2
#

begin remote

name 57F510
bits 32
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100

header 9066 4410
one 674 1581
zero 674 439
ptrail 675
repeat 9067 2127
gap 107701
toggle_bit 0


begin codes
0 0x0AF530CF
1 0x0AF5B04F
2 0x0AF5708F
3 0x0AF5F00F
4 0x0AF538C7
5 0x0AF5B847
6 0x0AF57887
7 0x0AF5F807
8 0x0AF520DF

Thanks!
Post 2 made on Saturday January 10, 2009 at 10:18
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
I don't know of any program to automate the entire process, but you can use the MakeHex program to create the Pronto Hex (that Logitech expects) based on information an expert, such as myself, can see in the LIRC file.

But for your Hitachi TV, you shouldn't need to do any of that. Most Hitachi TV's use a standard set of IR signals that you can easily find online in almost any format you like. I'm sure Logitech already knows that code set. The LIRC file you just posted is for that standard Hitachi TV code set.

If you did want to use MakeHex, the key information matching that LIRC file is that Hitachi TV's use NEC1 protocol with Device=80

MakeHex can generate all 256 possible function codes for NEC1 device 80. Then it is a bit tedious (but not too hard) to translate from the last two digits of each LIRC code to the function number in the list of 256 generated by MakeHex. For example:

CF -> 12
4F -> 13
8F -> 14
0F -> 15
C7 -> 28
Post 3 made on Saturday January 10, 2009 at 13:11
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
Additional info: I was ignoring the "sixteen" you mentioned because I know Pronto Hex can be imported for use on a Harmony remote, and I don't recall what format might be consistently sixteen sets of four hex characters. Pronto Hex is sometimes sixteen sets of four, but more often much longer.

I found your other thread
[Link: forums.logitech.com]
where I see two people are very insistent on the "sixteen". I don't know if they are correct. Maybe if I saw some samples of the format they want I'd recognize it.

In that other thread you also posted

0000 0067 0000 0010 0060 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 032A

Which is Pronto Hex for the Discrete power off for a Sony DVD. In a more concise notation it is device 80, command 47 from this list:
[Link: hifi-remote.com]

Are you also trying to control that device? Or was that just posted as a sample of Pronto Hex to ask how to use Pronto Hex for a Harmony? Pronto Hex is the form generated by MakeHex. I know Pronto Hex can be used for a Harmony. I don't know how you do that nor whether that needs software that the support team keeps only for their own use.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse