Récupérer les alarme Google avec Google Devices

Pas la peine de me répondre et me tagger sans founir d’info sur les éléments que je pointe du doigt.
Vu tes logs, 80% de chance que tu sois dedans, donc pareil

dans le genre désagréable…
si tu debutes dans l’aventure domotique, on te parle comme à une merde ; je ne m’attendais pas du tout à cette approche; dans le genre pédagogue, tu es au top. Merci!!

Bref!

jeedom version v4.0.61 sur rpi 3b+ sur ssd sous debian buster

image

je précise que j’arrive à modifier le volume et mettre une radio avec le plugin
mais pour récupèrer l’alarme, ca ne fonctionne toujours pas.
D’après les logs, le master token est récuperé, pas celui des google home

1 « J'aime »

OK merci, je craignais ça… A vrai dire j’aurais pas su dire si j’étais Debian 9.
D’ailleurs je c’est pas trop ce que c’est Debian… C’est une distribution linux ?
Mon NAS 418+ fait tourné du Debian 9 ? ou plutôt le docker jeedom ?
Désolé je m’y perd… En réalité j’ai acheté le plugin les yeux fermés en constatant sur la fiche du Market qu’il avait une « Compatibilité confirmée avec les box sous docker ». Du coup ce n’est pas tout le temps le cas ?

Merci pour les éclaircissements.

--------EDIT
En tout cas moi je suis effectivement en Debian 9… :cry:

Bonjour a tous, est ce que le plugin permet également de créer une alarme sur la GH ou seulement en récupérer une existante ?
Merci pour votre aide

desolé, je ne sais pas, de plus le développeur du plugin n’est pas très locace

j’attends désespérement au moins un retour sur mon problème:

Bonjour,

Je viens d’installer le plugin et je n’arrive pas à modifier le volume et mettre une radio. Le problème pour la récupération des alarmes est également présent.

Ma configuration :
Box : RPI 3B+ avec SSD sous Debian Buster
image
Jeedom : Version v4.0.61
image
Google Home : Google Home Mini
image

