Home AMX User Forum AMX General Discussion

LG TV Query?

Anyone know how to get current states from LG TVs?

The command protocol is fairly easy, pretty thorough and allows commands for every function including remote IR (key) commands but nothing at all to query current states. Otherwise it would be a great protocol. How could they overlook such a vital functionality since without the ability to query it's only marginally better than IR.

Comments

  • jcereckejcerecke Posts: 40
    power query = 'ka 01 FF',$0D

    Send any code "FF" as the data section and it replies. eg:

    'a 01 OK01x' for power on
    'a 01 OK00x' for power off (note, no CR for responses)

    There is 1 single sentence in the instruction manual on it. Very hard to find, spent ages on this also.

    To quote the instruction manual:

    01. Power (Command: k a)
    ► To control Power On/Off of the set.
    Transmission
    Data 00 : Power Off 01 : Power On
    [k][a][ ][Set ID][ ][Data][Cr]
    Ack
    [a][ ][Set ID][ ][OK/NG][Data][x]
    ► To show Power On/Off.
    Transmission
    [k][a][ ][Set ID][ ][FF][Cr]
    Ack
    * Similarly, if other functions transmit ‘0xFF’ data
    based on this format, Acknowledgement data feed
    back presents status about each function.
    * OK Ack., Error Ack. and other message may dis-
    play on the screen when TV is power On.
    [a][ ][Set ID][ ][OK/NG][Data][x]
  • viningvining Posts: 4,368
    Thanks, I took another look at the doc and it does actually say that.
    [DATA] : To transmit the command data.
    Transmit the ‘FF’ data to read status of command
    I guess my brain couldn't comprehend it the way it was written.
Sign In or Register to comment.