Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] Plugin WebOS TV

Pour échanger sur les plugins classés en catégorie "Multimédia"
ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 14 nov. 2019, 10:40

Je pense que c'est un problème de version et que le problème est sur jeedom v3.

Est-ce que l'un d'entre vous a une machine de test en v4 et peux tester la bétâ.

@SpaceMonkey

re lancer les dépendances. => tu peux poster les logs?
Puis cliquer sur update dans l'équipement ?
Si ça persiste , Les logs en mode debug aprés avoir relancer le démon si tu l'utilises?


@Didier3L @bobosh
Avant de supprimer.
Installer la stable v3.
lancer les dépendances. => les logs?
Cliquer sur update dans l'équipement va mettre à jour les commandes

Didier3L
Actif
Messages : 1387
Inscription : 01 mai 2016, 13:40

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Didier3L » 14 nov. 2019, 13:24

ZygOm4t1k a écrit :
14 nov. 2019, 10:40
Je pense que c'est un problème de version et que le problème est sur jeedom v3.
Est-ce que l'un d'entre vous a une machine de test en v4 et peux tester la bétâ.
La V4 pas pour moi. En plus elle est encore en RC et beaucoup de plugin ne sont pas mis à jour pour la V4
Je n'avais aucun problème sur la V3 auparavant
Synology DS216+ / DSM 6.2 / Docker / MariaDB 5
Conteneur : jeedom/Jeedom:master en mode réseau Host - Version Jeedom V3.3
Protocole : MyHOME Play Zigbee/ Xiaomi Aqara / HomeBridge / BLEA

Mon matériel | Tuto MyHOME en Vidéo | Documentation

Avatar de l’utilisateur
Fabe
Timide
Messages : 328
Inscription : 05 déc. 2016, 09:56

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Fabe » 14 nov. 2019, 14:53

Bonjour à tous
ce midi j'ai fait une mise à jour du plugin et depuis j'ai cette erreur

Code : Tout sélectionner

Erreur sur sudo python /var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py 300 startApp amazon 2>&1 valeur retournée : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 90, in ws.connect() File "/usr/local/lib/python2.7/dist-packages/ws4py/client/__init__.py", line 217, in connect self.sock.connect(self.bind_addr) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 22] Invalid argument
et ce peu importe le bouton sur lequel je clique.
Je tiens à préciser que le plugin à toujours bien fonctionné et cela depuis une bonne année.
Cette MAJ semble me causer des soucis.
J'ai bien la bêta et j'ai relancé l'installation des dépendances mais rien ne change. Merci de vos lumières...
Jeedom 4.0.31 - Mini PC Z83II - Clé ZWave GEN5 - Gateway Xiaomi
BLEA - XIAOMI - ZWAVE - ALARME - CAMERA - THERMOSTAT - SIGRI LINKY - TELEINFO- SUIVI CONSO - APP MOBILE - DIALOG FLOW - METEO - GSH - IFTTT - GCAST - WEBOS TV - DYNDNS - WIFILIGHT V2

ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 14 nov. 2019, 15:13

Fabe a écrit :
14 nov. 2019, 14:53
Bonjour à tous
ce midi j'ai fait une mise à jour du plugin et depuis j'ai cette erreur

Code : Tout sélectionner

Erreur sur sudo python /var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py 300 startApp amazon 2>&1 valeur retournée : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 90, in ws.connect() File "/usr/local/lib/python2.7/dist-packages/ws4py/client/__init__.py", line 217, in connect self.sock.connect(self.bind_addr) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 22] Invalid argument
et ce peu importe le bouton sur lequel je clique.
Je tiens à préciser que le plugin à toujours bien fonctionné et cela depuis une bonne année.
Cette MAJ semble me causer des soucis.
J'ai bien la bêta et j'ai relancé l'installation des dépendances mais rien ne change. Merci de vos lumières...
C'est la version multi-TV . Ré appaire juste la télé pour cela supprime la clé , enregistre l'équipement et clique sur appairer.
Tu n'as pas eu de message lors de la mise à jour?