Actions réalisées :

  • Activation du plugin : OK
  • Installation des dépendances : semble OK, mais la date de dernière installation est à « inconnue ».

    Logs Ghlocal_dep :
Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
adb is already the newest version (1:8.1.0+r23-5).
golang-go is already the newest version (2:1.11~1).
jq is already the newest version (1.5+dfsg-2+b1).
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
raspi-gpio
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: gpsoauth in /usr/local/lib/python3.7/dist-packages (0.4.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages/requests-2.24.0-py3.7.egg (from gpsoauth) (2.24.0)
Requirement already satisfied: pycryptodomex>=3.0 in /usr/local/lib/python3.7/dist-packages (from gpsoauth) (3.9.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->gpsoauth) (2018.8.24)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->gpsoauth) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->gpsoauth) (2.6)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->gpsoauth) (1.24.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: gTTS in /usr/local/lib/python3.7/dist-packages (2.1.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages/requests-2.24.0-py3.7.egg (from gTTS) (2.24.0)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from gTTS) (1.12.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from gTTS) (7.1.2)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from gTTS) (4.9.3)
Requirement already satisfied: gtts-token>=1.1.3 in /usr/local/lib/python3.7/dist-packages (from gTTS) (1.1.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->gTTS) (2018.8.24)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->gTTS) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->gTTS) (2.6)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->gTTS) (1.24.1)
Requirement already satisfied: soupsieve>1.2; python_version >= "3.0" in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->gTTS) (2.0.1)
running install
running bdist_egg
running egg_info
writing catt.egg-info/PKG-INFO
writing dependency_links to catt.egg-info/dependency_links.txt
writing entry points to catt.egg-info/entry_points.txt
writing requirements to catt.egg-info/requires.txt
writing top-level names to catt.egg-info/top_level.txt
reading manifest file 'catt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'HISTORY.rst'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no files found matching '*.rst' under directory 'docs'
warning: no files found matching 'conf.py' under directory 'docs'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'make.bat' under directory 'docs'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.gif' under directory 'docs'
writing manifest file 'catt.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/api.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/stream_info.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/controllers.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/util.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/__init__.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/subs_info.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/http_server.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/cli.py -> build/bdist.linux-aarch64/egg/catt
copying build/lib/catt/error.py -> build/bdist.linux-aarch64/egg/catt
byte-compiling build/bdist.linux-aarch64/egg/catt/api.py to api.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/stream_info.py to stream_info.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/controllers.py to controllers.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/util.py to util.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/subs_info.py to subs_info.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/http_server.py to http_server.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/cli.py to cli.cpython-37.pyc
byte-compiling build/bdist.linux-aarch64/egg/catt/error.py to error.cpython-37.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/entry_points.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/not-zip-safe -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying catt.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
creating 'dist/catt-0.11.3-py3.7.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing catt-0.11.3-py3.7.egg
removing '/usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg' (and everything under it)
creating /usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg
Extracting catt-0.11.3-py3.7.egg to /usr/local/lib/python3.7/dist-packages
catt 0.11.3 is already the active version in easy-install.pth
Installing catt script to /usr/local/bin
Installed /usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg
Processing dependencies for catt==0.11.3
Searching for requests==2.24.0
Best match: requests 2.24.0
Processing requests-2.24.0-py3.7.egg
requests 2.24.0 is already the active version in easy-install.pth
Using /usr/local/lib/python3.7/dist-packages/requests-2.24.0-py3.7.egg
Searching for ifaddr==0.1.7
Best match: ifaddr 0.1.7
Adding ifaddr 0.1.7 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for click==7.1.2
Best match: click 7.1.2
Adding click 7.1.2 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for PyChromecast==6.0.0
Best match: PyChromecast 6.0.0
Processing PyChromecast-6.0.0-py3.7.egg
PyChromecast 6.0.0 is already the active version in easy-install.pth
Using /usr/local/lib/python3.7/dist-packages/PyChromecast-6.0.0-py3.7.egg
Searching for youtube-dl==2020.9.20
Best match: youtube-dl 2020.9.20
Processing youtube_dl-2020.9.20-py3.7.egg
youtube-dl 2020.9.20 is already the active version in easy-install.pth
Installing youtube-dl script to /usr/local/bin
Using /usr/local/lib/python3.7/dist-packages/youtube_dl-2020.9.20-py3.7.egg
Searching for urllib3==1.24.1
Best match: urllib3 1.24.1
Adding urllib3 1.24.1 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for idna==2.6
Best match: idna 2.6
Adding idna 2.6 to easy-install.pth file
Using /usr/lib/python3/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/lib/python3/dist-packages
Searching for certifi==2018.8.24
Best match: certifi 2018.8.24
Adding certifi 2018.8.24 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for zeroconf==0.28.5
Best match: zeroconf 0.28.5
Adding zeroconf 0.28.5 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for protobuf==3.13.0
Best match: protobuf 3.13.0
Adding protobuf 3.13.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for casttube==0.2.1
Best match: casttube 0.2.1
Adding casttube 0.2.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Finished processing dependencies for catt==0.11.3
Fin de l'installation
  • Renseignement de l’utilisateur Google et Mot de passe Google : KO
[2020-10-04 10:06:26][DEBUG] : Extract sudo python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens.py ********@gmail.com ************
[2020-10-04 10:06:26][DEBUG] : Result Array (     [0] => [!] Could not get master token.     [1] => [!] Could not get access token.     [2] => None )
[2020-10-04 10:06:26][DEBUG] : Extract sudo /root/go/bin/grpcurl -H 'authorization: Bearer '[!] Could not get master token. -import-path /var/www/html/plugins/ghlocal/core/class/../../data -proto /var/www/html/plugins/ghlocal/core/class/../../data/google/internal/home/foyer/v1.proto googlehomefoyer-pa.googleapis.com:443 google.internal.home.foyer.v1.StructuresService/GetHomeGraph | jq '.home.devices[] | {deviceName, localAuthToken}'
[2020-10-04 10:06:26][DEBUG] : Result
[2020-10-04 10:06:26][DEBUG] : Result Array (     [0] =>  )
  • Ajout de l’équipement de type Google Home Mini avec le nom qui apparaît dans l’application Home et l’IP : OK

  • Test depuis le Dashboard (Changement du volume ou lancement d’une radio) : KO

image

Logs Ghlocal :

