Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JPersson77 committed Mar 19, 2024
2 parents 1075e75 + 576efc2 commit 3b299e2
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 143 deletions.
284 changes: 142 additions & 142 deletions Docs/Commandline.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ All other commands following the -output command will obey the formatting. Pleas
- *-freesyncoled_hdmiX [off | on]* - set OLED freesync for HDMI-input X (X = 1, 2, 3 or 4)
- *-hdmipcmode_hdmiX [off | on]* - set PC-mode for HDMI-input X (X = 1, 2, 3 or 4)
#### Examples:
*Set active HDMI-input to 1 for Device2 and then set active HDMI-input to 2 for Device2*
*Set active HDMI-input to 1 for Device1 and then set active HDMI-input to 2 for Device2*
```
"LGTV Companion.exe" -sethdmi1 Device1 -sethdmi 2 Device2
```
Expand All @@ -111,7 +111,7 @@ All other commands following the -output command will obey the formatting. Pleas
## Button commands (LGTV Companion and LGTVcli)
- *-button [button]* - virtual remote key press

>[button]: LEFT, RIGHT, UP, DOWN, RED, GREEN, YELLOW, BLUE, CHANNELUP, CHANNELDOWN, VOLUMEUP, VOLUMEDOWN, PLAY, PAUSE, STOP, REWIND, FASTFORWARD, ASTERISK, BACK, EXIT, ENTER, AMAZON, NETFLIX, 3D_MODE, AD *(Audio Description)*, ADVANCE_SETTING, ALEXA, AMAZON, ASPECT_RATIO, CC *(Closed Captions)*, DASH *(Live TV)*, EMANUAL, EZPIC, EZ_ADJUST *(CAREFUL! EzAdjust Service Menu. Default code is 0413)*, EYE_Q, GUIDE, HCEC, HOME (Dashboard), INFO, IN_START *(CAREFUL! InStart Service Menu. Default code is 0413)*, INPUT_HUB, IVI, LIST, LIVE_ZOOM, MAGNIFIER_ZOOM, MENU, MUTE, MYAPPS, NETFLIX, POWER, PROGRAM, QMENU, RECENT, RECLIST, RECORD, SAP, SCREEN_REMOTE, SEARCH, SOCCER, TELETEXT, TEXTOPTION, TIMER, TV, TWIN, UPDOWN *(Always Ready app)* USP, YANDEX, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
>[button]: LEFT, RIGHT, UP, DOWN, RED, GREEN, YELLOW, BLUE, CHANNELUP, CHANNELDOWN, VOLUMEUP, VOLUMEDOWN, PLAY, PAUSE, STOP, REWIND, FASTFORWARD, ASTERISK, BACK, EXIT, ENTER, AMAZON, NETFLIX, 3D_MODE, AD *(Audio Description)*, ADVANCE_SETTING, ALEXA, AMAZON, ASPECT_RATIO, CC *(Closed Captions)*, DASH *(Live TV)*, EMANUAL, EZPIC, EZ_ADJUST *(CAREFUL! EzAdjust Service Menu. Default code is 0413)*, EYE_Q, GUIDE, HCEC, HOME (Dashboard), INFO, IN_START *(CAREFUL! InStart Service Menu. Default code is 0413)*, INPUT_HUB, IVI, LIST, LIVE_ZOOM, MAGNIFIER_ZOOM, MENU, MUTE, MYAPPS, NETFLIX, POWER, PROGRAM, QMENU, RECENT, RECLIST, RECORD, SAP, SCREEN_REMOTE, SEARCH, SOCCER, TELETEXT, TEXTOPTION, TIMER, TV, TWIN, UPDOWN *(Always Ready app)* USP, YANDEX, BENDABLE, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
#### Examples:
*Display the info-panel on device 1*
```
Expand Down Expand Up @@ -274,13 +274,13 @@ All other commands following the -output command will obey the formatting. Pleas
"LGTV Companion.exe" -freesyncinfo device1
```
## Other settings (LGTV Companion and LGTVcli)
- *set_curve_preset* [1 -> 3] - Set the curve preset for compatible devices
- *adjust_curve_preset* [preset] [0 -> 100] - Adjust value of curve preset for compatible devices
- *set_curvature* [0 -> 100] - Set the curvature for compatible devices.
- *ambientlight* [off|on] - Enable or disable the ambient light for compatible models
- *ambientlight_mode* [value*] - Set the ambient lighting mode
- *ambientlight_brightness* [1 -> 10] - Set the ambient light brightness
- *ambientlight_staticmodecolorX* [0 -> 42] - Set the color for ambient static mode color X (1 -> 4)
- *-set_curve_preset* [flat|1 -> 3] - Set the curve preset for compatible devices
- *-adjust_curve_preset* [1 -> 3] [0 -> 100] - Adjust value of curve preset for compatible devices
- *-set_curvature* [0 -> 100] - Set the curvature for compatible devices.
- *-ambientlight* [off|on] - Enable or disable the ambient light for compatible models
- *-ambientlight_mode* [dynamic|peaceful|videoSyncMode|soundSyncMode|staticMode1|staticMode2|staticMode3|staticMode4] - Set the ambient lighting mode
- *-ambientlight_brightness* [1 -> 10] - Set the ambient light brightness
- *-ambientlight_staticmodecolorX* [0 -> 42] - Set the color for ambient static mode color X (1 -> 4)

