Allumer la TV avec la fonction Toujours Prêt

Hello,

La fonctionnalité « Toujours Prêt » est bien pratique sur les derniers modèles LGTV.
Mais elle n’est pas compatible avec la commande « Allumer ».

Quand la TV est éteinte en mode toujours prêt, elle est toujours connecté au réseau.
Donc pas besoin de faire un WOL.

La fonction de la lib : lgtv --name "Salon" --ssl on permet d’allumer cette dernière.

Possible d’avoir cette commande à la place de WOL quand sur le plugin est coché « Statut TV »
image

A+

je vais voir ça, prochainement j’aurais besoin que tu test.

salut @titou3333

je viens de modifier en version beta dis moi si c’est bon pour toi.
avant que je le met en stable.

Hello @vegeta0911,
Nop KO :

OFF puis ON :

7680|[2025-07-05 23:23:18] WebOStvLG.DEBUG: $$$ EXEC: /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/lgtv --name "TV_LG" --ssl off > {"type": "response", "id": "0", "payload": {"returnValue": true}} {"closing": {"code": 1000, "reason": ""}}  [] []
7681|[2025-07-05 23:23:36] WebOStvLG.DEBUG: $$$ EXEC: /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/lgtv "TV_LG" --ssl > usage: lgtv [-h] [--name NAME] [--ssl] [--debug] command [args ...]  LGTV Controller Author: Karl Lattimer <karl@qdh.org.uk>  positional arguments:   command   args  optional arguments:   -h, --help            show this help message and exit   --name NAME, -n NAME   --ssl   --debug, -d           enable debug output  commands  audioStatus  audioVolume  closeAlert <alertId>  closeApp <appid>  createAlert <message> <button>  execute <command>  getCursorSocket  getForegroundAppInfo  getPictureSettings  getPowerState  getSoundOutput  getSystemInfo  getTVChannel  input3DOff  input3DOn  inputChannelDown  inputChannelUp  inputMediaFastForward  inputMediaPause  inputMediaPlay  inputMediaRewind  inputMediaStop  listApps  listChannels  listInputs  listLaunchPoints  listServices  mute <muted>  notification <message>  notificationWithIcon <message> <url>  off  on  openAppWithPayload <payload>  openBrowserAt <url>  openYoutubeId <videoid>  openYoutubeLegacyId <videoid>  openYoutubeLegacyURL <url>  openYoutubeURL <url>  screenOff  screenOn  sendEnterKey  serialise  setInput <input_id>  setSoundOutput <output>  setTVChannel <channel>  setVolume <level>  startApp <appid>  swInfo  volumeDown  volumeUp  [] []

Salut @titou3333
Merci du retour.

J’ai oublié de modifier un fichier désolé.
je viens de pousser une mise à jour en beta.

dit moi si c’est mieux.

Hello,

C’est tout bon pour moi ! Super boulot :star_struck:

6058|[2025-07-07 10:44:48] WebOStvLG.DEBUG: $$$ EXEC: /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/lgtv --name "TV_LG" --ssl on >  [] []
6059|[2025-07-07 10:45:05] WebOStvLG.INFO: Etat TV: Active [] []
6060|[2025-07-07 10:45:05] WebOStvLG.DEBUG: $$$ EXEC: /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/python3 /var/www/html/plugins/WebOStvLG/core/class/../../resources/venv/bin/lgtv --name "TV_LG" --ssl off > {"type": "response", "id": "0", "payload": {"returnValue": true}} {"closing": {"code": 1000, "reason": ""}}  [] []

Que dire à part MERCI ! :heart_eyes:

1 « J'aime »

tu peux passer en stable, si tu veux.

Fait, vérifié et validé. :+1:

1 « J'aime »