[2020-10-04 09:37:35][DEBUG] : Push radio http://direct.franceinter.fr/live/franceinter-midfi.mp3
[2020-10-04 09:37:35][DEBUG] : Send export LC_ALL=C.UTF-8 && export LANG=C.UTF-8 && /usr/local/bin/catt -d 192.168.1.16 "cast" "http://direct.franceinter.fr/live/franceinter-midfi.mp3"
[2020-10-04 09:37:38][DEBUG] : Scan Info DND
[2020-10-04 09:37:38][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:38][DEBUG] : Retrieve DND
[2020-10-04 09:37:38][DEBUG] : Scan Info Volume
[2020-10-04 09:37:38][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:38][DEBUG] : Retrieve volume
[2020-10-04 09:37:38][DEBUG] : Scan Info Alarms
[2020-10-04 09:37:38][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:38][DEBUG] : Retrieve alarms
[2020-10-04 09:37:38][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:38][DEBUG] : Status BT
[2020-10-04 09:37:38][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:38][DEBUG] : Start Scan
[2020-10-04 09:37:38][DEBUG] : Push volumeSlider
[2020-10-04 09:37:38][DEBUG] : Send export LC_ALL=C.UTF-8 && export LANG=C.UTF-8 && /usr/local/bin/catt -d 192.168.1.16 "volume" "28"
[2020-10-04 09:37:40][DEBUG] : Scan Info DND
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:41][DEBUG] : Retrieve DND
[2020-10-04 09:37:41][DEBUG] : Scan Info Volume
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:41][DEBUG] : Retrieve volume
[2020-10-04 09:37:41][DEBUG] : Scan Info Alarms
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:41][DEBUG] : Retrieve alarms
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:41][DEBUG] : Status BT
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:41][DEBUG] : Start Scan
[2020-10-04 09:37:41][DEBUG] : Retrieve Info Bluetooth
[2020-10-04 09:37:41][DEBUG] : Token non défini : Google Home Cuisine
[2020-10-04 09:37:44][DEBUG] : Retrieve Info Bluetooth
[2020-10-04 09:37:44][DEBUG] : Token non défini : Google Home Cuisine

Merci @lunarok ou toute autre personne pour votre aide.

Bonne journée,

Pour rappel, ici c’est un forum communautaire… Aucun dev n’est tenu de vous y répondre.

Le mieux est peut-être de faire un ticket sur le plugin si vous désirez une réponse de celui-ci.

Bien à vous

1 « J'aime »

Pour info je viens de laisser un ticket pour un problème similaire. En attendant leur retour, si qqn a une idée :

Bonjour, Je sollicite votre aide car suite à l’achat de ce plugin et de nombreux essais, en particulier une réinstallation complète de jeedom pour ne plus tourner sur Debian 9 Stretch (indiquée comme non compatible), je n’arrive toujours pas à récupérer les alarmes/timers, nécessitant la récupération des tokens.

Mon jeedom tourne sur un Docker (image jeedom:latest installée la semaine dernière). Docker est hosté par mon NAS Synology DS218+.
Login google renseigné (email)
Mot de passe des application généré pour l’occasion
L’installation des dépendances semblent OK:

Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
adb is already the newest version (1:8.1.0+r23-5).
golang-go is already the newest version (2:1.11~1).
jq is already the newest version (1.5+dfsg-2+b1).
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: gpsoauth in /usr/local/lib/python3.7/dist-packages (0.4.1)
Requirement already satisfied: pycryptodomex>=3.0 in /usr/local/lib/python3.7/dist-packages (from gpsoauth) (3.9.8)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from gpsoauth) (2.24.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->gpsoauth) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->gpsoauth) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->gpsoauth) (1.25.11)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->gpsoauth) (2020.6.20)
Requirement already satisfied: gTTS in /usr/local/lib/python3.7/dist-packages (2.1.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from gTTS) (2.24.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from gTTS) (4.9.3)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from gTTS) (1.12.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from gTTS) (7.1.2)
Requirement already satisfied: gtts-token>=1.1.3 in /usr/local/lib/python3.7/dist-packages (from gTTS) (1.1.3)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->gTTS) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->gTTS) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->gTTS) (1.25.11)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->gTTS) (2020.6.20)
Requirement already satisfied: soupsieve>1.2; python_version >= "3.0" in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->gTTS) (2.0.1)
running install
running bdist_egg
running egg_info
writing catt.egg-info/PKG-INFO
writing dependency_links to catt.egg-info/dependency_links.txt
writing entry points to catt.egg-info/entry_points.txt
writing requirements to catt.egg-info/requires.txt
writing top-level names to catt.egg-info/top_level.txt
reading manifest file 'catt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'HISTORY.rst'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no files found matching '*.rst' under directory 'docs'
warning: no files found matching 'conf.py' under directory 'docs'
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'make.bat' under directory 'docs'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.gif' under directory 'docs'
writing manifest file 'catt.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/catt
copying build/lib/catt/__init__.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/api.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/cli.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/controllers.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/error.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/http_server.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/stream_info.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/subs_info.py -> build/bdist.linux-x86_64/egg/catt
copying build/lib/catt/util.py -> build/bdist.linux-x86_64/egg/catt
byte-compiling build/bdist.linux-x86_64/egg/catt/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/api.py to api.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/cli.py to cli.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/controllers.py to controllers.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/error.py to error.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/http_server.py to http_server.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/stream_info.py to stream_info.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/subs_info.py to subs_info.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/catt/util.py to util.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying catt.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/catt-0.11.3-py3.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing catt-0.11.3-py3.7.egg
removing '/usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg' (and everything under it)
creating /usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg
Extracting catt-0.11.3-py3.7.egg to /usr/local/lib/python3.7/dist-packages
catt 0.11.3 is already the active version in easy-install.pth
Installing catt script to /usr/local/bin
Installed /usr/local/lib/python3.7/dist-packages/catt-0.11.3-py3.7.egg
Processing dependencies for catt==0.11.3
Searching for requests==2.24.0
Best match: requests 2.24.0
Adding requests 2.24.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for ifaddr==0.1.7
Best match: ifaddr 0.1.7
Adding ifaddr 0.1.7 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for click==7.1.2
Best match: click 7.1.2
Adding click 7.1.2 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for PyChromecast==6.0.0
Best match: PyChromecast 6.0.0
Processing PyChromecast-6.0.0-py3.7.egg
PyChromecast 6.0.0 is already the active version in easy-install.pth
Using /usr/local/lib/python3.7/dist-packages/PyChromecast-6.0.0-py3.7.egg
Searching for youtube-dl==2020.9.20
Best match: youtube-dl 2020.9.20
Processing youtube_dl-2020.9.20-py3.7.egg
youtube-dl 2020.9.20 is already the active version in easy-install.pth
Installing youtube-dl script to /usr/local/bin
Using /usr/local/lib/python3.7/dist-packages/youtube_dl-2020.9.20-py3.7.egg
Searching for urllib3==1.25.11
Best match: urllib3 1.25.11
Adding urllib3 1.25.11 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for certifi==2020.6.20
Best match: certifi 2020.6.20
Adding certifi 2020.6.20 to easy-install.pth file
Using /usr/local/lib/python3.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/python3.7/dist-packages
Searching for idna==2.10
Best match: idna 2.10
Adding idna 2.10 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for zeroconf==0.28.6
Best match: zeroconf 0.28.6
Adding zeroconf 0.28.6 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for protobuf==3.13.0
Best match: protobuf 3.13.0
Adding protobuf 3.13.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for casttube==0.2.1
Best match: casttube 0.2.1
Adding casttube 0.2.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for six==1.12.0
Best match: six 1.12.0
Adding six 1.12.0 to easy-install.pth file
Using /usr/lib/python3/dist-packages
Searching for setuptools==50.3.2
Best match: setuptools 50.3.2
Adding setuptools 50.3.2 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-3.8 script to /usr/local/bin
Using /usr/local/lib/python3.7/dist-packages
Finished processing dependencies for catt==0.11.3
Fin de l'installation

Création des équipement OK pour un google home de 1ère génération et un nest mini.
Adresse IP, nom d’équipement trouvé dans l’appli Home : OK

J’arrive à contrôler le volume, mettre la radio mais pas à récupérer les alarme.
Apparemment les le plugin est incapable de récupérer les tokens. Le log :

[2020-10-31 21:40:02][DEBUG] : Scan Info DND
[2020-10-31 21:40:03][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:03][DEBUG] : Retrieve DND
[2020-10-31 21:40:03][DEBUG] : Scan Info Volume
[2020-10-31 21:40:03][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:03][DEBUG] : Retrieve volume
[2020-10-31 21:40:03][DEBUG] : Scan Info Alarms
[2020-10-31 21:40:03][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:03][DEBUG] : Retrieve alarms
[2020-10-31 21:40:03][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:03][DEBUG] : Status BT
[2020-10-31 21:40:03][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:03][DEBUG] : Start Scan
[2020-10-31 21:40:06][DEBUG] : Retrieve Info Bluetooth
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Manon
[2020-10-31 21:40:06][DEBUG] : Scan Info DND
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Salon
[2020-10-31 21:40:06][DEBUG] : Retrieve DND
[2020-10-31 21:40:06][DEBUG] : Scan Info Volume
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Salon
[2020-10-31 21:40:06][DEBUG] : Retrieve volume
[2020-10-31 21:40:06][DEBUG] : Scan Info Alarms
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Salon
[2020-10-31 21:40:06][DEBUG] : Retrieve alarms
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Salon
[2020-10-31 21:40:06][DEBUG] : Status BT
[2020-10-31 21:40:06][DEBUG] : Token non défini : Google Home Salon
[2020-10-31 21:40:06][DEBUG] : Start Scan
[2020-10-31 21:40:09][DEBUG] : Retrieve Info Bluetooth
[2020-10-31 21:40:09][DEBUG] : Token non défini : Google Home Salon

