Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] TV powers on, but not off #252

Open
LijMeh opened this issue Nov 1, 2024 · 4 comments
Open

[BUG] TV powers on, but not off #252

LijMeh opened this issue Nov 1, 2024 · 4 comments

Comments

@LijMeh
Copy link

LijMeh commented Nov 1, 2024

Describe the bug

TV will power on with LGTV Companion but not off. TV is set to static DHCP lease. TV is connected to wifi, computer is connected to ethernet, however, when trying with the computer connected to the same wifi network it doesn't work either.

How to reproduce the bug?

Attempting to use "Turn Off" or "Test" both fail to turn off the TV.

What was the expected behavior

TV should turn off.

What is your system?

Windows 11 22631.4317. LGTVcompanion v4.0.5

Log file and screenshots

 
[Fri Nov 01 13:57:12][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .        .    ][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": true,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": true,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 2,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.47/24 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     13:57:35][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     13:57:37][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .     13:57:38][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     13:57:39][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     13:58:21][D---][    IPC    ]  Received IPC/CLI: -poweron Device1
[     .        .    ][-I--][    CLI    ]  Force power on: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 1
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER ON  -----------------
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:22][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:23][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:24][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:25][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:26][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:27][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:28][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:29][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:30][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:31][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:32][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:33][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:34][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:35][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:36][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:37][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:38][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:39][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:40][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:41][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:42][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:43][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:44][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:45][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:46][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:47][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:48][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:49][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:50][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:51][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .     13:58:52][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:53][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:54][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:55][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:56][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .     13:58:57][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:58][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:58:59][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:59:00][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     13:59:01][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Finished retrying connection
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     14:00:52][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .     14:00:53][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     14:01:03][-I--][  System   ]  The service has terminated
 
[Fri Nov 01 14:01:03][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .        .    ][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": true,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": true,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 1,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.181/24 192.168.12.47/24 192.168.48.1/20 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     14:01:53][-I--][  System   ]  The service has terminated
 
[Fri Nov 01 14:01:53][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .     14:01:54][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": true,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": true,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 2,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.181/24 192.168.12.47/24 192.168.48.1/20 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     14:02:28][-I--][  System   ]  The service has terminated
 
[Fri Nov 01 14:02:28][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .        .    ][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": true,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": true,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 0,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.181/24 192.168.12.47/24 192.168.48.1/20 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     14:02:32][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     14:02:35][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     14:02:38][D---][    IPC    ]  Received IPC/CLI: -poweron Device1
[     .        .    ][-I--][    CLI    ]  Force power on: Device1 
[     .        .    ][D---][  System   ]  I/O context was stopped. Resetting!
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 1
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER ON  -----------------
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:39][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:40][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:41][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:42][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:43][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  Magic packets (WOL) are already being sent out
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:44][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:45][D---][   LG TV   ]  WOL-tastic packet > 255.255.255.255  - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.15   - OK
[     .        .    ][D---][   LG TV   ]  WOL-tastic packet > 192.168.121.255  - OK
[     .     14:02:46][-I--][  System   ]  The service has terminated
 
