LG TV Query?
vining
Posts: 4,368
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.
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.
0
Comments
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]