Τελικά βρήκα τρόπο για αυτόματο on/off της c2 από το pc
Κατεβάστε αυτό εδώ το πρόγραμμα, και αφού το εγκαταστήσετε , ακολουθείστε τις οδηγίες από το site.
Δούλεψε κανονικά σε μένα.
Πρώτα πρέπει να ενεργοποιήσετε καλύτερα το static ip address της lg από το router, γιατί λειτουργεί μέσω ip.
Επίσης, πρέπει να έχετε την lg σε always on mode, και να ενεργοποιήσετε το άνοιγμα , κλείσιμο μέσω network/Wi-Fi στα settings της.
Power On and Off WebOS LG TVs together with your PC - JPersson77/LGTVCompanion
github.com
Sent from my iPad using Tapatalk Pro
Limitations
LG OLED displays can sometimes not be turned on via network when an automatic pixel refresh is being performed. You can hear an internal relay click after the pixel refresh, when the display is actually powered down, at which point it can be turned on again at any time by this application.
The WebOS displays can only be turned on/off when both the PC and the display is connected to a network.
The TV cannnot be on a different subnet/VLAN from your PC. This is because the TV is powerd on by means of broadcasting a magic packet, aka Wake-on-lan, which is restricted to layer 2, i.e. same subnet only. There are ways to bypass this limitation but it is outside the scope of this application, even though you can probably make it work. Let me know if you need help to make it work for you.
Troubleshooting
If your display has trouble powering on, these are the things to check first:
When connecting the TV via Wi-Fi it seems some users must enable "Quickstart+" (up to 2021 models) or "Always ready" (2022 and forward models) and disable "HDD Eco mode" to avoid the NIC becoming inactive. (physical network cable does not seem to need this)
Try reconfiguring the device and use one of the other wake-on-lan network options, primarily use option two, send to IP-address.
Ensure the network is not dropping WOL-broadcasts.
The MAC-address configuration for the device in the application is erroneous.
In the case of Wi-Fi, if the connection between the TV and the Wi-Fi access point is lost for any reason (e.g. router reboot, power outage, firmware update, etc.) while the TV is off, the TV will not automatically reconnect and therefore won't react to attempts to turn it on via Wi-Fi. You will need to turn the TV on manually at least once so that it can reconnect to your Wi-Fi network.
In case of issues with devices not turning on in response to changes in the windows monitor topology configuration ensure that "Quickstart+" (up to 2021 models) or "Always ready" (2022 and forward models) is enabled.
If your display has trouble powering off it is most likely because:
The IP configuration might be erroneous. Please check the configuration and make sure the TV has a static DHCP lease in your routers admin pages.
The application has not yet received a pairing key. Try removing the device in the UI, click apply and then re-add the device to force re-pairing.
HOT tip! Enable the built in logger and check the output, it can be very useful for understanding where problems are.
System requirements
The application must be run in a modern windows environment, and any potato running Windows 10 or 11 is fine.
A Local Area Network (LAN)