[Fri Nov 01 14:02:46][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .        .    ][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": true,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": false,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 0,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.181/24 192.168.12.47/24 192.168.48.1/20 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     14:03:17][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed
[     .     14:04:56][-I--][  System   ]  The service has terminated
 
[Fri Nov 01 14:04:56][-I--][  System   ]  --- LGTV Companion Service has started (v 4.0.5) ---------------------------
[     .        .    ][D---][config.json]  {
[     .        .    ][D---][config.json]      "Device1": {
[     .        .    ][D---][config.json]          "Enabled": false,
[     .        .    ][D---][config.json]          "HDMIinputcontrol": false,
[     .        .    ][D---][config.json]          "IP": "192.168.121.15",
[     .        .    ][D---][config.json]          "MAC": [
[     .        .    ][D---][config.json]              "24:E8:53:73:3F:6A"
[     .        .    ][D---][config.json]          ],
[     .        .    ][D---][config.json]          "Name": "LG TV",
[     .        .    ][D---][config.json]          "NewSockConnect": false,
[     .        .    ][D---][config.json]          "OnlyTurnOffIfCurrentHDMIInputNumberIs": 1,
[     .        .    ][D---][config.json]          "PersistentConnectionLevel": 0,
[     .        .    ][D---][config.json]          "SessionKey": "",
[     .        .    ][D---][config.json]          "SetHDMIInputOnResume": false,
[     .        .    ][D---][config.json]          "SetHDMIInputOnResumeToNumber": 1,
[     .        .    ][D---][config.json]          "Subnet": "255.255.255.0",
[     .        .    ][D---][config.json]          "UniqueDeviceKey": "\\\\?\\DISPLAY#GSMC0C8#5&19cb423e&0&UID41216#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}",
[     .        .    ][D---][config.json]          "WOL": 4
[     .        .    ][D---][config.json]      },
[     .        .    ][D---][config.json]      "LGTV Companion": {
[     .        .    ][D---][config.json]          "AdhereDisplayTopology": false,
[     .        .    ][D---][config.json]          "AutoUpdate": true,
[     .        .    ][D---][config.json]          "BlankWhenIdle": true,
[     .        .    ][D---][config.json]          "BlankWhenIdleDelay": 5,
[     .        .    ][D---][config.json]          "ExternalAPI": false,
[     .        .    ][D---][config.json]          "IdleFsExclusionsEnabled": false,
[     .        .    ][D---][config.json]          "IdleFullscreen": true,
[     .        .    ][D---][config.json]          "IdleWhiteListEnabled": false,
[     .        .    ][D---][config.json]          "KeepTopologyOnBoot": false,
[     .        .    ][D---][config.json]          "LogLevel": 4,
[     .        .    ][D---][config.json]          "MuteSpeakers": false,
[     .        .    ][D---][config.json]          "PowerOnTimeOut": 40,
[     .        .    ][D---][config.json]          "RemoteStream": false,
[     .        .    ][D---][config.json]          "RemoteStreamPowerOff": true,
[     .        .    ][D---][config.json]          "TimingShutdown": 2,
[     .        .    ][D---][config.json]          "Version": 3
[     .        .    ][D---][config.json]      }
[     .        .    ][D---][config.json]  }
[     .        .    ][D---][  System   ]  Host IP: 192.168.12.181/24 192.168.12.47/24 192.168.48.1/20 
[     .        .    ][-I--][    PWR    ]  *** System requests displays to power on
[     .        .    ][D---][    IPC    ]  Received IPC/CLI: -daemon 1 started
[     .        .    ][D---][ Daemon 1  ]  Daemon started!
[     .     14:05:04][D---][    IPC    ]  Received IPC/CLI: -poweroff Device1
[     .        .    ][-I--][    CLI    ]  Force power off: Device1 
[     .        .    ][D---][   LG TV   ]  Enqueueing work of type: 2
[     .        .    ][D---][  System   ]  Creating a new thread pool - 2 threads
[     .        .    ][D---][   LG TV   ]  ---  Starting work: POWER OFF  -----------------
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .     14:05:05][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][D---][   LG TV   ]  Failed to send data due to invalid socket / lost connection
[     .        .    ][D---][   LG TV   ]  Retrying connection...
[     .        .    ][D---][   LG TV   ]  The socket was closed due to a timeout (onConnect)
[     .        .    ][--W-][   LG TV   ]  Retried twice but failed to perform work of type 2. Aborting!
[     .        .    ][D---][   LG TV   ]  Work queue is empty
[     .        .    ][D---][   LG TV   ]  Closing connection. Socket is already closed

@JPersson77
Copy link
Owner

Hi,

From the log it looks like the PC cannot communicate with the TV, due to the TV being on a subnet different from the PC.

If possible try to put them on the same subnet, otherwise configure the router to allow communication between the subnets

@JPersson77
Copy link
Owner

Hi @LijMeh any feedback on the above?

@BloodyNoses
Copy link

Hi @LijMeh any feedback on the above?

Hi JPersson77, I have the same issue of the TV turning on successfully when the pc turns on, but it doesn't turn off when the PC turns off which is arguably more important.

When you talk about subnet -> does this mean guest wifi, or perhaps mesh wifi? I have 3 mesh decos so even though my pc and tv (monitor) are in the same room maybe they're connecting to different routers and that's the issue that's happening here?

How do I find the logs to post here?

@JPersson77
Copy link
Owner

Hi @BloodyNoses a subnet is a range of IP-addresses which together form a local area network. On a physical network many subnets can exist, providing separation between the individual subnets.

The issue @LijMeh have/had is a network communications failure between the PC and TV, potentially because the PC and TV is on different subnets. Further troubleshooting is needed to resolve, unless it was already resolved.

The logging function can be enabled in the global options, please enable debug level logging. The log is then saved to c:/programdata/lgtv companion/log.txt .

If the TV can be turned ON but not OFF by the app some typical reasons include:

  • erroneous IP configured for the device/TV. Remedied by verifying and updating the IP in the app
  • general network communications issues. Typically most easily resolved by pulling the power plugs on all network equipment including switches, access points and router

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants