Replies: 6 comments 1 reply
-
Hi @omoknen you can control a lot of things via command line . Specifically you want to look at sending -poweroff and -poweron, i.e. in a .BAT file you would use: There are also commands for selecting TV's sound output if you want to look at that (-soundoutput) |
Beta Was this translation helpful? Give feedback.
-
I think I got it, but I have a problem. There is actually another tv in the house, but it isn't connected to a pc. I used the LGTV Companion to not automatically manage it, but I think it thinks it is device 2. C:\Essentials\LGCompanion\LGTVcli.exe -screenoff Device1 "LG1" -soundoutput external_arc Is there a way to get it to ignore the other family member's tv. |
Beta Was this translation helpful? Give feedback.
-
You can send the command to whichever device you like by adding the name or device id after the command. I see that you do this for the first of the two compounded commands. I suspect in your config Device1's friendly name is "LG1" so you only need to use one of them. Then add the device identifier also to the second command. Like so:
Edit: another variant if you don't want the app to control the other TV, at all, is to remove it from the main UI. Remember to press "apply" |
Beta Was this translation helpful? Give feedback.
-
Okay I fixed the other tv and removed it, but somehow I managed to create a zero file for for the cli version. LGTVcli.exe -screenoff Device1 -soundoutput external_arc device1 It gave me an access denied message and I checked it and lgtvcli.exe is a 0 file size modified when I ran the command, maybe I had a another "-" somewhere. I don't know. Took me awhile to figure it out. I tried to run the installer again, but there is no repair. If I remove it application and reinstalled it will my settings still be saved? |
Beta Was this translation helpful? Give feedback.
-
Maybe check if your antivirus did something funky? I don't see how the executable could be essentially deleted. If you uninstall and then reinstall the settings are saved. |
Beta Was this translation helpful? Give feedback.
-
I checked my quarantine and antivirus no messages. At least this old woman finally remembered I backed up the drive last night. lgtvcli.exe -screenon device1 -soundoutput external_arc device1 lgtvcli.exe -screenoff device1 -soundoutput external_arc device1 Just have to figure out how to put them in a script. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am really happy about this program it is really getting my some relief of turning it on, but I could use some help.
I am looking for bat script which could turn off the screen off and on. I could use some pointers as I do not do this that often. (novice) I did see the example scripts but they seemed complicated for what I want to do.
I had to work on this computer remotely thru vnc because I was in a different location, and the tv was powered off. This caused the earc to switch from the soundbar to the tv speakers.
I figure if I could turn off the screen maybe that wouldn't happen.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions