Need help CONVERTING from pronto to flipper :

Hi there.
I would like to add the philips service tool/remote to flipper.
The remote is almost impossible to buy nowadays but there is this page with the PRONTO sequences to enable the service menus :

https://www.majority.nl/tv_remote_control_codes.htm

The RC5 codes doesn’t quite work because some of them are suposed to be used as extended and not simple RC5 and others have a sequence of several RC5 for each press of the remote so i would need help of someody that can convert the pronto section to flipper format on that remote :

example :

GFL
Alignment
i.e MG3

RC5 PRONTO SAMPLE TESTED AND WORKING :

0000 0070 0068 0000 0021 0021 0042 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0021 0042 0042 0042 039D 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 039D 0042 0021 0021 0042 0042 0042 0042 0042 0042 0042 0021 0021 0021 0021 0042 0021 0021 4849 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0042 0042 0021 0021 4849 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 1CEA 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 1CEA 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 1CEA 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 1CEA 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 2B5F

CAN SOMEONE CONVERT THAT to flipper format and do the same for the rest of the functions mentioned on that page ???

Thanks.

There is a script in UberGuidoZ/Flipper repo, full code here

Code
//usage: node irconvert.js <pronto hex>
//steps from https://stackoverflow.com/a/27323452
//sourced from https://gist.github.com/XMB5/a877ab620d812260f2da8380aac050d3

numbers=process.argv[2].split(' ').map(x=>parseInt(x,16))
fullSequenceConverted=[]

carrierFrequency = 1000000/(numbers[1] * .241246)
codeLength = numbers[2]
repeatCodeLength = numbers[3]

for(i=4;i<numbers.length;i++) {
    convertedToMicrosec = Math.round(1000000*(numbers[i]/carrierFrequency))
    fullSequenceConverted.push(convertedToMicrosec)
}

sequence1EndPoint = 2 * codeLength
sequence2EndPoint = sequence1EndPoint + 2 * repeatCodeLength

firstSequence = fullSequenceConverted.slice(0, sequence1EndPoint)
secondSequence = fullSequenceConverted.slice(sequence1EndPoint, sequence2EndPoint)

console.log('first: ' + firstSequence.join(', '))
console.log('second: ' + secondSequence.join(', '))

Here is my attempt to get it working:

Please test

name: something
type: raw
frequency: 30710
frequency: 36683
duty_cycle: 0.330000
data: 892 892 1783 892 892 1783 1783 1783 1783 892 892 1783 892 892 1783 1783 1783 24993 892 892 1783 1783 1783 892 892 892 892 892 892 892 892 892 892 892 892 1783 892 892 892 892 892 24993 1783 892 892 1783 1783 1783 1783 1783 1783 1783 892 892 892 892 1783 892 892 499997 892 892 1783 1783 892 892 892 892 892 892 892 892 1783 892 892 892 892 1783 1783 892 892 499997 892 892 1783 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 1783 892 892 892 199999 892 892 1783 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 1783 892 199999 892 892 1783 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 1783 1783 892 892 199999 892 892 1783 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 892 199999 1783 892 892 892 892 892 892 892 892 892 892 892 892 892 892 1783 1783 1783 892 892 892 892 892 299998

Thanks for your fast reply.
I’m having issues running the script (java) on my windows so can i ask you to convert the other commands as well ?
The one you converted did work.
If you have some extra time those are the ones i need converted as well :

1-
0000 0070 0035 0000 0021 0021 0042 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0021 0042 0042 0042 022B 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 02E4 0042 0021 0021 0042 0042 0042 0042 0042 0042 0042 0021 0021 0021 0021 0042 0021 0021 2087 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0042 0042 0021 0021 00B9 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0042 0042 0021 0021 039D

2-
0000 0070 002A 0000 0021 0021 0042 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0021 0042 0042 0042 039D 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 039D 0042 0021 0021 0042 0042 0042 0042 0042 0042 0042 0021 0021 0021 0021 0042 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 2B5F

3-
0000 0070 0029 0000 0021 0021 0042 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0021 0042 0042 0042 039D 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 039D 0042 0021 0021 0042 0042 0042 0042 0042 0042 0042 0021 0021 0021 0021 0042 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0042 2B5F

