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

Code HEXA 38 Khz

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> X10 and Home Automation
View previous topic :: View next topic  
Author Message
foufouner



Joined: 28 Oct 2016
Posts: 19

PostPosted: Thu Nov 09, 2017 11:26 am    Post subject: Code HEXA 38 Khz Reply with quote

Hello
I just got an infrared code from my air conditioning remote. Here is the code below.



Code:
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
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 774

PostPosted: Fri Nov 10, 2017 2:41 am    Post subject: Reply with quote

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



Joined: 28 Oct 2016
Posts: 19

PostPosted: Fri Nov 10, 2017 3:36 am    Post subject: Reply with quote

Here is a copy of my library.xml file of ired2
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25001
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 774

PostPosted: Fri Nov 10, 2017 5:58 am    Post subject: Reply with quote

(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:

[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:

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:

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?
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: 18077
Location: Chicago, IL

PostPosted: Fri Nov 10, 2017 9:03 am    Post subject: Reply with quote

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.
_________________
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
foufouner



Joined: 28 Oct 2016
Posts: 19

PostPosted: Fri Nov 10, 2017 1:13 pm    Post subject: Reply with quote

Hi barf
I just tried your code but it does not work
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 774

PostPosted: Fri Nov 10, 2017 1:49 pm    Post subject: Reply with quote

foufouner wrote:
... it does not work


Sorry, it is not within my powers to give any help for that error description. Crying or Very sad
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: 18077
Location: Chicago, IL

PostPosted: Fri Nov 10, 2017 2:24 pm    Post subject: Reply with quote

Barf wrote:
foufouner wrote:
... it does not work


Sorry, it is not within my powers to give any help for that error description. Crying or Very sad

You should share a drink with Alan sometime, he would feel your pain, lol.
_________________
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
foufouner



Joined: 28 Oct 2016
Posts: 19

PostPosted: Sat Nov 11, 2017 3:54 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 774

PostPosted: Sat Nov 11, 2017 5:27 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 774

PostPosted: Sat Nov 11, 2017 7:46 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> X10 and Home Automation 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
Get Smart! the band's official homepage Rockabilly Central