Shell Commands for LG TV

Asked by Adam Bledsoe

The last piece of my Xibo setup is to control my LG TV via the shell commands. I have used the LG RS232 V2.4 application (Windows) to successfully control the TV (on, off, volume, etc). I cannot, however, get those commands to work via a dos cmd. I have tried many variations of "ECHO ka 01 00(CR) > com1:", but they will not work via cmd. I get no return data. Nor do I get an "Access is Denied" error. I get no response. They also will not work via the Shell Command option in Xibo.

A couple questions for clarity:
-Do I actually paste the full command in Xibo, something such as "ECHO ka 01 00(CR) > com1:" (w/o quotes)?
-Do I have to save this command as a .bat file and put the full local address of that .bat file into the Shell Command setting in Xibo?
-Do I have to be logged in to a user on the Windows machine with certain Admin rights? I'm logged in as a Domain Admin -- not a local Admin.
-Can anyone provide exactly what to do for Xibo to send the "ka 01 00(CR)" command successfully to com1?

Thank you for any offered help.

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Adam Bledsoe (bledsoe812) said :
#2

Could anyone at least point me in the right direction? I have run out of things to test, and Xibo support (Twitter account) directed me here. Does anyone see what I am missing? Thank you for any offered help.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

I think nobody has replied because nobody knows for sure, not because we're ignoring you.

If the commands you're running don't work from the command prompt then they won't work from inside Xibo. You need to get that bit working first, then write batch files for each command, add to the Xibo allowed applications list (in the client settings) before calling it via the ShellCommand media type.

I'd guess you need a serial crossover cable to talk to the TV, so perhaps that's the issue.

Beyond that you're more likely to get help on a home automation or similar forum where someone might have experience of your particular hardware.

Revision history for this message
Tim Pfeiffer (timp-n) said :
#4

We use the shell command to run executables created by autoit.
the autoit executables can do anything from reboot the system, to display another application, and to possibly send commands to the LCD.
You must specificially check the box in the client setup to 'allow shell commands' for each client.
a layout such as
<photo1>
<cmd = mute>
<video1>
<cmd = un mute>
will show a photo, mute tv, play video, then unmute tv. This is what you would do if a client found the audio from a commerical playing over and over again extremely annoying and you didn't have the capability to strip the audio from the system.

Can you help with this problem?

Provide an answer of your own, or ask Adam Bledsoe for more information if necessary.

To post a message you must log in.