Page 1 of 1

Code HEXA 38 Khz

Posted: Thu Nov 09, 2017 10:26 am
by foufouner
Hello
I just got an infrared code from my air conditioning remote. Here is the code below.

Image

Code: Select all

Remote: clim

open:
B10100000000852600003D003200A900DE0000000000000000002D003B00
2B01A30000000000000000000100A30000000000200000000000000000202
0222202222222220200000000200220220220020002200022200222200220
0000200222020022202022000202000000202222220200000020222222020
0000020222222020000002022222202000000202222220222202020000202
22002020022202020000000020222222020000002022222212
I would like to turn it into HEXA code 38 khz


how to do ?

Thank you

Posted: Fri Nov 10, 2017 1:41 am
by Barf
This is an internal representation of the IrTrans. It is to my knowledge not documented. From your standpoint, it simply lacks essential information. Try to generate a (complete) *.rem file from the tool; that can subsequently be read into IrScrutinizer.

There is a forum for IrTrans, but it appears to be "pining for the fjords" these days... :wink:

Posted: Fri Nov 10, 2017 2:36 am
by foufouner
Here is a copy of my library.xml file of ired2
https://www.hifi-remote.com/forums/dload ... e_id=25001

Posted: Fri Nov 10, 2017 4:58 am
by Barf
(Please use the file area (for example) for this gigantic files.)

This is not a rem file, it is a ired file. However, in another of your threads, I wrote a XSLT transformation that transforms a ired2 file to a rem file. Here is the current version. Using that, I created a rem file

Code: Select all

[REMOTE]
 [NAME]unnamed_remote