Avatar de l’utilisateur
Fabe
Timide
Messages : 328
Inscription : 05 déc. 2016, 09:56

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Fabe » 14 nov. 2019, 16:50

@ZygOm4t1k non je n'ai pas eu de message lors de la mise à jour.
Sinon après avoir ré-appairer tout est OK
Merci encore à toi...
Jeedom 4.0.31 - Mini PC Z83II - Clé ZWave GEN5 - Gateway Xiaomi
BLEA - XIAOMI - ZWAVE - ALARME - CAMERA - THERMOSTAT - SIGRI LINKY - TELEINFO- SUIVI CONSO - APP MOBILE - DIALOG FLOW - METEO - GSH - IFTTT - GCAST - WEBOS TV - DYNDNS - WIFILIGHT V2

ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 14 nov. 2019, 17:14

@Fabe

merci pour le retour qui confirme que OK pour v4 .

J'ai passé le plugin en privé le temps de corriger pour jeedom v3

Didier3L
Actif
Messages : 1387
Inscription : 01 mai 2016, 13:40

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Didier3L » 14 nov. 2019, 18:05

ZygOm4t1k a écrit :
14 nov. 2019, 10:40

@Didier3L @bobosh
Avant de supprimer.
Installer la stable v3.
lancer les dépendances. => les logs?
Cliquer sur update dans l'équipement va mettre à jour les commandes
Fait ca remarche sauf le slider du volume
soit il ne se passe rien ou des fois il y a un gros message d'erreur
de tout facon je m'en sert pas. tant qu'on pourra pas mettre un interval genre 0-50 ;) pour eviter que la TV se mette à urler

Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : sudo: unable to send audit message: Unknown error -1 Error: Argument lengths do not match LGTV Controller Author: Karl Lattimer Usage: lgtv [parameter] Available Commands: scan auth Hostname/IP Authenticate and exit, creates initial config /var/www/html/plugins/webosTv/3rdparty/lgtv.json audioStatus audioVolume closeApp appid getTVChannel input3DOff input3DOn inputChannelDown inputChannelUp inputMediaFastForward inputMediaPause inputMediaPlay inputMediaRewind inputMediaStop listApps listChannels listInputs listServices mute muted notification message off on openAppWithPayload payload openBrowserAt url openYoutubeId videoid openYoutubeURL url setInput input_id setTVChannel channel setVolume level startApp appid swInfo volumeDown volumeUp Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 91, in ws.exec_command(sys.argv[1], args) NameError: name 'args' is not defined Exception in thread WebSocketClient (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 754, in run File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 531, in run File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 431, in terminate File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/LGTV/__init__.py", line 260, in closed : 'NoneType' object has no attribute 'dumps'

Code : Tout sélectionner

[2019-11-14 18:02:58][ERROR] : Erreur exécution de la commande [Multimédia][TV du sous sol][Régler le volume] : Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : sudo: unable to send audit message: Unknown error -1 Error: Argument lengths do not match LGTV Controller Author: Karl Lattimer <karl@qdh.org.uk> Usage: lgtv <command> [parameter]  Available Commands:   scan   auth                  Hostname/IP    Authenticate and exit, creates initial config /var/www/html/plugins/webosTv/3rdparty/lgtv.json   audioStatus   audioVolume   closeApp              appid   getTVChannel   input3DOff   input3DOn   inputChannelDown   inputChannelUp   inputMediaFastForward   inputMediaPause   inputMediaPlay   inputMediaRewind   inputMediaStop   listApps   listChannels   listInputs   listServices   mute                  muted   notification          message   off   on   openAppWithPayload    payload   openBrowserAt         url   openYoutubeId         videoid   openYoutubeURL        url   setInput              input_id   setTVChannel          channel   setVolume             level   startApp              appid   swInfo   volumeDown   volumeUp Traceback (most recent call last):   File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 91, in <module>     ws.exec_command(sys.argv[1], args) NameError: name 'args' is not defined Exception in thread WebSocketClient (most likely raised during interpreter shutdown): Traceback (most recent call last):   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner   File "/usr/lib/python2.7/threading.py", line 754, in run   File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 531, in run   File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 431, in terminate   File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/LGTV/__init__.py", line 260, in closed <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'dumps'
Log

Code : Tout sélectionner

********************************************************
*             Installation des dépendances             *
********************************************************
10
***** Commande: sudo apt-get update **********
sudo: unable to send audit message: Unknown error -1
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.
sudo: unable to send audit message: Unknown error -1
running install
running bdist_egg
running egg_info
writing requirements to LGTV.egg-info/requires.txt
writing LGTV.egg-info/PKG-INFO
writing top-level names to LGTV.egg-info/top_level.txt
writing dependency_links to LGTV.egg-info/dependency_links.txt
reading manifest file 'LGTV.egg-info/SOURCES.txt'
writing manifest file 'LGTV.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/LGTV
copying build/lib.linux-x86_64-2.7/LGTV/__init__.py -> build/bdist.linux-x86_64/egg/LGTV
byte-compiling build/bdist.linux-x86_64/egg/LGTV/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying LGTV.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
LGTV.__init__: module references __file__
creating 'dist/LGTV-0.1.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing LGTV-0.1.2-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Extracting LGTV-0.1.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
LGTV 0.1.2 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Processing dependencies for LGTV==0.1.2
Searching for wakeonlan==0.2.2
Best match: wakeonlan 0.2.2
Adding wakeonlan 0.2.2 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Adding ws4py 0.5.1 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for LGTV==0.1.2
sudo: unable to send audit message: Unknown error -1
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-6).
libffi6 is already the newest version (3.2.1-6).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
sudo: unable to send audit message: Unknown error -1
Reading package lists...
Building dependency tree...
Reading state information...
python-dev is already the newest version (2.7.13-2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/setup.py found.
sudo: unable to send audit message: Unknown error -1
running install
running bdist_egg
running egg_info
writing requirements to pywebostv.egg-info/requires.txt
writing pywebostv.egg-info/PKG-INFO
writing top-level names to pywebostv.egg-info/top_level.txt
writing dependency_links to pywebostv.egg-info/dependency_links.txt
reading manifest file 'pywebostv.egg-info/SOURCES.txt'
writing manifest file 'pywebostv.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/model.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/controls.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/connection.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/discovery.py -> build/bdist.linux-x86_64/egg/pywebostv
copying build/lib.linux-x86_64-2.7/pywebostv/__init__.py -> build/bdist.linux-x86_64/egg/pywebostv
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/model.py to model.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/controls.py to controls.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/connection.py to connection.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/discovery.py to discovery.pyc
byte-compiling build/bdist.linux-x86_64/egg/pywebostv/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pywebostv.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pywebostv-0.8.2-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pywebostv-0.8.2-py2.7.egg
Removing /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Copying pywebostv-0.8.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
pywebostv 0.8.2 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/pywebostv-0.8.2-py2.7.egg
Processing dependencies for pywebostv==0.8.2
Searching for future==0.18.2
Best match: future 0.18.2
Adding future 0.18.2 to easy-install.pth file
Installing pasteurize script to /usr/local/bin
Installing futurize script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==2.22.0
Best match: requests 2.22.0
Adding requests 2.22.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Adding ws4py 0.5.1 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for pyOpenSSL==16.2.0
Best match: pyOpenSSL 16.2.0
Adding pyOpenSSL 16.2.0 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for cryptography==1.7.1
Best match: cryptography 1.7.1
Adding cryptography 1.7.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for idna==2.8
Best match: idna 2.8
Adding idna 2.8 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for urllib3==1.25.6
Best match: urllib3 1.25.6
Adding urllib3 1.25.6 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for certifi==2019.9.11
Best match: certifi 2019.9.11
Adding certifi 2019.9.11 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for chardet==3.0.4
Best match: chardet 3.0.4
Adding chardet 3.0.4 to easy-install.pth file
Installing chardetect script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for pywebostv==0.8.2
sudo: unable to send audit message: Unknown error -1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting wakeonlan==0.2.2
Installing collected packages: wakeonlan
Found existing installation: wakeonlan 0.2.2
Uninstalling wakeonlan-0.2.2:
Successfully uninstalled wakeonlan-0.2.2
Successfully installed wakeonlan-0.2.2
WARNING: You are using pip version 19.2.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
********************************************************
*                 Installation terminée                *
********************************************************
Synology DS216+ / DSM 6.2 / Docker / MariaDB 5
Conteneur : jeedom/Jeedom:master en mode réseau Host - Version Jeedom V3.3
Protocole : MyHOME Play Zigbee/ Xiaomi Aqara / HomeBridge / BLEA

Mon matériel | Tuto MyHOME en Vidéo | Documentation

ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 14 nov. 2019, 18:52

@Didier3L

Merci pour le retour.
Pour le slider volume je ne sais pas pourquoi il ne fonctionne pas chez toi.
Le status audio est corrigé aussi

@Fabe

Tu avais qu'un équipement lors de la mise à jour qui posait soucis?

S'il y a un utilisateur en v3 avec plusieurs télés et prêt à tester ?

Avatar de l’utilisateur
Fabe
Timide
Messages : 328
Inscription : 05 déc. 2016, 09:56

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Fabe » 14 nov. 2019, 22:49

Oui je n'avais qu'un équipement qui me posait des soucis.

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk

Jeedom 4.0.31 - Mini PC Z83II - Clé ZWave GEN5 - Gateway Xiaomi
BLEA - XIAOMI - ZWAVE - ALARME - CAMERA - THERMOSTAT - SIGRI LINKY - TELEINFO- SUIVI CONSO - APP MOBILE - DIALOG FLOW - METEO - GSH - IFTTT - GCAST - WEBOS TV - DYNDNS - WIFILIGHT V2

ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 15 nov. 2019, 14:51

@Didier3L

J'ai poussé une version bétâ avec l'ajout de la prise en charge de plusieurs télés.
Si ok dis moi et je te donne un code en mp.

SpaceMonkey
Timide
Messages : 9
Inscription : 07 déc. 2018, 13:04

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par SpaceMonkey » 15 nov. 2019, 15:16

ZygOm4t1k a écrit :
14 nov. 2019, 10:40
Je pense que c'est un problème de version et que le problème est sur jeedom v3.

Est-ce que l'un d'entre vous a une machine de test en v4 et peux tester la bétâ.

@SpaceMonkey

re lancer les dépendances. => tu peux poster les logs?
Puis cliquer sur update dans l'équipement ?
Si ça persiste , Les logs en mode debug aprés avoir relancer le démon si tu l'utilises?


J'ai fait le test sans plus de succes.
Voici les logs en mode debug en PJ
Pièces jointes
webosTv.txt
(96.98 Kio) Téléchargé 56 fois

ZygOm4t1k
Actif
Messages : 1702
Inscription : 08 sept. 2014, 20:52

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par ZygOm4t1k » 15 nov. 2019, 16:31

@SpaceMonkey

Les logs des dépendances?
Lancer une commande en debug et voir ce que dit le log?

SpaceMonkey
Timide
Messages : 9
Inscription : 07 déc. 2018, 13:04

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par SpaceMonkey » 16 nov. 2019, 08:19

Les logs sont en PJ.

Pour la commande en debug j'ai juste:

[2019-11-16 08:16:24][DEBUG] : Tv OK
Pièces jointes
webosTv_update.txt
(8.21 Kio) Téléchargé 62 fois

Maxtoor
Timide
Messages : 37
Inscription : 01 mars 2016, 18:45

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Maxtoor » 19 nov. 2019, 22:19

Bonjour,

le pluging marchait bien jusqu'a il y a quelque jour.
J'avais remarqué qu'il m'était sans cesse proposé la mise a jour.

voulant la désinstaller/réinstaller je me rend compte un peu tard que le plugin est privé.

comment puis-je la réinstaller ?

boubsy
Timide
Messages : 1
Inscription : 15 oct. 2017, 11:45

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par boubsy » 14 déc. 2019, 12:39

Bonjour,

Tout d'abord merci pour le plug-in, j'arrive à contrôler complètement ma TV LG 55B6V à la voix via jeedom+routines Alexa.
Serait-il possible de rajouter toutes les commandes disponibles dans le script PyWebOSTV sur GitHub afin de rajouter les commande de numeros de chaine ainsi que les couleurs&co.

Je l'ai fait pour moi en éditant les fichiers:

Ajouter les commandes des appels des chiffres de la télécommande (0, 1, 2, 3...) dans controls.py (/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/pywebostv/controls.py)

En rajoutant
"num_1": {
"command": [["type", "button"], ["name", "1"]]
},
"num_2": {
"command": [["type", "button"], ["name", "2"]]
},
"num_3": {
"command": [["type", "button"], ["name", "3"]]
},
...

Ajouter le test sur les nouveaux arguments dans lgtv_remote.py (/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/lgtv_remote.py)

Ajout des commandes dans la partie "remote" dans le plugin:
remote.json (/var/www/html/plugins/webosTv/core/config/commands/remote.json)

Maintenant je peux demander à Alexa: "Alexa mets France 2".
Et cela lance un scenario qui:
- test si la tv est allumée ou pas
- Lance MolotovTV et sélectionne la premiere chaine tv (via les flèche de direction+OK)
- Sélectionne la "2"

Laborieux a configurer, mais une fois que c'est fait, ca marche.

Encore merci

Didier3L
Actif
Messages : 1387
Inscription : 01 mai 2016, 13:40

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par Didier3L » 15 déc. 2019, 11:24

boubsy a écrit :
14 déc. 2019, 12:39
Bonjour,

Tout d'abord merci pour le plug-in, j'arrive à contrôler complètement ma TV LG 55B6V à la voix via jeedom+routines Alexa.
Serait-il possible de rajouter toutes les commandes disponibles dans le script PyWebOSTV sur GitHub afin de rajouter les commande de numeros de chaine ainsi que les couleurs&co.

Je l'ai fait pour moi en éditant les fichiers:

Ajouter les commandes des appels des chiffres de la télécommande (0, 1, 2, 3...) dans controls.py (/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/pywebostv/controls.py)

En rajoutant
"num_1": {
"command": [["type", "button"], ["name", "1"]]
},
"num_2": {
"command": [["type", "button"], ["name", "2"]]
},
"num_3": {
"command": [["type", "button"], ["name", "3"]]
},
...

Ajouter le test sur les nouveaux arguments dans lgtv_remote.py (/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/lgtv_remote.py)

Ajout des commandes dans la partie "remote" dans le plugin:
remote.json (/var/www/html/plugins/webosTv/core/config/commands/remote.json)

Maintenant je peux demander à Alexa: "Alexa mets France 2".
Et cela lance un scenario qui:
- test si la tv est allumée ou pas
- Lance MolotovTV et sélectionne la premiere chaine tv (via les flèche de direction+OK)
- Sélectionne la "2"

Laborieux a configurer, mais une fois que c'est fait, ca marche.

Encore merci
Bonjour
Il faut poser ta question ici maintenant
https://community.jeedom.com/tags/plugin-webostv
Synology DS216+ / DSM 6.2 / Docker / MariaDB 5
Conteneur : jeedom/Jeedom:master en mode réseau Host - Version Jeedom V3.3
Protocole : MyHOME Play Zigbee/ Xiaomi Aqara / HomeBridge / BLEA

Mon matériel | Tuto MyHOME en Vidéo | Documentation

sysun
Timide
Messages : 1
Inscription : 18 mai 2019, 08:43

Re: [Plugin Tiers][Sujet Principal] Plugin WebOS TV

Message par sysun » 30 déc. 2019, 22:10

Info sur tv LG : 42la7408 je n'ai pas l'options LG connect apps est ce que je sais faire fonctionner le plugin ? j'ai trouver une app sur android Remote LG qui fonctionne comme télécommande mais j'aimerais interagir avec ma TV LG et jeedom....

Merci d'avance...

Répondre

Revenir vers « [Catégorie] Multimédia »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités