All
Just hoping for whatever I am missing here. I am trying to communicate to an LG tv using the serial plug in with no sucess. I have made it work with other devices so my system works. Can anyone suggest what the appropriat call would be from Girder. The command the tv is looking for is
[Command1][Command2][ ][Set ID][ ][Data][Cr]
* [Command 1]: First command to control the set. (j,k,m or x)
* [Command 2]: Second command to control the set.
* [Set ID]: You can adjust the set ID to choose desired TV ID
number in Setup menu. Adjustment range is 1 ~
99. When selecting Set ID ‘0’, every connected the
TV is controlled. Set ID is indicated as decimal
(1~99) on menu and as Hexa decimal (0x0~0x63)
on transmission/receiving protocol.
* [DATA]: To transmit command data.
Transmit ‘FF’ data to read status of command.
* [Cr]: Carriage Return
ASCII code ‘0x0D’
* [ ]: ASCII code ‘space (0x20)’
should there be space or something between the commands?
Have not had the time to migrate yet to 4. If I must to make your solution work, I will. The TV control is very important to me although, Mark F over a year ago assisted in getting my alarm and marantz receiver to work flawlessly. I would rather not change if not necessary
Which parts need to be translated to binary and which don't? Can you post a link to the RS-232 protocol manual?
EDIT: Try these.
The attached .zip file contains a .ini and a .lua file. The .ini should be imported into the serial plugin. Be sure to assign the correct COM port to the new device. The .lua file should be placed in the ...../girder/lua directory.
Once you have done the above, restart Girder and you should be able to use the commands on the LGTV device object. For example:
LGTV:PowerOn()
It must be noted that I stole the commands from the files Rob posted.
Last edited by Mark F; May 31st, 2006 at 08:07 AM.