Home AMX User Forum AMX General Discussion
Options

IR OK Command to STB

Hello All,

We are still awaiting to have our touch panel replaced so I am back to telnetting into our AMX NI-3100. I can successfully telnet into the AMX controller and send the command to change the settop box(STB) channel via the IR.
SEND_COMMAND 5001:9:0,"'XCH 1225'"

The STB(uverse) remote has an OK button - This OK button is used to power the STB On and Off

How can I send the OK command to the STB. I've tried the SEND_COMMAND 5001:14:0,"OK'" but ofcourse it does not work
Any help would be greatly appreciated
thanks,
Craig

+++++++++ found in a uverse forum +++++++
the signal for "OK" is
0000 0073 0000 0012 000F 000A 0006 000A 0006 0016 0006 000A 0006 001D 0006 0010 0006 000A 0006 000A 0006 000A 0006 000A 0006 0016 0006 0010 0006 0016 0006 0010 0006 0010 0006 001D 0006 000A 0006 0C5B

Comments

  • Options
    glr-ftiglr-fti Posts: 286
    send_string dvDirecTV,"$FA,$A5,$00,$01,$C3"
  • Options
    craigcraig Posts: 14
    glr-fti wrote: »
    send_string dvDirecTV,"$FA,$A5,$00,$01,$C3"

    Gary thanks for the response, but I was not able to get the STB to accept the OK command using the command that was posted - I modified the string as it would relate to my setup, but - I didn't get the command to register with the STB - maybe I have the wrong info for the OK signal ....

    send_string 5001:9:0,"$FA,$A5,$00,$01,$C3"
    SEND_COMMAND 5001:9:0,"$FA,$A5,$00,$01,$C3"
    send_string dv_Uverse_1,"$FA,$A5,$00,$01,$C3"

    Actually the OK button is about the only thing that works on the touch panel ... is there a way to capture or retrieve this info from the touch panel

    Thanks Again
    Craig
  • Options
    craig wrote: »
    Gary thanks for the response, but I was not able to get the STB to accept the OK command using the command that was posted - I modified the string as it would relate to my setup, but - I didn't get the command to register with the STB - maybe I have the wrong info for the OK signal ....

    send_string 5001:9:0,"$FA,$A5,$00,$01,$C3"
    SEND_COMMAND 5001:9:0,"$FA,$A5,$00,$01,$C3"
    send_string dv_Uverse_1,"$FA,$A5,$00,$01,$C3"

    Actually the OK button is about the only thing that works on the touch panel ... is there a way to capture or retrieve this info from the touch panel

    Thanks Again
    Craig

    If I understand you correctly, the code that is driven by the touch panel's "ok" button is actually working. If that is the case then just look through the code for that button event and see what's going on in that event.

    Also 5001:9:X is most commonly used for IR not RS-232. Are you 100% sure that the STB is connected via RS-232?
  • Options
    PhreaKPhreaK Posts: 966
    Bigsquatch wrote: »
    Also 5001:9:X is most commonly used for IR not RS-232. Are you 100% sure that the STB is connected via RS-232?
    Considering the title and information in the post I assume the STB is connected via IR.

    Within the AMX world controlling IR devices involves an additional level of abstraction to serial or IP control. The IR commands (such as the one in your initial post) must first by built into an *.irl file using IREdit. Each command takes a slot in the file which corresponds to a channel number. This is then loaded onto the device controller and you interact with it by pulsing the channel that holds the command you want sent or using the device controller API to do the same thing, just a little neater (buffering etc). Check out AMX-PI for all of them - 'XCH' is one of these.

    To help you out with your initial problem what you'll need to do is use the file transfer tool to download the irl file that loaded onto 5001:9:0. You'll then be able to open this in IR edit and see what slot the OK command is in and if its not there add it. From there all you'll need to do is activate it when you want it sent. I recommend looking at using the 'SP' (look it up in AMX-PI for more info) to do this.

    Also, this is all covered in AMX programmer training.
  • Options
    craigcraig Posts: 14
    PhreaK wrote: »
    ..... I recommend looking at using the 'SP' (look it up in AMX-PI for more info) to do this.

    Also, this is all covered in AMX programmer training.

    Thanks Kim ... that answered my question ... I was able to use the SP command to send the IR pulse to the set top box.
    SEND_COMMAND 5001:9:0,"'SP',49" ... works like a charm

    Thanks again for everyone's help,
    Craig
Sign In or Register to comment.