Ired 2 to HEXA

This forum is for anything related to Home Automation and getting your remote to work with it.

Moderator: Moderators

foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

the message

Code: Select all

Last login: Sun Oct 30 17:42:21 on ttys000
You have mail.
t:~ tatane$ open Desktop/IrScrutinizer-1.3/IrScrutinizer.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/tatane/Desktop/IrScrutinizer-1.3/IrScrutinizer.app.
t:~ tatane$ 
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Please try typing

Code: Select all

  java -version 

in the terminal and tell me what you get.
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Code: Select all

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
t:~ tatane$ 
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Ok, I think we are getting closer. You need the "JDK" not the "Java". Sorry for the desinformation. JDK download. After downloading and installing, try the

Code: Select all

java -version
again. Then I think it should work.
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Yes is work :)
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

How ired2 now decode the code?
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Ok, starinig over again. Using the XSLT-script from an earlier post generates rem-file

Code: Select all

[REMOTE]
  [NAME]xxxxxxx

[TIMING]
 [0][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [1][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [2][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [3][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [4][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [5][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [6][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [7][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [8][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [9][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [10][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [11][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [12][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [13][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [14][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [15][N]3[1]24 952[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [16][N]3[1]32 944[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [17][N]3[1]32 944[2]32 1432[3]32 1960[RC]1[RP]0[FREQ]455
 [18][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [19][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [20][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [21][N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455
 [22][N]3[1]24 952[2]24 1440[3]32 1960[RC]1[RP]0[FREQ]455
 [23][N]3[1]24 952[2]24 1440[3]32 1960[RC]1[RP]0[FREQ]455


[COMMANDS]
 [Lum4_open][T]0[D]200020000011001001100
 [Lum4_close][T]1[D]200020000011000000010
 [Lum3_open][T]2[D]200020000010001101100
 [Lum3_close][T]3[D]200020000010001100000
 [Porte1_open][T]4[D]200020000000001101110
 [Porte1_close][T]5[D]200020000000001100010
 [Porte2_close][T]6[D]200020000000011100110
 [Porte2_open][T]7[D]200020000000011101010
 [Porte_baie_open][T]8[D]200020000010111101010
 [Porte_baie_close][T]9[D]200020000010111101010
 [Lum2_open][T]10[D]200020000010011101000
 [Lum2_close][T]11[D]200020000010011100100
 [Volet_garage_monter][T]12[D]200020000011101101010
 [Volet_garage_descendre][T]13[D]200020000011101100110
 [Volet_baie_monter][T]14[D]200020000011011101100
 [Volet_baie_descendre][T]15[D]200020000011011100000
 [Volet_hangar_monter][T]16[D]200020000011111101110
 [Volet_hangar_descendre][T]17[D]200020000011111100010
 [Volet_bureau_descendre][T]18[D]200020000000111100100
 [Volet_bureau_monter][T]19[D]200020000000111101000
 [Prise_ventilo_open][T]20[D]200020000100101101000
 [Prise_ventilo_close][T]21[D]200020000100101100100
 [Volet_hangar_monter][T]22[D]200020000011111101110
 [Volet_hangar_descendre][T]23[D]200020000011111100010
(here I have manually change two "58" to "455".) (BTW, I would expect that there is some way to have iRed to generate that file.)
This can be imported in IrScrutinizer (Import -> IrTrans). Then, I probably made a mistake with Import (it tries to identify as Dish_Network, which appears wrong)), instead select "Import/raw". Then export the raw signals (Export -> Export raw remote), and you have

Code: Select all

Lum4_open: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1 000F 028C 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1

Lum4_close: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1

Lum3_open: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1

Lum3_close: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1

Porte1_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1

Porte1_close: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1

Porte2_close: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 01B1

Porte2_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 01B1

Porte_baie_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 01B1

Porte_baie_close: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 01B1

Lum2_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 01B1

Lum2_close: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1

Volet_garage_monter: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000B 01B1 000F 028C 000B 01B1 000F 028C 000B 01B1

Volet_garage_descendre: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1

Volet_baie_monter: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1

Volet_baie_descendre: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000F 028C 000F 028C 000F 028C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1

Volet_hangar_monter: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 028F 000B 028F 000B 01B1

Volet_hangar_descendre: <no decode>
0000 0009 0000 0015 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1

Volet_bureau_descendre: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1

Volet_bureau_monter: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 028F 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 01B1

Prise_ventilo_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 01B1

Prise_ventilo_close: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1
3FG's approach is extremely clever and systematic, in particular if you want to search for undocumented commands.
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Sorry but your code is not good

If I take

Code: Select all

Prise_ventilo_open: <no decode>
0000 0009 0000 0015 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 01B1
the code creat is

Code: Select all

[N]3[1]24 944[2]24 1424[3]24 1944[RC]2[RP]0[FREQ]243[D]200020000100101101000
but normally it should be

Code: Select all

[N]3[1]24 952[2]24 1440[3]24 1968[RC]1[RP]0[FREQ]455[D]200020000100101101000
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

Barf,
Since the codes appear to have no lead out, I think it is necessary to specify that only one frame should be transmitted. Your hex codes may send multiple frames. Also, the IRTrans documentation says that while timing values are specified in microseconds, the resolution is only 8us. So I chose to average the 24, 32, and 32 us intervals. I doubt that this would matter.

foufouner,
Barfs hex codes have the frequency set to 460KHz, which is as close as Pronto hex can get to 455KHz. I'm not sure how you're coming up with 243KHz. Anyway, as I said to Barf just above, it may be worth trying Barf's codes with the 4 starting numbers changed from 0000 0009 0000 0015 to 0000 0009 0015 0000.
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

3FG wrote:foufouner,
Barfs hex codes have the frequency set to 460KHz, which is as close as Pronto hex can get to 455KHz. I'm not sure how you're coming up with 243KHz. Anyway, as I said to Barf just above, it may be worth trying Barf's codes with the 4 starting numbers changed from 0000 0009 0000 0015 to 0000 0009 0015 0000.

Code: Select all

0000 0009 0015 0000 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 037F 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 028F 000B 01B1 000B 028F 000B 028F 000B 01B1 000B 028F 000B 01B1 000B 01B1 000B 01B1
Is work
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

3FG wrote:Barf,
Since the codes appear to have no lead out, I think it is necessary to specify that only one frame should be transmitted.
That is a good argument. An even better approach, I think, is to evaluate the RC parameter ("repeat count"). Here is the issue, with fix.

Here is a new build (except the windows setup.exe)
Is work
Tres bien!
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

re: http://www.hifi-remote.com/forums/viewt ... 181#127181

Hello Barf,
I want decoder this code please can you ?

Open clim
[N]5[1]376 496[2]456 392[3]344 1328[4]464 1232[5]3352 1776[RC]1[RP]0[FREQ]38[D]
42000000000002000000000000000002022223312222222220000000000220022220022000200200220220220
22002000002202220020202022020202000000002222222200000000222222220000000022222222000000002
2222222000000002222222202202020200202022000202202220200000000002222222200000000222222221

Close Clim
[N]4[1]352 504[2]472 400[3]352 1344[4]3360 1768[RC]1[RP]0[FREQ]38[D]
32000000000002000000000000000002022222202222222220000000000220022220022000200200220220220
22002000002202220020202022020202000000002222222200000000222222220000000022222222000000002
2222
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Hello
I allow myself to relaunch this topic, because I am trying to obtain a hex code, the radaropen and radarclose codes.

Barf you made me the transition to other codes.

Would it be possible again?

Thank you

Code: Select all

<dict>
					<key>_class</key>
					<string>IR2DeviceGroup</string>
					<key>_uuid</key>
					<string>E90C11D6-3D65-44BF-9088-736CDFE60826</string>
					<key>actions</key>
					<array>
						<dict>
							<key>_class</key>
							<string>IR2IRCodeAction</string>
							<key>_uuid</key>
							<string>4621269E-2CA4-4B4E-9725-7C94321CF52B</string>
							<key>creationDate</key>
							<date>2020-09-18T06:49:47Z</date>
							<key>irData</key>
							<string>[N]3[1]32 944[2]24 1440[3]32 1960[RC]1[RP]0[FREQ]455[D]200020000101001100010</string>
							<key>modificationDate</key>
							<date>2020-09-18T06:50:14Z</date>
							<key>releaseTime</key>
							<integer>34</integer>
							<key>title</key>
							<string>radaropen</string>
						</dict>
						<dict>
							<key>_class</key>
							<string>IR2IRCodeAction</string>
							<key>_uuid</key>
							<string>27920BBE-6CFF-45F3-AF78-026F89D159DB</string>
							<key>creationDate</key>
							<date>2020-09-18T06:50:22Z</date>
							<key>irData</key>
							<string>[N]3[1]32 944[2]24 1440[3]32 1960[RC]1[RP]0[FREQ]455[D]200020000101001001010</string>
							<key>modificationDate</key>
							<date>2020-09-18T06:50:57Z</date>
							<key>releaseTime</key>
							<integer>34</integer>
							<key>title</key>
							<string>radarclose</string>
						</dict>
					</array>
					<key>group</key>
					<string>radar</string>
				</dict>
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Do you just need Pronto hex for these? If so, try this:

radaropen
0000 0009 0015 0000 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1 000F 028C 000B 01B1 000B 01B1 000F 028C 000F 028C 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1

radarclose
0000 0009 0015 0000 000F 037C 000B 01B1 000B 01B1 000B 01B1 000F 037C 000B 01B1 000B 01B1 000B 01B1 000B 01B1 000F 028C 000B 01B1 000F 028C 000B 01B1 000B 01B1 000F 028C 000B 01B1 000B 01B1 000F 028C 000B 01B1 000F 028C 000B 01B1
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
foufouner
Posts: 40
Joined: Fri Oct 28, 2016 7:35 am

Post by foufouner »

Hello The Robman,
I just did a test and enter the radar open code into my IRTrans but it doesn't work.

image
Post Reply