@sentry07 said:
I know it's kind of late now, but I just dealt with this last week. After much fighting with the LG Displays and asking IT if they were blocking WOL packets and such, I finally found out that there is a secret installation menu in the displays we were using, and in the secret menu there was a setting for "Enable WakeOnLan" and after that was enabled I could turn the TVs on via WOL. After the TVs are on, you could control them via TCP port 9761 with the usual LG protocol:
ka 00 00 // power off
xb 00 90 // hdmi 1
xb 00 91 // hdmi 2
The network guy danced a jig around me when we found that menu because he had been racking his brain trying to figure out what in their network switches would be blocking it. I tried both the local broadcast (192.168.0.255) and the global broadcast (255.255.255.255) addresses on UDP port 9 and both worked. 6 bytes of $FF followed by the MAC address 16 times.
What model display were you working with? Was it the commercial TVs? I've got some commercial displays and have the WOL working but it seems on the commercial displays the 9761 port is closed but there is a whole section in the setup menu for C*******.
Uhh, drawings show 49UX340C. I don't remember if that's what they were. But they did have the Roomview Connected stuff in the setup menu as well. Port 9761 worked out of the box as long as they were powered on. If they're off, you get nothing.
This thread has very helpful information. Thank you. I have successfully gotten the TV to Wake On LAN with my program, but I can not get it to respond to any of these Power Off commands:
"'ka 00 00',$0D"
"'ka 0 0',$0D"
"'POWER off',$0D"
Tried all of the above both with and without "Network IP Control" enabled in the hidden setup menu.
I think what is probably a big clue is that when I try to open the connection to port 9761 with IP_CLIENT_OPEN my result is an ONERROR event with error code 6.
Error code 6 is: "Connection Refused (IP_CLIENT_OPEN) - The specified host does not have a server socket listening on the requested port and therefore refused the connection."
So what this means to me is that maybe LG is now using a port other than their old port of 9761? If so, does anyone have any suggestions of other ports to try (other than 23, which also didn't work)? Any other ideas?
Might as well port scan it. Don't forget there's a second 'hidden' settings menu for turning on IP control, separate from the hidden menu to turn on WoL.
Comments
Thanks for that. Because sooner or later that link will disappear:
What model display were you working with? Was it the commercial TVs? I've got some commercial displays and have the WOL working but it seems on the commercial displays the 9761 port is closed but there is a whole section in the setup menu for C*******.
Uhh, drawings show 49UX340C. I don't remember if that's what they were. But they did have the Roomview Connected stuff in the setup menu as well. Port 9761 worked out of the box as long as they were powered on. If they're off, you get nothing.
This thread has very helpful information. Thank you. I have successfully gotten the TV to Wake On LAN with my program, but I can not get it to respond to any of these Power Off commands:
"'ka 00 00',$0D"
"'ka 0 0',$0D"
"'POWER off',$0D"
Tried all of the above both with and without "Network IP Control" enabled in the hidden setup menu.
I think what is probably a big clue is that when I try to open the connection to port 9761 with IP_CLIENT_OPEN my result is an ONERROR event with error code 6.
Error code 6 is: "Connection Refused (IP_CLIENT_OPEN) - The specified host does not have a server socket listening on the requested port and therefore refused the connection."
So what this means to me is that maybe LG is now using a port other than their old port of 9761? If so, does anyone have any suggestions of other ports to try (other than 23, which also didn't work)? Any other ideas?
Might as well port scan it. Don't forget there's a second 'hidden' settings menu for turning on IP control, separate from the hidden menu to turn on WoL.