#### Examples:
*Set the curvature on device 1 for compatible devices (e.g.LG OLED Flex)*
Expand Down Expand Up @@ -483,139 +483,139 @@ The following endpoints are used to query information from WebOS devices, using

- *-settings_other [payload]* - Send a generic JSON payload containing settings for the "other" system settings category (see examples of applicable settings below)

"activeArtisticDisplayScreenSaver": false,
"amazonHotkeyIsActive": true,
"appReturn": "",
"battery25PercentMode": "off",
"batteryInstopProtect": "on",
"blackStabilizer": 13,
"blueLight": "off",
"care365": {"accountName":"","accountNumber":"","userAgreementLocation":"","userAgreementVersion":"","value":"off"},
"colorimetry": "auto",
"colorimetryHDMI1": "auto",
"colorimetryHDMI2": "auto",
"colorimetryHDMI3": "auto",
"colorimetryHDMI4": "auto",
"contentRecommendation": "on",
"cursorAutoRemover": "on",
"darkMode": "off",
"dolbyVSVDBVer": "v2",
"dolbyVSVDBVerHDMI1": "v2",
"dolbyVSVDBVerHDMI2": "v2",
"dolbyVSVDBVerHDMI3": "v2",
"dolbyVSVDBVerHDMI4": "v2",
"enableQuickGame": "on",
"eotf": "auto",
"eotfHDMI1": "auto",
"eotfHDMI2": "auto",
"eotfHDMI3": "auto",
"eotfHDMI4": "auto",
"epgRowCount": "1",
"fitLogUsbDump": "off",
"flickerPatternCtrl": false,
"freesync": "off",
"freesyncLCDHDMI1": "off",
"freesyncLCDHDMI2": "off",
"freesyncLCDHDMI3": "off",
"freesyncLCDHDMI4": "off",
"freesyncOLEDHDMI1": "off",
"freesyncOLEDHDMI2": "off",
"freesyncOLEDHDMI3": "off",
"freesyncOLEDHDMI4": "off",
"freesyncSupport": "off",
"freeviewTnCPopup": "off",
"gameAdjustContrast": 95,
"gameBlackLevel": 50,
"gameColorDepth": 55,
"gameDashboardStatusList": ["fps","vrr_aiGameSound_whiteStabilizer","blackStabilizer","lowLatency"],
"gameGenre": "Standard",
"gameMode": {"hdmi1":"off","hdmi2":"off","hdmi3":"off","hdmi4":"off"},
"gameOptimization": "on",
"gameOptimizationHDMI1": "on",
"gameOptimizationHDMI2": "on",
"gameOptimizationHDMI3": "on",
"gameOptimizationHDMI4": "on",
"gameScreenPosition": "middle",
"gameScreenRatio": "16:9",
"gameScreenSize": "full",
"gameSettingModified": {"FPS":false,"RPG":false,"RTS":false,"Sports":false,"Standard":false,"USER":false},
"gameSharpness": 10,
"gameUIColor": "violet",
"gameWallpaper": {"folderUpdateVersion":0,"imgSrc":""},
"hdmiPcMode": {"hdmi1":false,"hdmi2":false,"hdmi3":false,"hdmi4":false},
"homeAppLaunched": "off",
"homeEffectVersion": [{"id":"Christmas","version":1.0},{"id":"Halloween","version":1.0}],
"homelegalPopup": "on",
"illuminanceThreshold": 0,
"inputOptimization": "auto",
"isFirstCapture": "true",
"isfUpdated": "false",
"lgLogoDisplay": "on",
"lightingBrightness": 8,
"lightingEnable": "off",
"lightingMode": "dynamic",
"lowLevelAdjustment": 0,
"lowPowerMode": "off",
"masterLuminanceLevel": "540nit",
"masteringColor": "auto",
"masteringColorHDMI1": "auto",
"masteringColorHDMI2": "auto",
"masteringColorHDMI3": "auto",
"masteringColorHDMI4": "auto",
"masteringPeak": "auto",
"masteringPeakHDMI1": "auto",
"masteringPeakHDMI2": "auto",
"masteringPeakHDMI3": "auto",
"masteringPeakHDMI4": "auto",
"maxCLL": "auto",
"maxCLLHDMI1": "auto",
"maxCLLHDMI2": "auto",
"maxCLLHDMI3": "auto",
"maxCLLHDMI4": "auto",
"maxFALL": "auto",
"maxFALLHDMI1": "auto",
"maxFALLHDMI2": "auto",
"maxFALLHDMI3": "auto",
"maxFALLHDMI4": "auto",
"netflixHotkeyIsActive": true,
"newKey": "on",
"oledCareMode": "off",
"oledCareRecommendation": "off",
"playbackThreshold": 200,
"pseudoTouchMode": "on",
"quickSettingsMenuList": ["QuickSettings_picture_button","QuickSettings_soundMode_button","QuickSettings_soundOut_button","QuickSettings_game_button","QuickSettings_multiview_button","QuickSettings_ocp_button","QuickSettings_network_button","QuickSettings_menu_button"],
"screenRemoteAutoShow": "true",
"screenRemoteExpanded": "false",
"screenRemotePosition": "right",
"simplinkAutoPowerOn": "on",
"simplinkEnable": "off",
"soundSyncModeColor": "auto",
"soundSyncModeDisplayMode": "bar",
"soundSyncModeFrequency": "mid",
"soundSyncModeStaticColor": 35,
"staticModeColor1": 35,
"staticModeColor2": 1,
"staticModeColor3": 12,
"staticModeColor4": 0,
"supportAirplay": false,
"supportBnoModel": false,
"touchRemoteLaunchMode": "edgeSwipe",
"ueiEnable": "off",
"uhdDeepColor": "off",
"uhdDeepColor8kHDMI1": "off",
"uhdDeepColor8kHDMI2": "off",
"uhdDeepColor8kHDMI3": "off",
"uhdDeepColor8kHDMI4": "off",
"uhdDeepColorAutoStatusHDMI1": "none",
"uhdDeepColorAutoStatusHDMI2": "none",
"uhdDeepColorAutoStatusHDMI3": "none",
"uhdDeepColorAutoStatusHDMI4": "none",
"uhdDeepColorHDMI1": "off",
"uhdDeepColorHDMI2": "off",
"uhdDeepColorHDMI3": "off",
"uhdDeepColorHDMI4": "off",
"weatherAllowed": false,
"whiteStabilizer": 13
"activeArtisticDisplayScreenSaver": false,
"amazonHotkeyIsActive": true,
"appReturn": "",
"battery25PercentMode": "off",
"batteryInstopProtect": "on",
"blackStabilizer": 13,
"blueLight": "off",
"care365": {"accountName":"","accountNumber":"","userAgreementLocation":"","userAgreementVersion":"","value":"off"},
"colorimetry": "auto",
"colorimetryHDMI1": "auto",
"colorimetryHDMI2": "auto",
"colorimetryHDMI3": "auto",
"colorimetryHDMI4": "auto",
"contentRecommendation": "on",
"cursorAutoRemover": "on",
"darkMode": "off",
"dolbyVSVDBVer": "v2",
"dolbyVSVDBVerHDMI1": "v2",
"dolbyVSVDBVerHDMI2": "v2",
"dolbyVSVDBVerHDMI3": "v2",
"dolbyVSVDBVerHDMI4": "v2",
"enableQuickGame": "on",
"eotf": "auto",
"eotfHDMI1": "auto",
"eotfHDMI2": "auto",
"eotfHDMI3": "auto",
"eotfHDMI4": "auto",
"epgRowCount": "1",
"fitLogUsbDump": "off",
"flickerPatternCtrl": false,
"freesync": "off",
"freesyncLCDHDMI1": "off",
"freesyncLCDHDMI2": "off",
"freesyncLCDHDMI3": "off",
"freesyncLCDHDMI4": "off",
"freesyncOLEDHDMI1": "off",
"freesyncOLEDHDMI2": "off",
"freesyncOLEDHDMI3": "off",
"freesyncOLEDHDMI4": "off",
"freesyncSupport": "off",
"freeviewTnCPopup": "off",
"gameAdjustContrast": 95,
"gameBlackLevel": 50,
"gameColorDepth": 55,
"gameDashboardStatusList": ["fps","vrr_aiGameSound_whiteStabilizer","blackStabilizer","lowLatency"],
"gameGenre": "Standard",
"gameMode": {"hdmi1":"off","hdmi2":"off","hdmi3":"off","hdmi4":"off"},
"gameOptimization": "on",
"gameOptimizationHDMI1": "on",
"gameOptimizationHDMI2": "on",
"gameOptimizationHDMI3": "on",
"gameOptimizationHDMI4": "on",
"gameScreenPosition": "middle",
"gameScreenRatio": "16:9",
"gameScreenSize": "full",
"gameSettingModified": {"FPS":false,"RPG":false,"RTS":false,"Sports":false,"Standard":false,"USER":false},
"gameSharpness": 10,
"gameUIColor": "violet",
"gameWallpaper": {"folderUpdateVersion":0,"imgSrc":""},
"hdmiPcMode": {"hdmi1":false,"hdmi2":false,"hdmi3":false,"hdmi4":false},
"homeAppLaunched": "off",
"homeEffectVersion": [{"id":"Christmas","version":1.0},{"id":"Halloween","version":1.0}],
"homelegalPopup": "on",
"illuminanceThreshold": 0,
"inputOptimization": "auto",
"isFirstCapture": "true",
"isfUpdated": "false",
"lgLogoDisplay": "on",
"lightingBrightness": 8,
"lightingEnable": "off",
"lightingMode": "dynamic",
"lowLevelAdjustment": 0,
"lowPowerMode": "off",
"masterLuminanceLevel": "540nit",
"masteringColor": "auto",
"masteringColorHDMI1": "auto",
"masteringColorHDMI2": "auto",
"masteringColorHDMI3": "auto",
"masteringColorHDMI4": "auto",
"masteringPeak": "auto",
"masteringPeakHDMI1": "auto",
"masteringPeakHDMI2": "auto",
"masteringPeakHDMI3": "auto",
"masteringPeakHDMI4": "auto",
"maxCLL": "auto",
"maxCLLHDMI1": "auto",
"maxCLLHDMI2": "auto",
"maxCLLHDMI3": "auto",
"maxCLLHDMI4": "auto",
"maxFALL": "auto",
"maxFALLHDMI1": "auto",
"maxFALLHDMI2": "auto",
"maxFALLHDMI3": "auto",
"maxFALLHDMI4": "auto",
"netflixHotkeyIsActive": true,
"newKey": "on",
"oledCareMode": "off",
"oledCareRecommendation": "off",
"playbackThreshold": 200,
"pseudoTouchMode": "on",
"quickSettingsMenuList": ["QuickSettings_picture_button","QuickSettings_soundMode_button","QuickSettings_soundOut_button","QuickSettings_game_button","QuickSettings_multiview_button","QuickSettings_ocp_button","QuickSettings_network_button","QuickSettings_menu_button"],
"screenRemoteAutoShow": "true",
"screenRemoteExpanded": "false",
"screenRemotePosition": "right",
"simplinkAutoPowerOn": "on",
"simplinkEnable": "off",
"soundSyncModeColor": "auto",
"soundSyncModeDisplayMode": "bar",
"soundSyncModeFrequency": "mid",
"soundSyncModeStaticColor": 35,
"staticModeColor1": 35,
"staticModeColor2": 1,
"staticModeColor3": 12,
"staticModeColor4": 0,
"supportAirplay": false,
"supportBnoModel": false,
"touchRemoteLaunchMode": "edgeSwipe",
"ueiEnable": "off",
"uhdDeepColor": "off",
"uhdDeepColor8kHDMI1": "off",
"uhdDeepColor8kHDMI2": "off",
"uhdDeepColor8kHDMI3": "off",
"uhdDeepColor8kHDMI4": "off",
"uhdDeepColorAutoStatusHDMI1": "none",
"uhdDeepColorAutoStatusHDMI2": "none",
"uhdDeepColorAutoStatusHDMI3": "none",
"uhdDeepColorAutoStatusHDMI4": "none",
"uhdDeepColorHDMI1": "off",
"uhdDeepColorHDMI2": "off",
"uhdDeepColorHDMI3": "off",
"uhdDeepColorHDMI4": "off",
"weatherAllowed": false,
"whiteStabilizer": 13

#### Examples:
*Set black stabilizer to 13 for device1*
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# LGTV Companion

## Download instructions
## Download and install instructions
**The installer for the latest version can be downloaded from the [Releases](https://github.com/JPersson77/LGTVCompanion/releases) page.**

>Please note that Windows Defender SmartScreen may block the download. There is no way for developers to directly influence which apps will show up on SmartScreen. If the installer will not download you must therefore instruct your web browser to download it regardless and if the installer does not run you must unblock the installer. Unblocking is done by right clicking the downloaded installer, clicking on properties, under general and at the bottom security section check the "Unblock" checkbox. You can help prevent this in the future by reporting this application as safe to Microsoft when downloading the installer.
Alternatively you can use Winget via Windows Terminal/PowerShell: `winget install LGTVCompanion`

## Overview
This application (UI and service) controls LG WebOS TVs and displays.

Expand Down

0 comments on commit 3b299e2

Please sign in to comment.