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"
Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 07 nov. 2019, 20:01

@Zygomatik, Je viens de l'installer en Stable version 2019-11-07 18:52:25.
Dépendances et démon = OK.
Cela à l'air de fonctionner.
Reste plus qu'à l'appairer avec mon TV.

Merci.
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

Krehigo
Timide
Messages : 8
Inscription : 02 oct. 2019, 11:51
Localisation : Caen

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

Message par Krehigo » 07 nov. 2019, 20:04

Le plugin est apparu dans le market sur jeedom et j'ai réussi à l'installer puis connecter ma tv.
Par contre les dépendances ne veulent pas se lancer.

Je suis sur mon téléphone donc pas simple mais je teste ça tout à l'heure et je te redis.

Krehigo
Timide
Messages : 8
Inscription : 02 oct. 2019, 11:51
Localisation : Caen

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

Message par Krehigo » 07 nov. 2019, 21:26

Ça fonctionne !

J'ai eu du mal à lancer les dépendances car j'avais des problèmes de wakeonlan.
Quelques ajustement plus tard c'était ok

Code : Tout sélectionner

sudo pip install wakeonlan
python /var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py auth 192.168.XX.XX
Merci pour le dépannage ;)

Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 07 nov. 2019, 23:47

Pour ma part, impossible d'appairer que ce soit sur la connexion Ethernet 192.168.1.48 ou WiFi 192.168.1.15
J'ai ce message

Code : Tout sélectionner

2019-11-07 23:38:47	webosTv	Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 6, in from LGTV import LGTVScan, LGTVClient, getCommands File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/LGTV/__init__.py", line 4, in from wakeonlan import wol ImportError: cannot import name wol
Aucune demande ne s'affiche sur la TV LG OLED55C7V
Version logiciel : 05.80.35
La LG Apps est bien activée
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

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

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

Message par ZygOm4t1k » 08 nov. 2019, 11:20

@Patdec

C'est corrigé mais avant de mettre à jour tu peux me donner les logs de l'installation des dépendances stp (WebosTv_update)?

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

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

Message par Didier3L » 08 nov. 2019, 20:26

Ca marche
par contre je trouve que l'intérogation TV et Audio status0 est trés importante (2 fois par minutes) :shock:

Code : Tout sélectionner