4-
0000 0070 002A 0000 0021 0021 0042 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0021 0042 0042 0042 039D 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 039D 0042 0021 0021 0042 0042 0042 0042 0042 0042 0042 0021 0021 0021 0021 0042 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 039D

5-
0000 0070 000C 0000 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 039D

6-
0000 0070 0052 0000 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0042 0021 0021 0042 039D 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 039D 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0021 0021 0021 0021 2B5F 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0021 0E75 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 039D 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0021 0021 0042 0021 2B5F

7-
0000 0070 000B 0000 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0042 0042 0021 0021 0E75

8-
0000 0070 0037 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 039D 0021 0021 0042 0042 0021 0021 0021 0021 0042 0042 0021 0021 0042 0042 0042 0021 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0042 0021 0021 0042 0042 9092 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0042 56BE 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

9-
0000 0070 0042 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 039D 0021 0021 0042 0042 0021 0021 0021 0021 0042 0042 0021 0021 0042 0042 0042 0021 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0042 0021 0021 0042 0042 9092 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0042 0042 0042 56BE 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0042 0021 0021 0021 56BE 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

10-
0000 0070 0045 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0042 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 9092 0042 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 9092 0042 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 9092 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

11-
0000 0070 0044 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0042 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 9092 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 039D 0021 0021 0042 0021 0021 0042 0021 0021 0042 0042 0021 0021 0042 0042 0042 0021 0021 0021 0021 9092 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

12-
0000 0070 0043 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0042 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 9092 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 039D 0021 0021 0042 0021 0021 0042 0021 0021 0042 0042 0021 0021 0042 0042 0042 0021 0021 0021 0021 9092 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

13-
0000 0070 0044 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0042 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 9092 0021 0021 0042 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0021 0021 0042 0021 0021 0042 0042 0021 0021 0042 0042 0042 0021 0021 0021 0021 9092 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

14-
0000 0070 003A 0000 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0042 0042 0021 0021 0021 0021 0042 0021 0021 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0042 0042 0042 0042 0021 0021 0042 0042 0021 039D 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0042 0042 0021 0021 0021 0021 0021 9092 0021 0021 0042 0042 0042 0021 0021 0021 0021 0021 0021 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 9092 0021 0021 0042 0042 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 0021 2B5F

If you or someone else can convert those PRONTO blocks in flipper data i would be very happy !

Thanks once again.

I’m having issues running the script (java) on my windows

If you get get onto that forum, you have a modern web browser. And if you have a web browser, then… Yes, you can run JS inside! There is a thing called Console in Developer Tools (or so). If you are an IT-related person (you appear to be), that should be enough. Otherwise, I will try in few days.
Actually, surprised a little that it worked. Was suspicious of my own actions.
Don’t forget to submit resulting remote into IrDB.
UPD: And, which of frequencies did you use? First is from known Pana files, second is given by script. Did you copy as-is and Flipper interpreted it somehow on its own?

Thanks for your reply.
I did install nodeJS for windows but i’m having no luck running that code. Also with the console of the browser how i’m i supposed to input the PRONTO code ? I did try to load that java code on the browser but i got error because it expects an input (the code to convert). I’m not a programmer and i don’t have a clue about how to make this work, so i would be very happy if you or someone else can convert the rest of the coded or help me out with making this convertion possible …

Frequency is 36683 and i used it because it was equal to other pronto convertions.

I didn’t use the first frequency. Also the code converted issue the commands to open the service menu (align) pluse sends the code (password) at the end so if you have ANY TV that uses RC5 you can see that this does work because it sends the commands that you will see as changing channel when sending the 4 digit password !!! This is very cool !!! Confirmed to work with frequency: 36683
duty_cycle: 0.330000 .

Thanks !!! I will be very greatfull if you or someone can convert the rest or provide more details on how to make the script work on the browser.

Have a nice Christmas !

Also with the console of the browser how i’m i supposed to input the PRONTO code ?

numbers="0000 0070 ... 0021 039D".split(' ').map(x=>parseInt(x,16)) and insert your PRONTO inside the double quotes.
Here is converted file.
Philips_service_tmp.ir (7.2 KB)

Thanks for your help and conversion ! It did work just fine !!! Thanks a million times.
Also thanks for the explanation abot the script, it might be usefull in the future.
Best regards and have a nice new year !