Pourriez-vous svp m’aider à faire fonctionner ce plugin svp ?
Merci

J’ai créé un ticket également. J’attends donc un retour aussi pour faire fonctionner ce plugin.
C’est bien de faire payer un plugin, encore faut-il que la description soit precise et qu’il soit fonctionnel

sudo python3 /var/www/html/plugins/ghlocal/resources/get_tokens.py user password

Si vous obtenez pas de token, ca ira pas plus loin et revoyez vos mots de passe

Pourquoi buster en 32bits d’installé ?

OK merci, je viens de rentrer la commande et je reçois le token ya29.etc…
Dans les logs du plugin ça a d’ailleurs changé depuis hier (je n’ai pourtant rien touché…
Il a déjà récupéré une tripoté d’équipement qui semblent être issus d’un scan bluetooth.
Ensuite le log indique que ça semble marcher :

[2020-11-02 10:50:03][DEBUG] : Result
[2020-11-02 10:50:03][DEBUG] : Retrieve volume
[2020-11-02 10:50:03][DEBUG] : Scan Info Alarms
[2020-11-02 10:50:03][DEBUG] : Send https://192.168.0.15:8443/setup/assistant/alarms
[2020-11-02 10:50:03][DEBUG] : Result
[2020-11-02 10:50:03][DEBUG] : Retrieve alarms
[2020-11-02 10:50:04][DEBUG] : Send https://192.168.0.15:8443/setup/bluetooth/status
[2020-11-02 10:50:04][DEBUG] : Result
[2020-11-02 10:50:04][DEBUG] : Status BT
[2020-11-02 10:50:04][DEBUG] : Send https://192.168.0.15:8443/setup/bluetooth/scan with body {"enable": true,"clear_results": true,"timeout": 60} and token GAs1zpIAAAAAAblaqwvQp/re/cJNiDIfwS7FxblaCYnCzecGaB8sU+t5KTov80OttBblaLR4b1mubSJ7cqgDq6ciAh2wTblaYyjghqTw+5
[2020-11-02 10:50:04][DEBUG] : Result
[2020-11-02 10:50:04][DEBUG] : Start Scan
[2020-11-02 10:50:07][DEBUG] : Retrieve Info Bluetooth
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.15:8443/setup/bluetooth/scan_results
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Scan Info DND
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/notifications with body {} and token 7euuRzkDAAAAAAAAab8wkU9RYj40K0blabla
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Retrieve DND
[2020-11-02 10:50:07][DEBUG] : Scan Info Volume
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/alarms/volume with body {} and token 7euuRzkDAAAAAAAAab8wkU9RYj40blabla
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Retrieve volume
[2020-11-02 10:50:07][DEBUG] : Scan Info Alarms
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/alarms
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Retrieve alarms
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/status
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Status BT
[2020-11-02 10:50:07][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/scan with body {"enable": true,"clear_results": true,"timeout": 60} and token 7euuRzkDAAAAAAAAab8wkU9RYj40K0RqVEKSiHGWDSOvW3I2CaxyaOvaFtbLnsB9jWBY6cwjpDU/WJrzNysIkhdtzLlxHn/L6Rwup7QiSWdS
[2020-11-02 10:50:07][DEBUG] : Result
[2020-11-02 10:50:07][DEBUG] : Start Scan
[2020-11-02 10:50:10][DEBUG] : Retrieve Info Bluetooth
[2020-11-02 10:50:10][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/scan_results
[2020-11-02 10:50:11][DEBUG] : Result

Cependant lorsque j’interroge les commande pour récupérer les prochaines alarmes, il me sort invariablement 0 ou null selon les commandes.

Je sens que je touche au but mais il manque encore un petit qq ch…
Une idée ?

Moi j’ai Buster en 64bits maintenant.
image

1 « J'aime »

D’ailleurs @lunarok j’ai créé 2 tickets par erreur pour le même problème hier, donc tu peux en fermer un. Le status a donc évolué depuis ma création de ticket. voir mon post précédent.
Merci pour ton aide.

j’ai egalement le token ya 29…;

Y a un ’ mal placé sur la 2ème commande, je viens de corriger et pousser au market

Bonne nouvelle ça !
Je ne vois pas la mise à jour, faut-il installer une version autre que stable ?

Ou alors ça ce n’est pas en ligne immédiatement…
Attendons…

Là ca doit etre bon

Mise à jour lancée, je teste…

J’attends 17h50 que le cron5 se réveille…

… Bon pour l’instant c’est plutôt infructueux de mon côté.
J’ai sensiblement la même chose qu’avant.
J’ai quand même d’abord essayé d’ajouter mon dernier google home qui lui aussi à un réveil de programmé mais pour ce dernier le token reste non défini. Si ça se trouve il tombera en marche demain comme ça a été le cas pour mes deux autre appareils.
Reste quand même que l’info « Alarmes Infos Brutes » reste toujours à « null ».

Dis-moi ce que je peux lancer ou t’envoyer pour progresser dans l’investigation.

[2020-11-02 17:55:07][DEBUG] : Send https://192.168.0.15:8443/setup/bluetooth/scan_results
[2020-11-02 17:55:07][DEBUG] : Result
[2020-11-02 17:55:07][DEBUG] : Scan Info DND
[2020-11-02 17:55:07][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:07][DEBUG] : Retrieve DND
[2020-11-02 17:55:07][DEBUG] : Scan Info Volume
[2020-11-02 17:55:07][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:07][DEBUG] : Retrieve volume
[2020-11-02 17:55:07][DEBUG] : Scan Info Alarms
[2020-11-02 17:55:07][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:07][DEBUG] : Retrieve alarms
[2020-11-02 17:55:07][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:07][DEBUG] : Status BT
[2020-11-02 17:55:07][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:07][DEBUG] : Start Scan
[2020-11-02 17:55:10][DEBUG] : Retrieve Info Bluetooth
[2020-11-02 17:55:10][DEBUG] : Token non défini : Google Device Maya
[2020-11-02 17:55:10][DEBUG] : Scan Info DND
[2020-11-02 17:55:11][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/notifications with body {} and token blablakDAAAAAAAAab8wkU9RYj40K0RqVEKSiHGWDSOvW3I2CaxyaOvaFtbLnsB9jWBY6cwjpDU/WJrzNysIkhdtzLlxHn/L6Rwup7QiSWdS
[2020-11-02 17:55:11][DEBUG] : Result
[2020-11-02 17:55:11][DEBUG] : Retrieve DND
[2020-11-02 17:55:11][DEBUG] : Scan Info Volume
[2020-11-02 17:55:11][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/alarms/volume with body {} and token blablakDAAAAAAAAab8wkU9RYj40K0RqVEKSiHGWDSOvW3I2CaxyaOvaFtbLnsB9jWBY6cwjpDU/WJrzNysIkhdtzLlxHn/L6Rwup7QiSWdS
[2020-11-02 17:55:11][DEBUG] : Result
[2020-11-02 17:55:11][DEBUG] : Retrieve volume
[2020-11-02 17:55:11][DEBUG] : Scan Info Alarms
[2020-11-02 17:55:11][DEBUG] : Send https://192.168.0.12:8443/setup/assistant/alarms
[2020-11-02 17:55:11][DEBUG] : Result
[2020-11-02 17:55:11][DEBUG] : Retrieve alarms
[2020-11-02 17:55:11][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/status
[2020-11-02 17:55:11][DEBUG] : Result
[2020-11-02 17:55:11][DEBUG] : Status BT
[2020-11-02 17:55:11][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/scan with body {"enable": true,"clear_results": true,"timeout": 60} and token blablaAAAAAAab8wkU9RYj40K0RqVEKSiHGWDSOvW3I2CaxyaOvaFtbLnsB9jWBY6cwjpDU/WJrzNysIkhdtzLlxHn/L6Rwup7QiSWdS
[2020-11-02 17:55:11][DEBUG] : Result
[2020-11-02 17:55:11][DEBUG] : Start Scan
[2020-11-02 17:55:14][DEBUG] : Retrieve Info Bluetooth
[2020-11-02 17:55:14][DEBUG] : Send https://192.168.0.12:8443/setup/bluetooth/scan_results
[2020-11-02 17:55:14][DEBUG] : Result