[TIMING]
 [0][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [1][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [2][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [3][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [4][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [5][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [6][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [7][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [8][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [9][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [10][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [11][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [12][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [13][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [14][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [15][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [16][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [17][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [18][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [19][N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243
 [20][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [21][N]3[1]24 944[2]32 1416[3]32 1936[RC]2[RP]0[FREQ]243
 [22][N]3[1]24 944[2]24 1424[3]32 1936[RC]2[RP]0[FREQ]243
 [23][N]3[1]24 944[2]24 1424[3]32 1936[RC]2[RP]0[FREQ]243
 [24][N]5[1]376 496[2]456 392[3]344 1328[4]464 1232[5]3352 1776[RC]1[RP]0[FREQ]38
 [25][N]4[1]352 504[2]472 400[3]352 1344[4]3360 1768[RC]1[RP]0[FREQ]38


[COMMANDS]
 [Limiere2_allumer][T]0[D]200020000010011101000
 [Lumiere2_Eteindre][T]1[D]200020000010011100100
 [Lumiere3_allumer][T]2[D]200020000010001101100
 [Lumiere3_Eteindre][T]3[D]200020000010001100000
 [Lumiere4_allumer][T]4[D]200020000011001001100
 [Lumiere4_eteindre][T]5[D]200020000011000000010
 [Porte1_ouvrir][T]6[D]200020000000001101110
 [Porte1_fermer][T]7[D]200020000000001100010
 [Porte2_ouvrir][T]8[D]200020000000011101010
 [Porte2_fermer][T]9[D]200020000000011100110
 [Porte3_ouvrir][T]10[D]200020000010001101100
 [Porte3_fermer][T]11[D]200020000010001100000
 [Porte_baie_ouvrir][T]12[D]200020000010111101010
 [Porte_baie_fermer][T]13[D]200020000010111101010
 [Prise_ventilo_allumer][T]14[D]200020000100101101000
 [Prise_ventilo_eteindre][T]15[D]200020000100101100100
 [Volet_baie_ouvrir][T]16[D]200020000011011101100
 [Volet_baie_fermer][T]17[D]200020000011011100000
 [Volet_bureau_ouvrir][T]18[D]200020000000111101000
 [Volet_bureau_fermer][T]19[D]200020000000111100100
 [Volet_garage_ouvrir][T]20[D]200020000011101101010
 [Volet_garage_fermer][T]21[D]200020000011101100110
 [Volet_hangar_ouvrir][T]22[D]200020000011111101110
 [Volet_hangar_fermer][T]23[D]200020000011111100010
 [Open-clim][T]24[D]42000000000002000000000000000002022223312222222220000
000000220022220022000200200220220220220020000022022200202020
220202020000000022222222000000002222222200000000222222220000
000022222222000000002222222202202020200202022000202202220200
000000002222222200000000222222221
 [Clos-clim][T]25[D]32000000000002000000000000000002022222202222222220000
000000220022220022000200200220220220220020000022022200202020
220202020000000022222222000000002222222200000000222222220000
000022222222000000002222222202202020200202022000002202222200
000000002222222200000000222222221
This imports fine in IrScrutinizer, that can generate your desired hex.

Code: Select all

Open-clim
0000 006D 010A 0000 007F 0043 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 0012 002F 0012 002F 0011 000F 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000D 0032 000E 0013 000E 0013 000D 0032 000E 0013 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000E 0013 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000E 0013 000D 0032 000E 0013 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000D 0032 000E 0013 000D 0032 000D 0032 000E 0013 000D 0032 000D 0032 000D 0032 000E 0013 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 000D 0032 0011 000F

Clos-clim
0000 006D 010A 0000 0080 0043 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0033 000D 0013 000D 0013 000D 0033 000D 0013 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0013 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0013 000D 0033 000D 0013 000D 0033 000D 0013 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0013 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 000D 0033 0012 000F

More fun, I put it through IrpTransmogrifier, and it produced

Code: Select all

Open-clim {49,msb}<7,-10|7,-27>(3353u,-1762u,A:36,10,-27,10,-27,10,-7,B:225,10,-7){A=0x80080002f,B=0x1ff0033cc49b6c8372ad500ff00ff00ff00ff00ff6a958b7400ff00ff}
Clos-clim {49,msb}<7,-10|7,-27>(3353u,-1762u,A:264,10,-7){A=0x80080002fdff0033cc49b6c8372ad500ff00ff00ff00ff00ff6a95837c00ff00ff}
possibly there is something fishy with the first?

Posted: Fri Nov 10, 2017 8:03 am
by The Robman
foufouner, I moved your file to the file section, please do that yourself next time.

And both of you keep posting stuff with long strings of data with no breaks in it, which messes up the forum formatting, so I have edited both of your posts to include line breaks in those long strings.

Posted: Fri Nov 10, 2017 12:13 pm
by foufouner
Hi barf
I just tried your code but it does not work

Posted: Fri Nov 10, 2017 12:49 pm
by Barf
foufouner wrote:... it does not work
Sorry, it is not within my powers to give any help for that error description. :cry:

Posted: Fri Nov 10, 2017 1:24 pm
by The Robman
Barf wrote:
foufouner wrote:... it does not work
Sorry, it is not within my powers to give any help for that error description. :cry:
You should share a drink with Alan sometime, he would feel your pain, lol.

Posted: Sat Nov 11, 2017 2:54 am
by foufouner
The Robman wrote: You should share a drink with Alan sometime, he would feel your pain, lol.
Hello
I will try to be more precise. I am trying to make the Unified Remote application work on my mobile phone. For that I must transform the infrared code that I received with the irtrans hexa.

Posted: Sat Nov 11, 2017 4:27 am
by Barf
A good guess (but it is exactly that, a guess) is that your sender does not support that long signals. You should request support for Unified Remote from its manufacturer. It is non-free software, not supported here.

Personally, I would (of course :wink: ) recommend my little toy at least for investigating.

Posted: Sat Nov 11, 2017 6:46 am
by Barf
I quickly hacked together an IrScrutinizer export format for unified remote. To use, just drop in the exportformats.d folder of IrScrutinizer.

Using the previous data, it produces the following layout.xml file that can be used with unified remote.