LinuxMCE Forums

General => Installation issues => Topic started by: pw44 on April 16, 2010, 04:19:36 AM

Title: IR code sequence
Post by: pw44 on April 16, 2010, 04:19:36 AM
Hia,
does anyone knows how to enter a IR code sequence, i.e, i need to send a two IR codes with an interval of 1 second between each code?
To control the input source of my TV i need to send  AV+ (wait 1 second) and 3 (to change to HDMI).
How can i define it in template?
TIA,
Paulo
Title: Re: IR code sequence
Post by: phenigma on April 16, 2010, 05:01:09 AM
You will have to build a new IR code which incorporates both of the original codes.  This wiki http://wiki.linuxmce.org/index.php/TOAD_vs_Discrete_Codes article and this http://www.remotecentral.com/features/irdisp3.htm webpage will help you build the proper codes.

J.
Title: Re: IR code sequence
Post by: pw44 on April 16, 2010, 06:25:39 PM
Thx J.,
i took a look, and did not understand much.... will need to learn or.... is there some expert who can help this newbie in IR codes with some hints ;D ?
TIA!
Paulo
Title: Re: IR code sequence
Post by: golgoj4 on April 16, 2010, 07:06:24 PM
post your ir codes and ill see what i can figure out.
Title: Re: IR code sequence
Post by: pw44 on April 16, 2010, 10:59:10 PM
Hi golgoj4,
the codes for the philips tv are:
av+: 0000 0075 0000 000C 0020 001F 0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 003F 0020 001F 0020 001F 003E 0020 0020 001F 0020 0C8D
number 5: 0000 0075 0000 000C 0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 003F 003E 0040 0020 0C63
Pressing the av+ key and with a delay of 0.5 seconds pressing number 5, changes the input to hdmi. So, as i understood, i have to cut parts and combine both, but it didn't came clear to me the burst patterns and some other stuff. If you also can explain how it works, i will try the next combined codes (for my yamaha) and than finish the templates and make them available.
TIA!
Paulo
Title: Re: IR code sequence
Post by: golgoj4 on April 16, 2010, 11:18:15 PM
Quote from: pw44 on April 16, 2010, 10:59:10 PM
Hi golgoj4,
the codes for the philips tv are:
av+: 0000 0075 0000 000C 0020 001F 0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 003F 0020 001F 0020 001F 003E 0020 0020 001F 0020 0C8D
number 5: 0000 0075 0000 000C 0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 003F 003E 0040 0020 0C63
Pressing the av+ key and with a delay of 0.5 seconds pressing number 5, changes the input to hdmi. So, as i understood, i have to cut parts and combine both, but it didn't came clear to me the burst patterns and some other stuff. If you also can explain how it works, i will try the next combined codes (for my yamaha) and than finish the templates and make them available.
TIA!
Paulo

give this a go:

0000 0075 0000 0018 0020 001F 0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 003F 0020 001F 0020 001F 003E 0020 0020 001F 0020 0C8D  0020 001F 003E 0020 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 001F 0020 003F 003E 0040 0020 0C63

What i did there was take the header information for both on the data length, combined them, and then created a new code with both with the new data size

i also used
http://easycalculation.com/decimal-converter.php and
http://easycalculation.com/hex-converter.php to decipher the codes. I have a tv i think ill try this on to see what happens.



Title: Re: IR code sequence
Post by: pw44 on April 18, 2010, 05:19:00 PM
Hi golgoj4,
did not have yet the time to test, but will do it during this week and will report.
Thx very much for your support.
Paulo
Title: Re: IR code sequence
Post by: golgoj4 on April 19, 2010, 05:01:27 AM
Quote from: pw44 on April 18, 2010, 05:19:00 PM
Hi golgoj4,
did not have yet the time to test, but will do it during this week and will report.
Thx very much for your support.
Paulo

lol dont thank me yet ;)
Title: Re: IR code sequence
Post by: pw44 on September 01, 2010, 04:34:44 AM
Hi golgoj4,
as promised, i did test, but it did not work :(
Thx!
Title: Re: IR code sequence
Post by: phenigma on September 01, 2010, 06:25:02 AM
Try changing the 0C8D in the middle of that sequence to a 9FFF.  The 0C8D is only giving a delay of ~0.2 seconds between the buttons, 9FFF should give a little over 1 second.

J.