View previous topic :: View next topic |
Author |
Message |
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Mon Jun 27, 2011 6:10 am Post subject: AMX - help needed |
|
|
Guys
I've got AMX NI3100 unit, already programmed, just trying to change one of the devices (satellite receiver) but cant get it programmed right. I have discrete HEX codes but AMX does not accept them. If anyone could help - I will post more details. Thank you! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Mon Jun 27, 2011 9:26 am Post subject: |
|
|
We would need more details in order to know if we can help. _________________ 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 |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Mon Jun 27, 2011 12:58 pm Post subject: |
|
|
So, AMX 3100 NI unit used to control Pace Digibox satellite receiver via its Serial/IR port (IR LED connected to AMX Serial/IR port and stick to the receiver's face) and it was working fine. Recently client replaced Pace with Topfield PVR 4000 and it does not work with AMX because of different HEX codes. I have downloaded file from AMX unit and tried to change HEX codes at least for POWER and Ch+ Ch- buttons. I took HEX codes from LIRC website here: http://lirc.sourceforge.net/remotes/ for example, POWER code for TF4000PVR is 50AF, i used Yanaha to Pronto converter http://www.monmailbox.com/~raph/irhex_converter.html and it made sequence of 76 parts, starting with 0000 006D 0022 0002 0155 00AA 0015
After I copy/pasted this into AMX file (via IREDIT) and uploaded to AMX. IR led is flashing but it does not affects receiver's power. I tried some different combinations (reversed, other buttons/codes) but no luck. Any help would be greatly appreciated. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Mon Jun 27, 2011 4:40 pm Post subject: |
|
|
Reading between the lines, am I correct in assuming that you can import remote signals into the AMX box if they are in Pronto hex format?
If that is the case, you just need the signals for the Topfield PVR 4000 in Pronto format and you should be good to go, correct?
Looking at the files in our file section, I see that most of the Topfield upgrades use NEC1 with device code 32. I checked over at Remote Central and they have a file for the PVR 4000 which I downloaded and confirmed that it does indeed use NEC1 dev 32
I ran the Pronto file through the CCF2EFC program to produce the following file of Pronto hex:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=9718
Here's the POWER button as a sample to test with:
0000 006D 0024 0000 0156 00AB 0015 0016 0015 0015 0015 0016 0015 0015 0015 0016 0015 0040 0015 0016 0015 0015 0015 0041 0015 0040 0015 0041 0015 0040 0015 0041 0015 0015 0015 0041 0015 0040 0015 0016 0015 0040 0015 0016 0015 0040 0015 0016 0015 0015 0015 0016 0015 0015 0015 0041 0015 0015 0015 0041 0015 0015 0015 0041 0015 0040 0015 0041 0015 0040 0015 05F3 0156 0055 0015 00AB _________________ 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 |
|
|
3FG Expert
Joined: 19 May 2009 Posts: 3367
|
Posted: Mon Jun 27, 2011 5:21 pm Post subject: |
|
|
Just to confirm what Rob said, the LIRC file shows "pre_data 0x4FB".
That's the device/subdevice pair. However, in this LIRC file, it is necessary to convert the data, reversing the order of the bits and taking the binary complement.
0000 0100 1111 1011 reverses to:
1101 1111 0010 0000 , and complements to
0010 0000 1101 1111
2 0 D F
Thus it is device 0x20, subdevice 0xDF, or 32.223 in decimal notation.
Power is shown as 0x50AF and treating it similarly, the decimal function code is 10.
Since the 2 bytes of function numbers are binary complements of each other, it is simpler to just take 0x50 and reverse it to 0x0A, to get function number 10.
(For this component, the device/subdevice are also complements of each other,so the same trick work for the device number too.) |
|
Back to top |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Mon Jun 27, 2011 10:22 pm Post subject: |
|
|
Thank you, guys. Let me try this in a bit and I will post result here! |
|
Back to top |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Tue Jun 28, 2011 9:36 am Post subject: |
|
|
AMX accepted your codes and it is working fine!
Yes, AMX accepts Pronto format (fortunately for me)
I still don't have a clue...from LIRC file, Topfield PVR4000 Power button HEX code was 0x50AF, why Yamaha converter does the different output than you did with CCF2EFC? I would like to install another receiver (OPENBOX) and there is no HEX codes available for it - I have to scan them with LIRC, that's why I am asking.
Thanks a lot for your help! |
|
Back to top |
|
|
3FG Expert
Joined: 19 May 2009 Posts: 3367
|
Posted: Tue Jun 28, 2011 10:36 am Post subject: |
|
|
To use the Yamaha converter, the IR protocol needs to be NEC1, and in the case of the Topfield, it is.
As I tried to explain earlier, the Topfield LIRC file has to be converted by reversing the order of the bits. For the Topfield, the device number is 20 in hexadecimal notation--this was obtained by reversing the pre-data entry -- 04FB becomes 20DF, and 20 is the device number.
The function number 50AF is
0101 0000 1010 1111
Reversing the bolded part gives
0000 1010
or 0A in hexadecimal.
So you would enter 20 0A into the Yamaha converter.
But the LIRC file format is flexible and another person might have made the file including the text "flags REVERSE". Then you wouldn't need to reverse the bits, because the author of the file already has done it.
If the OPENBOX receiver also uses NEC1, you can use the Yamaha converter on it. If it uses a different IR protocol, the Yamha converter won't work, and you can use MakeHex and MakeHexGUI instead.
Post a link to the LIRC file and maybe we'll recognize the protocol. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Tue Jun 28, 2011 10:42 am Post subject: |
|
|
We don't have tools that work with LRC files, we have to look at them manually. You should start a new thread for the Openbox and post the LIRC info. If we can determine the protocol and device code(s) from the LIRC data, you could then use MakeHex to generate the Pronto hex. _________________ 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 |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Tue Jun 28, 2011 11:42 am Post subject: |
|
|
Thank you for your help! I managed to get correct Openbox codes with chinese IR analyzer from ebay and makehex. Will get all buttons done tomorrow, but not sure if anyone else needs that |
|
Back to top |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Wed Jun 29, 2011 6:45 am Post subject: |
|
|
Thank you guys. I managed to program AMX with correct Openbox codes after checking NEC1 protocol structure. Chinese IR analyzer gave me function numbers (3rd byte) and I found sequences in makehex created file for device ID 1 and protocol NEC1. Problem is sorted, you can close the discussion! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21238 Location: Chicago, IL |
Posted: Wed Jun 29, 2011 11:22 am Post subject: |
|
|
If you have compiled a set of codes that we don't currently have here in the JP1 file section, please post the details so we can add a JP1 upgrade for the device.
Please give as much detail as possible, so the next person will know what the codes are for.
Thanks. _________________ 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 |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Fri Jul 01, 2011 1:27 am Post subject: |
|
|
Sure, satellite box called Openbox 820-CI, device code for makehex is 0, protocol NEC1, function list is below:
Ch - 21
Ch + 22
Power 95
Menu 28
OK (Select) 69
INFO 20
Back 66
EPG 26
FAV 25
MENU UP 24
MENU DOWN 70
MENU RIGHT 73
MENU LEFT 65 |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Fri Jul 01, 2011 8:37 am Post subject: |
|
|
Thanks Africa, this was quite different than the Openbox s9 that we already had in the file section, so this will be helpful.
I've created an upgrade from your information and placed it here.
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=9723
By submitting this information, you will help people down the line.
I'm certain that a satellite box will have number buttons too.
Can you give us the information for those as well? _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
Africa
Joined: 27 Jun 2011 Posts: 8
|
Posted: Fri Jul 01, 2011 2:28 pm Post subject: |
|
|
Certainly, will send rest in the couple of days... |
|
Back to top |
|
|
|