Je crée un sujet car je n’ai pas réussi à réagir suite à ton message indiquant la mise à jour du mois de mai du plugin Google Devices (ou ghlocal).
J’utilise ton plugin depuis pas mal de temps déjà, j’avais bien galéré à l’installer et tu m’avais déjà aidé à l’époque pour récupérer les alarmes de mes google home.
J’avais décris la méthode ici
Depuis quelques jours/semaines, la récupération des infos ne semblent plus fonctionner pour aucun des google home de la maison.
J’ai plusieurs pistes pour débroussailler et tenter d’expliquer ma régression:
une mise à jour du plugin faite le 09/05/2022 (je suis en beta)
des modifs dans l’API de google (c’est déjà arrivé)
peut-être un autre problème à venir : google va désactiver l’utilisation des application moins sécurisées, c’est à dire les applis comme j’imagine ce plugin qui se connecte uniquement au moyen du login et mot de passe :
Je ne sais pas si je suis le seul, je vais essayer de partager des logs pour aiguiller.
Merci de votre aide à tous !
Je vous invite à lire ceci et corriger votre demande ensuite :
on ne post pas une demande d’aide dans « Discussions générales », corriger la catégorie
il faut mettre le tag du plug-in concerné
veuillez ne pas utilisez le tag BUG so ce n’est pas un bug confirmé mais un problème d’utilisation
vous êtes sur un forum communautaire, toute la communauté peut vous aider donc ne vous adressez pas directement à l’auteur du plug-in et veuillez ne pas le notifier directement
il faut donner plus d’info sur votre installation: versions jeedom, plug-in… Montrez une capture de la page santé jeedom
Tout ces points sont détaillés dans le post ci dessus
J’appuie la réponse de @Mips : déjà créer un password d’application
Ensuite, attention à ce que l’on fait avec la récupération du token master, Google ne tolère pas le renouvellement trop fréquent.
et quand je regarde si la partie gestion des applications de mon compte google … on a l’impression qu’aucune tentative de connexion n’a été faite puisqu’on voit la date de création mais pas la date de dernier accès.
Je pense que j’ai un conflit de librairie mais je ne sais pas la/lesquelles
Si si au contraire, toute aide m’intéresse !
J’ai donc désactivé ce paramètre.
J’ai créé avec succès un mot de passe d’application. Pour ce faire j’ai donc dû activer la validation en 2 étapes.
Dans le la configuration du plugin j’ai donc remplacé le mot de passe par ce nouveau MdP de 16 caractères généré et laissé mon email comme login.
Mais la récupération des token ne fonctionne toujours pas.
Je vois ce matin qu’il y a une mise à jour du plugin ghlocal en beta donc j’installe et je retente !
Merci pour ton message @lunarok, j’ai effectivement créé mon mot de passe d’application que je renseigne dans la config du plugin (login = mon adresse email).
Effectivement on en avait parlé il y a qq temps : j’ai désactivé tous les cron et exécute manuellement tous les jours à 5h00 les commandes suivantes :
Apparemment le problème est une mise à jour google. La lib que j’utilise il y a une issue dessus avec ce soucis, une correction pourrait arriver vu le dernier post de l’auteur. Perso, mon mot de passe appli apparait utilisé pour la dernière fois le 11 mai et depuis ca bloque.
Ah oui, la date colle avec le moment où ça a commencé à plus marcher oui.
Merci pour le suivi.
Je crois que cette discussion sera fermée automatiquement 24h après le dernier message.
Si tu trouves un moyen de prévenir ta communauté d’utilisateur de ton plugin quand c’est réparé ce serait top !
Pour info, sous Bullseye ca fonctionne. Debian 10 a une version de Python qui devient trop ancienne, la lib d’authentification python pour google a été mise à jour mais non dispo en dessous de Bullseye.
Il me semble que cote Jeedom ils ont toujours pas fait d’annonce officielle sur son support, moi je vais y passer mon conteneur pour voir
Oh purée, je me souviens être passé sur Debian 10 justement pour faire fonctionner un plugin (peut-être même celui-là) et je ne suis pas pressé de le refaire car je ne maîtrise pas assez ce que je fais… J’avais suivi un tuto pour une install de Jeedom sur Docker en McVLAN… Bref je suis pas sûr de la répétabilité
Si une solution de mise à jour de librairie Python existe pour Debian 10 Buster, je suis carrément preneur !
Merci
PS : d’ailleurs je sais même pas si je suis en python 2.7 ou 3…
Waouw, je connaissais même pas ce menu.
Ca donne ça (je mets pas tout) :
(...)
ii python 2.7.16-1 amd64 interactive high-level object-oriented language (Python2 version)
ii python-all 2.7.16-1 amd64 package depending on all supported Python2 runtime versions
ii python-all-dev 2.7.16-1 amd64 package depending on all supported Python2 development packages
ii python-apt-common 1.8.4.3 all Python interface to libapt-pkg (locales)
ii python-asn1crypto 0.24.0-1 all Fast ASN.1 parser and serializer (Python 2)
ii python-backports.functools-lru-cache 1.5-3 all backport of functools.lru_cache from Python 3.3 to Python 2
ii python-bs4 4.7.1-1 all error-tolerant HTML parser for Python
ii python-certifi 2018.8.24-1 all root certificates for validating SSL certs and verifying TLS hosts
ii python-cffi-backend 1.12.2-1 amd64 Foreign Function Interface for Python calling C code - backend
ii python-chardet 3.0.4-3 all universal character encoding detector for Python2
ii python-configparser 3.5.0b2-1 all backport of the enhanced config parser introduced in Python 3.2
ii python-crypto 2.6.1-9+b1 amd64 cryptographic algorithms and protocols for Python
ii python-cryptography 2.6.1-3+deb10u2 amd64 Python library exposing cryptographic recipes and primitives (Python 2)
ii python-dbus 1.2.8-3 amd64 simple interprocess messaging system (Python interface)
ii python-dev 2.7.16-1 amd64 header files and a static library for Python2
ii python-docutils 0.14+dfsg-4 all text processing system for reStructuredText (implemented in Python 2)
ii python-entrypoints 0.3-1 all Discover and load entry points from installed packages (Python 2)
ii python-enum34 1.1.6-2 all backport of Python 3.4's enum package
ii python-gi 3.30.4-1 amd64 Python 2.x bindings for gobject-introspection libraries
ii python-gpg 1.12.0-6 amd64 Python interface to the GPGME GnuPG encryption library (Python 2)
ii python-html5lib 1.0.1-1 all HTML parser/tokenizer based on the WHATWG HTML5 specification
ii python-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 2)
ii python-ipaddress 1.0.17-1 all Backport of Python 3 ipaddress module (Python 2)
ii python-keyring 17.1.1-1 all store and access your passwords safely
ii python-keyrings.alt 3.1.1-1 all alternate backend implementations for python-keyring
ii python-ldb 2:1.5.1+really1.4.6-3+deb10u1 amd64 Python bindings for LDB
ii python-louie 1.1-4 all Python signal dispatching mechanism
ii python-lxml:amd64 4.3.2-1+deb10u4 amd64 pythonic binding for the libxml2 and libxslt libraries
ii python-minimal 2.7.16-1 amd64 minimal subset of the Python2 language
ii python-nose 1.3.7-4 all test discovery and running of Python's unittest
ii python-olefile 0.46-1 all Python module to read/write MS OLE2 files
ii python-openssl 19.0.0-1 all Python 2 wrapper around the OpenSSL library
ii python-pil:amd64 5.4.1-2+deb10u3 amd64 Python Imaging Library (Pillow fork)
ii python-pip 18.1-5 all Python package installer
ii python-pip-whl 18.1-5 all Python package installer
ii python-pkg-resources 40.8.0-1 all Package Discovery and Resource Access using pkg_resources
ii python-pygments 2.3.1+dfsg-1+deb10u2 all syntax highlighting package written in Python
ii python-pyudev 0.21.0-1 all Python bindings for libudev
ii python-requests 2.21.0-1 all elegant and simple HTTP library for Python2, built for human beings
ii python-roman 2.0.0-3 all module for generating/analyzing Roman numerals for Python 2
ii python-samba 2:4.9.5+dfsg-5+deb10u3 amd64 Python bindings for Samba
ii python-secretstorage 2.3.1-2 all Python module for storing secrets - Python 2.x version
ii python-serial 3.4-4 all pyserial - module encapsulating access for the serial port
ii python-setuptools 40.8.0-1 all Python Distutils Enhancements
ii python-six 1.12.0-1 all Python 2 and 3 compatibility library (Python 2 interface)
ii python-soupsieve 1.8+dfsg-1 all Modern CSS selector implementation for BeautifulSoup (Python 2.7)
ii python-talloc:amd64 2.1.14-2 amd64 hierarchical pool based memory allocator - Python bindings
ii python-tdb 1.3.16-2+b1 amd64 Python bindings for TDB
ii python-urllib3 1.24.1-1 all HTTP library with thread-safe connection pooling for Python
ii python-webencodings 0.5.1-1 all Python implementation of the WHATWG Encoding standard
ii python-wheel 0.32.3-2 all built-package format for Python
ii python-xdg 0.25-5 all Python 2 library to access freedesktop.org standards
ii python2 2.7.16-1 amd64 interactive high-level object-oriented language (Python2 version)
ii python2-dev 2.7.16-1 amd64 header files and a static library for Python2
ii python2-minimal 2.7.16-1 amd64 minimal subset of the Python2 language
ii python2.7 2.7.16-2+deb10u1 amd64 Interactive high-level object-oriented language (version 2.7)
ii python2.7-dev 2.7.16-2+deb10u1 amd64 Header files and a static library for Python (v2.7)
ii python2.7-minimal 2.7.16-2+deb10u1 amd64 Minimal subset of the Python language (version 2.7)
ii python3 3.7.3-1 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apt 1.8.4.3 amd64 Python 3 interface to libapt-pkg
ii python3-asn1crypto 0.24.0-1 all Fast ASN.1 parser and serializer (Python 3)
ii python3-certifi 2018.8.24-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-cffi-backend 1.12.2-1 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-chardet 3.0.4-3 all universal character encoding detector for Python3
ii python3-crypto 2.6.1-9+b1 amd64 cryptographic algorithms and protocols for Python 3
ii python3-cryptography 2.6.1-3+deb10u2 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ii python3-dbus 1.2.8-3 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-dev 3.7.3-1 amd64 header files and a static library for Python (default)
ii python3-distro-info 0.21 all information about distributions' releases (Python 3 module)
ii python3-distutils 3.7.3-1 all distutils package for Python 3.x
ii python3-entrypoints 0.3-1 all Discover and load entry points from installed packages (Python 3)
ii python3-gi 3.30.4-1 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-keyring 17.1.1-1 all store and access your passwords safely - Python 3 version of the package
ii python3-keyrings.alt 3.1.1-1 all alternate backend implementations for python3-keyring
ii python3-lib2to3 3.7.3-1 all Interactive high-level object-oriented language (2to3, version 3.6)
ii python3-minimal 3.7.3-1 amd64 minimal subset of the Python language (default python3 version)
ii python3-pip 18.1-5 all Python package installer
ii python3-pkg-resources 40.8.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3-pycurl 7.43.0.2-0.1 amd64 Python bindings to libcurl (Python 3)
ii python3-pyinotify 0.9.6-1 all simple Linux inotify Python bindings
ii python3-pyudev 0.21.0-1 all Python3 bindings for libudev
ii python3-requests 2.21.0-1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-secretstorage 2.3.1-2 all Python module for storing secrets - Python 3.x version
ii python3-setuptools 40.8.0-1 all Python3 Distutils Enhancements
ii python3-six 1.12.0-1 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.20.2-2 all manage the repositories that you install software from
ii python3-systemd 234-2+b1 amd64 Python 3 bindings for systemd
ii python3-urllib3 1.24.1-1 all HTTP library with thread-safe connection pooling for Python3
ii python3-wheel 0.32.3-2 all built-package format for Python
ii python3-xdg 0.25-5 all Python 3 library to access freedesktop.org standards
ii python3.7 3.7.3-2+deb10u3 amd64 Interactive high-level object-oriented language (version 3.7)
ii python3.7-dev 3.7.3-2+deb10u3 amd64 Header files and a static library for Python (v3.7)
ii python3.7-minimal 3.7.3-2+deb10u3 amd64 Minimal subset of the Python language (version 3.7)
(...)
Si vous êtes sous buster (debian 10); vous avez les deux.
C’est bien pour cette raison que c’est encore la version recommandée pour jeedom, pour être sur d’avoir encore python2
Ah ok, donc pour l’instant il n’est pas recommandé de passer à debian 11 pour faire tourner jeedom ?
Du coup ça devient embêtant si certaines librairies (comme celles d’authentification google) ne sont pas maintenues.
PS : merci pour ses explications car si j’aime bien régulièrement mettre les mains dans le cambouis, je comprends rarement ce que je fais en suivant des tutos …