[2019-11-08 19:59:38][DEBUG] :  | TV_LG.json OK |
[2019-11-08 19:59:38][DEBUG] :  | TV_LG.json OK |
[2019-11-08 19:59:50][DEBUG] :  | TV_LG.json OK |
[2019-11-08 19:59:50][DEBUG] :  | TV_LG.json OK |
[2019-11-08 19:59:57][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:03][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:05][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:05][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:05][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:05][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:06][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:06][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:07][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:07][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:15][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:27][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:27][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=webosTv function=pre_update callInstallFunction=1
[2019-11-08 20:00:27][DEBUG] :  | TV_LG.json OK |
[2019-11-08 20:00:44][INFO] : Début d'activation du plugin
[2019-11-08 20:00:45][INFO] : Info sur le démon : Array (     [launchable_message] =>      [launchable] => nok     [state] => nok     [log] => nok     [auto] => 0 )
[2019-11-08 20:00:45][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=webosTv function=update callInstallFunction=1
[2019-11-08 20:00:48][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:00:48][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:00:51][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:03][DEBUG] : Tv OK
[2019-11-08 20:01:03][DEBUG] : Audio status0
[2019-11-08 20:01:15][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:15][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:17][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:18][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:18][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:21][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:22][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:22][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:24][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:28][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:28][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:30][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:30][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:31][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:33][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:38][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:38][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:41][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:41][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:41][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:44][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:48][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:48][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:51][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:01:52][DEBUG] : Version de ws4py: ws4py                         0.5.1
[2019-11-08 20:01:52][DEBUG] : Vérification de ws4py: OK
[2019-11-08 20:01:54][DEBUG] : Version de wakeonLan: wakeonlan                     1.1.6
[2019-11-08 20:05:03][DEBUG] : Tv OK
[2019-11-08 20:05:04][DEBUG] : Audio status0
[2019-11-08 20:06:04][DEBUG] : Tv OK
[2019-11-08 20:06:05][DEBUG] : Audio status0
[2019-11-08 20:07:05][DEBUG] : Tv OK
[2019-11-08 20:07:06][DEBUG] : Audio status0
[2019-11-08 20:08:06][DEBUG] : Tv OK
[2019-11-08 20:08:06][DEBUG] : Audio status0
[2019-11-08 20:09:06][DEBUG] : Tv OK
[2019-11-08 20:09:07][DEBUG] : Audio status0
[2019-11-08 20:10:07][DEBUG] : Tv OK
[2019-11-08 20:10:08][DEBUG] : Audio status0
[2019-11-08 20:11:08][DEBUG] : Tv OK
[2019-11-08 20:11:09][DEBUG] : Audio status0
[2019-11-08 20:12:09][DEBUG] : Tv OK
[2019-11-08 20:12:10][DEBUG] : Audio status0
[2019-11-08 20:13:10][DEBUG] : Tv OK
[2019-11-08 20:13:11][DEBUG] : Audio status0
[2019-11-08 20:14:11][DEBUG] : Tv OK
[2019-11-08 20:14:11][DEBUG] : Audio status0
[2019-11-08 20:15:11][DEBUG] : Tv OK
[2019-11-08 20:15:12][DEBUG] : Audio status0
[2019-11-08 20:16:12][DEBUG] : Tv OK
[2019-11-08 20:16:13][DEBUG] : Audio status0
[2019-11-08 20:16:52][DEBUG] : Tv OK
[2019-11-08 20:17:00][DEBUG] : Tv KO
[2019-11-08 20:17:13][DEBUG] : Tv OK
[2019-11-08 20:17:14][DEBUG] : Audio status0
[2019-11-08 20:18:14][DEBUG] : Tv OK
[2019-11-08 20:18:15][DEBUG] : Audio status0
[2019-11-08 20:18:30][DEBUG] : Tv OK
[2019-11-08 20:18:37][DEBUG] : Tv OK
[2019-11-08 20:19:15][DEBUG] : Tv OK
[2019-11-08 20:19:15][DEBUG] : Audio status0
[2019-11-08 20:19:29][DEBUG] : Tv OK
[2019-11-08 20:19:32][DEBUG] : Tv OK
[2019-11-08 20:19:33][DEBUG] : Tv OK
[2019-11-08 20:19:35][DEBUG] : Tv OK
[2019-11-08 20:19:36][DEBUG] : Tv OK
[2019-11-08 20:20:15][DEBUG] : Tv OK
[2019-11-08 20:20:16][DEBUG] : Audio status0
[2019-11-08 20:21:16][DEBUG] : Tv OK
[2019-11-08 20:21:17][DEBUG] : Audio status0

Code : Tout sélectionner

********************************************************
*             Installation des dépendances             *
********************************************************
10
***** Commande: sudo apt-get update **********

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.

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
Uninstalling wakeonlan-0.2.2:
Successfully uninstalled wakeonlan-0.2.2

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
WARNING: Skipping wakeonlan as it is not installed.
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.

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
copying LGTV/__init__.py -> build/lib.linux-x86_64-2.7/LGTV
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
Reading https://github.com/Lawouach/WebSocket-for-Python.git
Reading https://pypi.org/simple/wakeonlan/
Downloading https://files.pythonhosted.org/packages/26/87/4164f76446fb372ce9ff10f9458ac00dade098ef054772ab3333139e8cfa/wakeonlan-0.2.2.tar.gz#sha256=860f38e4fe06366cec71cead3d4071763e9ae1265d43227d866a2ab30932a1ac
Best match: wakeonlan 0.2.2
Processing wakeonlan-0.2.2.tar.gz
Writing /tmp/easy_install-BSAwNp/wakeonlan-0.2.2/setup.cfg
Running wakeonlan-0.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BSAwNp/wakeonlan-0.2.2/egg-dist-tmp-Qa38Ya
zip_safe flag not set; analyzing archive contents...
Moving wakeonlan-0.2.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding wakeonlan 0.2.2 to easy-install.pth file
Installing wol script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/wakeonlan-0.2.2-py2.7.egg
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

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
Traceback (most recent call last):
File "/usr/local/bin/pip", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/__init__.py", line 77, in main
return command.main(cmd_args)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 237, in main
timeout=min(5, options.timeout)
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 108, in _build_session
index_urls=self._get_index_urls(options),
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/download.py", line 545, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/download.py", line 170, in user_agent
setuptools_version = get_installed_version("setuptools")
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/utils/misc.py", line 1047, in get_installed_version
working_set = pkg_resources.WorkingSet()
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 567, in __init__
self.add_entry(entry)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 623, in add_entry
for dist in find_distributions(entry, True):
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1974, in find_eggs_in_zip
if metadata.has_metadata('PKG-INFO'):
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1414, in has_metadata
return self._has(path)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1845, in _has
return zip_path in self.zipinfo or zip_path in self._index()
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1722, in zipinfo
return self._zip_manifests.load(self.loader.archive)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1679, in load
mtime = os.stat(path).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/wakeonlan-0.2.2-py2.7.egg'
********************************************************
*                 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 » 08 nov. 2019, 23:35

@Didier3L

en prod ou test? Hardware ? debian?

Pour le rafraîchissement du statut et de l'audio tu as mis quoi dans la configuration générale du plugin?

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

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

Message par Didier3L » 09 nov. 2019, 12:06

ZygOm4t1k a écrit :
08 nov. 2019, 23:35
@Didier3L

en prod ou test? Hardware ? debian?

Pour le rafraîchissement du statut et de l'audio tu as mis quoi dans la configuration générale du plugin?
Version bêta du plugin
Version debian
J’ai finalement mis 120 pour soulager les ressources ;)
Merci
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

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

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

Message par Didier3L » 09 nov. 2019, 12:11

Par contre quelles sont les différences entre la stable et la bêta ?
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
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 00:27

ZygOm4t1k a écrit :
08 nov. 2019, 11:20
@Patdec

C'est corrigé mais avant de mettre à jour tu peux me donner les logs de l'installation des dépendances stp (WebosTv_update)?
Bonjour ZygOm4t1k,

J'ai désinsatllé la Béta et mis la Stable. Pas mieux
Lors de la demande d'appairage j'obtiens ce message :
Vous n\'avez pas accepte la demande de connexion sur la TV ??
Avec le Tv je peux aller sur Internet sans problèmes.
A partir de mon PC, sur Google en tapant l'IP 192.168.1.15:3000 j'obtiens bien "Hello world"

Le log de WebOs TV donne
[2019-11-09 22:52:11][ERROR] : Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/lgtv.py", line 6, in <module> from LGTV import LGTVScan, LGTVClient, getCommands File "/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/LGTV/__init__.py", line 4, in <module> from wakeonlan import wol ImportError: cannot import name w
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

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

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

Message par ZygOm4t1k » 10 nov. 2019, 09:39

@Patdec

Quelle version de Jeedom ? Si v4 ==> plugin beta
Sinon log de l'installation des dépendances ?

@Didier3L

Quelle version de jeedom?

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

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

Message par Didier3L » 10 nov. 2019, 09:49

ZygOm4t1k a écrit :
10 nov. 2019, 09:39
@Didier3L

Quelle version de jeedom?
3.3.36
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

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

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

Message par Didier3L » 10 nov. 2019, 10:22

Bonjour,
Par compte je n’arrive pas à faire créer les commandes Magic remote.
J’ai tout essayé, dans tous les sens, effacer recréer relancer cliquer re cliquer.
Les commandes ne sont jamais crééS
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
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 11:31

ZygOm4t1k a écrit :
10 nov. 2019, 09:39
@Patdec

Quelle version de Jeedom ? Si v4 ==> plugin beta
Sinon log de l'installation des dépendances ?

@Didier3L

Quelle version de jeedom?
Bonjour,

Pour info, je suis en 3.3.36 et en stable

En cherchant le log j''ai remarqué que dans " Dernière installation " il était indiqué " Inconnue ".
J'ai donc relancé les dépendances et refait un appairage.
La Tv est maintenant appairée. Adresse Mac et clé reçue automatiquement. :D
J'ai également fait l'Update et la mise à jour est réussie. :D

Me reste à voir comment fonctionnent les commandes à ajouter.

Merci pour ton aide
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 11:36

Didier3L a écrit :
10 nov. 2019, 10:22
Bonjour,
Par compte je n’arrive pas à faire créer les commandes Magic remote.
J’ai tout essayé, dans tous les sens, effacer recréer relancer cliquer re cliquer.
Les commandes ne sont jamais crééS
Bonjour Didier,

Dans la Configuration du plugin puis la fenêtre bleu de la Configuration, il y a une combobox " Remote Control " qui permet de créer les commandes remote control.
Est-ce qu'elle est cochée ?
Une fois cochée il faut dans "Equipement" faire un Update
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 11:55

En jouant avec le son j'ai ce message d'erreur.
Augmenter ou diminuer le son fonctionne.
Date et heure Plugin Description Action
2019-11-10 11:49:40 webosTv Erreur exécution de la commande [Salon][TV LG 55C7V][Régler le volume] : Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : 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
Edit: La commande son ne fonctionne plus
Edit 2 : après un CTRL + F5 cela fonctionne à nouveau. :D
Dernière édition par Patdec le 10 nov. 2019, 12:29, édité 1 fois.
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 12:23

Log WebosTv_update
********************************************************
* Installation des dépendances *
********************************************************
10
***** Commande: sudo apt-get update **********
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
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 43 not upgraded.
Uninstalling wakeonlan-0.2.2:
Successfully uninstalled wakeonlan-0.2.2
Cannot uninstall requirement wakeonlan, not installed
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.
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
Reading https://github.com/Lawouach/WebSocket-for-Python.git
Reading https://pypi.python.org/simple/wakeonlan/
Downloading https://files.pythonhosted.org/packages ... b30932a1ac
Best match: wakeonlan 0.2.2
Processing wakeonlan-0.2.2.tar.gz
Writing /tmp/easy_install-YtGzXI/wakeonlan-0.2.2/setup.cfg
Running wakeonlan-0.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-YtGzXI/wakeonlan-0.2.2/egg-dist-tmp-rIaOZm
zip_safe flag not set; analyzing archive contents...
Moving wakeonlan-0.2.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding wakeonlan 0.2.2 to easy-install.pth file
Installing wol script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/wakeonlan-0.2.2-py2.7.egg
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
Requirement already satisfied: wakeonlan==0.2.2 in /usr/local/lib/python2.7/dist-packages/wakeonlan-0.2.2-py2.7.egg
********************************************************
* Installation terminée *
********************************************************
Log Webos
[2019-11-10 12:32:04][DEBUG] : Audio status9
[2019-11-10 12:32:07][DEBUG] : Tv OK
[2019-11-10 12:32:07][DEBUG] : !!! Commande !!! :connect_input info
[2019-11-10 12:32:07][ERROR] : Erreur exécution de la commande [Salon][TV LG 55C7V][Info] : Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/lgtv_remote.py", line 1, in <module> from pywebostv.discovery import * File "/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/pywebostv/discovery.py", line 2, in <module> from future.moves.urllib.parse import urlparse ImportError: No module named future.moves.urllib.parse
[2019-11-10 12:32:09][DEBUG] : Tv OK
[2019-11-10 12:32:11][DEBUG] : Audio status9
[2019-11-10 12:32:16][DEBUG] : Tv OK
[2019-11-10 12:32:16][DEBUG] : Tv OK
[2019-11-10 12:32:16][DEBUG] : !!! Commande !!! :connect_input left
[2019-11-10 12:32:17][ERROR] : Erreur exécution de la commande [Salon][TV LG 55C7V][Left] : Erreur dans l'exécution du terminal, la valeur retournée est : 1. Détails : Traceback (most recent call last): File "/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/lgtv_remote.py", line 1, in <module> from pywebostv.discovery import * File "/var/www/html/plugins/webosTv/3rdparty/PyWebOSTV/pywebostv/discovery.py", line 2, in <module> from future.moves.urllib.parse import urlparse ImportError: No module named future.moves.urllib.parse
[2019-11-10 12:32:17][DEBUG] : Audio status9
[2019-11-10 12:32:22][DEBUG] : Tv OK
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

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

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

Message par Didier3L » 10 nov. 2019, 13:32

Patdec a écrit :
10 nov. 2019, 11:36
Didier3L a écrit :
10 nov. 2019, 10:22
Bonjour,
Par compte je n’arrive pas à faire créer les commandes Magic remote.
J’ai tout essayé, dans tous les sens, effacer recréer relancer cliquer re cliquer.
Les commandes ne sont jamais crééS
Bonjour Didier,

Dans la Configuration du plugin puis la fenêtre bleu de la Configuration, il y a une combobox " Remote Control " qui permet de créer les commandes remote control.
Est-ce qu'elle est cochée ?
Une fois cochée il faut dans "Equipement" faire un Update
Je l’avais coché au préalable
Cela ne vient pas de la
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 » 10 nov. 2019, 13:54

@Patdec

Il faut relancer les dépendances après ajout de la remote (vais l'ajouter à la doc)

@Didier3L

Update télé allumée?

L'un d'entre vous à plusieurs tv LG?

Avatar de l’utilisateur
Patdec
Actif
Messages : 771
Inscription : 21 janv. 2015, 15:49
Localisation : Tournai

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

Message par Patdec » 10 nov. 2019, 15:56

Perso, je n'en ai qu'un.
Par contre, je ne m'explique pas pourquoi ne ne vois pas dans le widget l'icone Youtube alors qu'elle figure bien dans les Commandes --> Applications.
Accessible également sur la TV.
Capture 683  10-11-2019.jpg
Capture 683 10-11-2019.jpg (40.21 Kio) Consulté 2324 fois
Capture 682  10-11-2019.jpg
Capture 682 10-11-2019.jpg (86.18 Kio) Consulté 2324 fois


Edit : Ooops, le problème est chez moi sur ma version Google 49 sur Win Xp.
Sur Win 10 et Google version 78, tout est là :D
Dernière édition par Patdec le 10 nov. 2019, 16:14, édité 3 fois.
Débutant Jeedom.
VirtualBox 6.0.10 sur Tablette I Works 12 sous Win 10 - Debian 9.9
Jeedom 3.3.36 - Contrôleur Aeotec ZW 090 C
Modules Fibaro FGR-222

Répondre

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

Qui est en ligne ?

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