Données alarme qui ne remontent plus

Bonjour,

J’utilise ce plugin depuis un bon moment déjà, et si j’avais eu des difficultés à le configurer, il remplissait à merveille ses tâches jusqu’à aujourd’hui.
Je m’explique : je l’utilise pour récupérer les heures d’alarme des google home des chambres (donc 4 en tout) pour jouer un scenario à cet horaire (ex : ouvrir les volet, mettre la radio (depuis qu’on ne peut plus demander à google de nous réveiller avec la radio grrrr…)).

Pour une raison qui m’échappe, j’ai récemment ajouté le 4eme google home à ce plugin pour le même objectif, j’ai fait un test rapide, j’ai vu que l’heure de l’alarme remontait et… le lendemain (aujourd’hui ça ne marchait plus sur 3 des google home mais ça continue à fonctionner sur un seul…

Si qqn a une idée ou si le dev @lunarok du plugin passe dans le coin je vous mets les infos qui me semblent pertinentes :

Un log dans lequel on voit une mise à jour des token, puis une demande manuelle de « rafraichir » de deux des devices, le premier 192.168.0.49 qui ne fonctionne pas, et le second 192.168.0.40 qui fonctionne :

[2024-09-30 21:00:08] DEBUG  : Cmd Tokens sudo python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_newtokens.py antoine.letang@gmail.com lgomhisyippjfref None
[2024-09-30 21:00:08] DEBUG  : Result Tokens Array ( )
[2024-09-30 21:24:10] DEBUG  : Scan Info DND
[2024-09-30 21:24:10] DEBUG  : Send https://192.168.0.49:8443/setup/assistant/notifications with body {} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXUng3tSkVQjwZ2X/iDCkSqxIeDr9zGzHXtVBuJtCtxT+h7E5ZJsUwAuRL/W
[2024-09-30 21:24:10] DEBUG  : Result
[2024-09-30 21:24:10] DEBUG  : Retrieve DND
[2024-09-30 21:24:10] DEBUG  : Scan Info Volume
[2024-09-30 21:24:10] DEBUG  : Send https://192.168.0.49:8443/setup/assistant/alarms/volume with body {} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX6SN2w9UjM/MUng3tSkVQjwZ2X/iDCkSqxIeDr9zGzHXtVBuJtCtxT+h7E5ZJsUwAuRL/W
[2024-09-30 21:24:10] DEBUG  : Result
[2024-09-30 21:24:10] DEBUG  : Retrieve volume
[2024-09-30 21:24:10] DEBUG  : Scan Info Alarms
[2024-09-30 21:24:10] DEBUG  : Send https://192.168.0.49:8443/setup/assistant/alarms
[2024-09-30 21:24:10] DEBUG  : Result
[2024-09-30 21:24:10] DEBUG  : Retrieve alarms
[2024-09-30 21:24:10] DEBUG  : Send https://192.168.0.49:8443/setup/bluetooth/status
[2024-09-30 21:24:11] DEBUG  : Result
[2024-09-30 21:24:11] DEBUG  : Status BT
[2024-09-30 21:24:11] DEBUG  : Send https://192.168.0.49:8443/setup/bluetooth/scan with body {"enable": true,"clear_results": true,"timeout": 60} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXM6SN2w9UjM/MUng3tSkVQjwZ2X/iDCkSqxIeDr9zGzHXtVBuJtCtxT+h7E5ZJsUwAuRL/W
[2024-09-30 21:24:11] DEBUG  : Result
[2024-09-30 21:24:11] DEBUG  : Start Scan
[2024-09-30 21:24:14] DEBUG  : Retrieve Info Bluetooth
[2024-09-30 21:24:14] DEBUG  : Send https://192.168.0.49:8443/setup/bluetooth/scan_results
[2024-09-30 21:24:14] DEBUG  : Result
[2024-09-30 21:25:06] DEBUG  : Scan Info DND
[2024-09-30 21:25:06] DEBUG  : Send https://192.168.0.40:8443/setup/assistant/notifications with body {} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7of74r6G7aa86jQDAvIt0T54HhC6UeJpZ9Atw9WdaJXxeN4fJ04phO3Y+/XLc98T
[2024-09-30 21:25:06] DEBUG  : Result {"notifications_enabled":true}
[2024-09-30 21:25:06] DEBUG  : Retrieve DND Array (     [notifications_enabled] => 1 )
[2024-09-30 21:25:06] DEBUG  : Scan Info Volume
[2024-09-30 21:25:06] DEBUG  : Send https://192.168.0.40:8443/setup/assistant/alarms/volume with body {} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXL7of74r6G7aa86jQDAvIt0T54HhC6UeJpZ9Atw9WdaJXxeN4fJ04phO3Y+/XLc98T
[2024-09-30 21:25:07] DEBUG  : Result {"volume":0.28999999165534973}
[2024-09-30 21:25:07] DEBUG  : Retrieve volume Array (     [volume] => 0.28999999165535 )
[2024-09-30 21:25:07] DEBUG  : Scan Info Alarms
[2024-09-30 21:25:07] DEBUG  : Send https://192.168.0.40:8443/setup/assistant/alarms
[2024-09-30 21:25:07] DEBUG  : Result {"alarm":[{"date_pattern":{"day":1,"month":10,"year":2024},"fire_time":1.7277588e+12,"id":"alarm/414245c4-a451-4f27-8435-9ac369e56926","status":1,"time_pattern":{"hour":7,"minute":0,"second":0}}],"timer":[]}
[2024-09-30 21:25:07] DEBUG  : Retrieve alarms Array
[2024-09-30 21:25:07] DEBUG  : Alarm found Array (     [date_pattern] => Array         (             [day] => 1             [month] => 10             [year] => 2024         )      [fire_time] => 1727758800000     [id] => alarm/414245c4-a451-4f27-8435-9ac369e56926     [status] => 1     [time_pattern] => Array         (             [hour] => 7             [minute] => 0             [second] => 0         )  )
[2024-09-30 21:25:07] DEBUG  : Alarm set 0700
[2024-09-30 21:25:07] DEBUG  : Send https://192.168.0.40:8443/setup/bluetooth/status
[2024-09-30 21:25:07] DEBUG  : Result {"audio_mode":1,"connected_devices":[],"connecting_devices":[],"discovery_enabled":false,"scanning_enabled":false}
[2024-09-30 21:25:07] DEBUG  : Status BT Array (     [audio_mode] => 1     [connected_devices] => Array         (         )      [connecting_devices] => Array         (         )      [discovery_enabled] =>      [scanning_enabled] =>  )
[2024-09-30 21:25:07] DEBUG  : Send https://192.168.0.40:8443/setup/bluetooth/scan with body {"enable": true,"clear_results": true,"timeout": 60} and token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX74r6G7aa86jQDAvIt0T54HhC6UeJpZ9Atw9WdaJXxeN4fJ04phO3Y+/XLc98T
[2024-09-30 21:25:07] DEBUG  : Result
[2024-09-30 21:25:07] DEBUG  : Start Scan
[2024-09-30 21:25:10] DEBUG  : Retrieve Info Bluetooth
[2024-09-30 21:25:10] DEBUG  : Send https://192.168.0.40:8443/setup/bluetooth/scan_results
[2024-09-30 21:25:10] DEBUG  : Result [{"device_class":0,"device_type":2,"expected_profiles":0,"mac_address":"6c:6d:6f:99:a3:e3","name":"Shield Amis","rssi":-74},{"device_class":2622500,"device_type":1,"expected_profiles":0,"mac_address":"00:04:4b:b0:3f:94","name":"Shield Amis","rssi":-76}]
[2024-09-30 21:25:10] DEBUG  : BT Scan : 192.168.0.40 6c:6d:6f:99:a3:e3 Shield Amis -74
[2024-09-30 21:25:10] DEBUG  : BT Scan : 192.168.0.40 00:04:4b:b0:3f:94 Shield Amis -76

Ma config :

J’ajoute que ce plugin tourne sur une toute petite VM en debian 11, que je communique essentiellement en Jeelink avec mon jeedom de prod qui est encore en debian10 (je dois changer je sais), et que justement hier j’ai commencé à tester la migration sur MQTT2. Seul le device qui fonctionne est pour info migré en MQTT, mais je doute que ce soit la raison.

Merci à tous !


Informations Jeedom

Core : 4.4.17 (master)
DNS Jeedom : non

Plugin : Google Devices
Version : 2022-09-27 01:04:07 (beta)

Mon log de dépendances si besoin:

The following additional packages will be installed:
libvlc-bin libvlc5 libvlccore9 vlc-bin vlc-data vlc-l10n
vlc-plugin-access-extra vlc-plugin-base vlc-plugin-notify vlc-plugin-qt
vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization
Suggested packages:
vlc-plugin-fluidsynth vlc-plugin-jack vlc-plugin-svg libdvdcss2
The following packages will be upgraded:
libvlc-bin libvlc5 libvlccore9 vlc vlc-bin vlc-data vlc-l10n
vlc-plugin-access-extra vlc-plugin-base vlc-plugin-notify vlc-plugin-qt
vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization
16 upgraded, 0 newly installed, 0 to remove and 325 not upgraded.
Need to get 13.4 MB of archives.
After this operation, 2129 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc amd64 3.0.21-0+deb11u1 [148 kB]
Get:2 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-base amd64 3.0.21-0+deb11u1 [2998 kB]
Get:3 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-data all 3.0.21-0+deb11u1 [459 kB]
Get:4 http://ftp.fr.debian.org/debian bullseye/main amd64 libvlccore9 amd64 3.0.21-0+deb11u1 [544 kB]
Get:5 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-skins2 amd64 3.0.21-0+deb11u1 [596 kB]
Get:6 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-qt amd64 3.0.21-0+deb11u1 [1171 kB]
Get:7 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-video-output amd64 3.0.21-0+deb11u1 [274 kB]
Get:8 http://ftp.fr.debian.org/debian bullseye/main amd64 libvlc5 amd64 3.0.21-0+deb11u1 [178 kB]
Get:9 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-bin amd64 3.0.21-0+deb11u1 [167 kB]
Get:10 http://ftp.fr.debian.org/debian bullseye/main amd64 libvlc-bin amd64 3.0.21-0+deb11u1 [130 kB]
Get:11 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-l10n all 3.0.21-0+deb11u1 [6046 kB]
Get:12 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-access-extra amd64 3.0.21-0+deb11u1 [137 kB]
Get:13 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-notify amd64 3.0.21-0+deb11u1 [131 kB]
Get:14 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-samba amd64 3.0.21-0+deb11u1 [132 kB]
Get:15 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-video-splitter amd64 3.0.21-0+deb11u1 [145 kB]
Get:16 http://ftp.fr.debian.org/debian bullseye/main amd64 vlc-plugin-visualization amd64 3.0.21-0+deb11u1 [150 kB]
apt-listchanges: Reading changelogs...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 13.4 MB in 40s (336 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 132206 files and directories currently installed.)
Preparing to unpack .../00-vlc_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../01-vlc-plugin-base_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-base:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../02-vlc-data_3.0.21-0+deb11u1_all.deb ...
Unpacking vlc-data (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../03-libvlccore9_3.0.21-0+deb11u1_amd64.deb ...
Unpacking libvlccore9:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../04-vlc-plugin-skins2_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-skins2:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../05-vlc-plugin-qt_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-qt:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../06-vlc-plugin-video-output_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-video-output:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../07-libvlc5_3.0.21-0+deb11u1_amd64.deb ...
Unpacking libvlc5:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../08-vlc-bin_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-bin (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../09-libvlc-bin_3.0.21-0+deb11u1_amd64.deb ...
Unpacking libvlc-bin:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../10-vlc-l10n_3.0.21-0+deb11u1_all.deb ...
Unpacking vlc-l10n (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../11-vlc-plugin-access-extra_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-access-extra:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../12-vlc-plugin-notify_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-notify:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../13-vlc-plugin-samba_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-samba:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../14-vlc-plugin-video-splitter_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-video-splitter:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Preparing to unpack .../15-vlc-plugin-visualization_3.0.21-0+deb11u1_amd64.deb ...
Unpacking vlc-plugin-visualization:amd64 (3.0.21-0+deb11u1) over (3.0.17.4-0+deb11u1) ...
Setting up vlc-l10n (3.0.21-0+deb11u1) ...
Setting up libvlccore9:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-qt:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-data (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-notify:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-video-output:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-samba:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-skins2:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-video-splitter:amd64 (3.0.21-0+deb11u1) ...
Setting up libvlc5:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-visualization:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-access-extra:amd64 (3.0.21-0+deb11u1) ...
Setting up libvlc-bin:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-plugin-base:amd64 (3.0.21-0+deb11u1) ...
Setting up vlc-bin (3.0.21-0+deb11u1) ...
Setting up vlc (3.0.21-0+deb11u1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for libc-bin (2.31-13+deb11u4) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for libvlc-bin:amd64 (3.0.21-0+deb11u1) ...
+ echo 6
++ cut -f 2-
++ awk '$1 <= 4'
++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ sed 's, ,\ ,g'
++ echo ''
+ RESULTTODELETE2=
+ xargs rm -rf
+ echo ''
+ echo 7
+ sudo pip3 cache purge
Files removed: 69
+ echo 8
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (22.3)
Collecting pip
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 649.0 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.3
Uninstalling pip-22.3:
Successfully uninstalled pip-22.3
Successfully installed pip-24.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 9
+ sudo python3 -m pip install --force-reinstall --upgrade 'protobuf==3.20.*'
Collecting protobuf==3.20.*
Downloading protobuf-3.20.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (679 bytes)
Downloading protobuf-3.20.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 1.2 MB/s eta 0:00:00
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 3.20.3
Uninstalling protobuf-3.20.3:
Successfully uninstalled protobuf-3.20.3
Successfully installed protobuf-3.20.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 10
+ sudo python3 -m pip install --force-reinstall --upgrade gTTS
Collecting gTTS
Downloading gTTS-2.5.3-py3-none-any.whl.metadata (4.1 kB)
Collecting requests<3,>=2.27 (from gTTS)
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting click<8.2,>=7.1 (from gTTS)
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS)
Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS)
Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Downloading gTTS-2.5.3-py3-none-any.whl (29 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, idna, click, charset-normalizer, certifi, requests, gTTS
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.12
Uninstalling urllib3-1.26.12:
Successfully uninstalled urllib3-1.26.12
Attempting uninstall: idna
Found existing installation: idna 3.4
Uninstalling idna-3.4:
Successfully uninstalled idna-3.4
Attempting uninstall: click
Found existing installation: click 8.1.3
Uninstalling click-8.1.3:
Successfully uninstalled click-8.1.3
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 2.1.1
Uninstalling charset-normalizer-2.1.1:
Successfully uninstalled charset-normalizer-2.1.1
Attempting uninstall: certifi
Found existing installation: certifi 2022.9.24
Uninstalling certifi-2022.9.24:
Successfully uninstalled certifi-2022.9.24
Attempting uninstall: requests
Found existing installation: requests 2.28.1
Uninstalling requests-2.28.1:
Successfully uninstalled requests-2.28.1
Attempting uninstall: gTTS
Found existing installation: gTTS 2.2.4
Uninstalling gTTS-2.2.4:
Successfully uninstalled gTTS-2.2.4
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 gTTS-2.5.3 idna-3.10 requests-2.32.3 urllib3-2.2.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 11
+ sudo python3 -m pip install --force-reinstall --upgrade catt
Collecting catt
Downloading catt-0.12.12-py3-none-any.whl.metadata (6.2 kB)
Collecting click>=7.1.2 (from catt)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting ifaddr>=0.1.7 (from catt)
Downloading ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Collecting pychromecast<14,>=13.0.7 (from catt)
Downloading PyChromecast-13.1.0-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting requests>=2.23.0 (from catt)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting yt-dlp>=2023.3.4 (from catt)
Downloading yt_dlp-2024.9.27-py3-none-any.whl.metadata (171 kB)
Collecting protobuf>=3.19.1 (from pychromecast<14,>=13.0.7->catt)
Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting zeroconf>=0.25.1 (from pychromecast<14,>=13.0.7->catt)
Downloading zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting casttube>=0.2.0 (from pychromecast<14,>=13.0.7->catt)
Downloading casttube-0.2.1-py3-none-any.whl.metadata (960 bytes)
Collecting charset-normalizer<4,>=2 (from requests>=2.23.0->catt)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.23.0->catt)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.23.0->catt)
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests>=2.23.0->catt)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting brotli (from yt-dlp>=2023.3.4->catt)
Downloading Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (5.5 kB)
Collecting mutagen (from yt-dlp>=2023.3.4->catt)
Downloading mutagen-1.47.0-py3-none-any.whl.metadata (1.7 kB)
Collecting pycryptodomex (from yt-dlp>=2023.3.4->catt)
Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting websockets>=13.0 (from yt-dlp>=2023.3.4->catt)
Downloading websockets-13.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting async-timeout>=3.0.0 (from zeroconf>=0.25.1->pychromecast<14,>=13.0.7->catt)
Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Downloading catt-0.12.12-py3-none-any.whl (26 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
Downloading PyChromecast-13.1.0-py2.py3-none-any.whl (64 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading yt_dlp-2024.9.27-py3-none-any.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 1.4 MB/s eta 0:00:00
Downloading casttube-0.2.1-py3-none-any.whl (6.5 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Downloading websockets-13.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (163 kB)
Downloading zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 687.7 kB/s eta 0:00:00
Downloading Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 89.1 kB/s eta 0:00:00
Downloading mutagen-1.47.0-py3-none-any.whl (194 kB)
Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 368.6 kB/s eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: ifaddr, brotli, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, async-timeout, zeroconf, requests, yt-dlp, casttube, pychromecast, catt
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: brotli
Found existing installation: Brotli 1.0.9
Uninstalling Brotli-1.0.9:
Successfully uninstalled Brotli-1.0.9
Attempting uninstall: websockets
Found existing installation: websockets 10.3
Uninstalling websockets-10.3:
Successfully uninstalled websockets-10.3
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.15.0
Uninstalling pycryptodomex-3.15.0:
Successfully uninstalled pycryptodomex-3.15.0
Attempting uninstall: protobuf
Found existing installation: protobuf 3.20.3
Uninstalling protobuf-3.20.3:
Successfully uninstalled protobuf-3.20.3
Attempting uninstall: mutagen
Found existing installation: mutagen 1.46.0
Uninstalling mutagen-1.46.0:
Successfully uninstalled mutagen-1.46.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: click
Found existing installation: click 8.1.7
Uninstalling click-8.1.7:
Successfully uninstalled click-8.1.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: async-timeout
Found existing installation: async-timeout 4.0.2
Uninstalling async-timeout-4.0.2:
Successfully uninstalled async-timeout-4.0.2
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.39.1
Uninstalling zeroconf-0.39.1:
Successfully uninstalled zeroconf-0.39.1
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: yt-dlp
Found existing installation: yt-dlp 2022.10.4
Uninstalling yt-dlp-2022.10.4:
Successfully uninstalled yt-dlp-2022.10.4
Attempting uninstall: casttube
Found existing installation: casttube 0.2.1
Uninstalling casttube-0.2.1:
Successfully uninstalled casttube-0.2.1
Attempting uninstall: pychromecast
Found existing installation: PyChromecast 12.1.4
Uninstalling PyChromecast-12.1.4:
Successfully uninstalled PyChromecast-12.1.4
Attempting uninstall: catt
Found existing installation: catt 0.12.9
Uninstalling catt-0.12.9:
Successfully uninstalled catt-0.12.9
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
glocaltokens 0.6.8 requires protobuf<4.0.0,>=3.20.1, but you have protobuf 5.28.2 which is incompatible.
Successfully installed async-timeout-4.0.3 brotli-1.1.0 casttube-0.2.1 catt-0.12.12 certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 idna-3.10 ifaddr-0.2.0 mutagen-1.47.0 protobuf-5.28.2 pychromecast-13.1.0 pycryptodomex-3.20.0 requests-2.32.3 urllib3-2.2.3 websockets-13.1 yt-dlp-2024.9.27 zeroconf-0.135.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 12
+ sudo python3 -m pip install --force-reinstall --upgrade gpsoauth
Collecting gpsoauth
Downloading gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting pycryptodomex>=3.0 (from gpsoauth)
Using cached pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting requests>=2.0.0 (from gpsoauth)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting urllib3<2.0 (from gpsoauth)
Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.0.0->gpsoauth)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.0.0->gpsoauth)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.0.0->gpsoauth)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Downloading gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Using cached pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, pycryptodomex, idna, charset-normalizer, certifi, requests, gpsoauth
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.20.0
Uninstalling pycryptodomex-3.20.0:
Successfully uninstalled pycryptodomex-3.20.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.0.2
Uninstalling gpsoauth-1.0.2:
Successfully uninstalled gpsoauth-1.0.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
glocaltokens 0.6.8 requires protobuf<4.0.0,>=3.20.1, but you have protobuf 5.28.2 which is incompatible.
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 gpsoauth-1.1.1 idna-3.10 pycryptodomex-3.20.0 requests-2.32.3 urllib3-1.26.20
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 13
+ sudo python3 -m pip install --force-reinstall --upgrade glocaltokens
Collecting glocaltokens
Downloading glocaltokens-0.7.2-py3-none-any.whl.metadata (5.4 kB)
Collecting ghome-foyer-api>=1.0.0 (from glocaltokens)
Downloading ghome_foyer_api-1.0.0-py3-none-any.whl.metadata (1.8 kB)
Collecting gpsoauth>=1.1.1 (from glocaltokens)
Using cached gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting grpcio>=1.59.0 (from glocaltokens)
Downloading grpcio-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Collecting requests>=2.32.3 (from glocaltokens)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting simplejson>=3.19.3 (from glocaltokens)
Downloading simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Collecting zeroconf>=0.133.0 (from glocaltokens)
Using cached zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting protobuf<5.0.0,>=4.21.12 (from ghome-foyer-api>=1.0.0->glocaltokens)
Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting pycryptodomex>=3.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting urllib3<2.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.32.3->glocaltokens)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.32.3->glocaltokens)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.32.3->glocaltokens)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting async-timeout>=3.0.0 (from zeroconf>=0.133.0->glocaltokens)
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting ifaddr>=0.1.7 (from zeroconf>=0.133.0->glocaltokens)
Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Downloading glocaltokens-0.7.2-py3-none-any.whl (14 kB)
Downloading ghome_foyer_api-1.0.0-py3-none-any.whl (17 kB)
Using cached gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Downloading grpcio-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 156.4 kB/s eta 0:00:00
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)
Using cached zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
Using cached pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: ifaddr, urllib3, simplejson, pycryptodomex, protobuf, idna, grpcio, charset-normalizer, certifi, async-timeout, zeroconf, requests, ghome-foyer-api, gpsoauth, glocaltokens
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.20
Uninstalling urllib3-1.26.20:
Successfully uninstalled urllib3-1.26.20
Attempting uninstall: simplejson
Found existing installation: simplejson 3.17.6
Uninstalling simplejson-3.17.6:
Successfully uninstalled simplejson-3.17.6
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.20.0
Uninstalling pycryptodomex-3.20.0:
Successfully uninstalled pycryptodomex-3.20.0
Attempting uninstall: protobuf
Found existing installation: protobuf 5.28.2
Uninstalling protobuf-5.28.2:
Successfully uninstalled protobuf-5.28.2
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: grpcio
Found existing installation: grpcio 1.50.0
Uninstalling grpcio-1.50.0:
Successfully uninstalled grpcio-1.50.0
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: async-timeout
Found existing installation: async-timeout 4.0.3
Uninstalling async-timeout-4.0.3:
Successfully uninstalled async-timeout-4.0.3
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.135.0
Uninstalling zeroconf-0.135.0:
Successfully uninstalled zeroconf-0.135.0
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.1.1
Uninstalling gpsoauth-1.1.1:
Successfully uninstalled gpsoauth-1.1.1
Attempting uninstall: glocaltokens
Found existing installation: glocaltokens 0.6.8
Uninstalling glocaltokens-0.6.8:
Successfully uninstalled glocaltokens-0.6.8
Successfully installed async-timeout-4.0.3 certifi-2024.8.30 charset-normalizer-3.3.2 ghome-foyer-api-1.0.0 glocaltokens-0.7.2 gpsoauth-1.1.1 grpcio-1.66.2 idna-3.10 ifaddr-0.2.0 protobuf-4.25.5 pycryptodomex-3.20.0 requests-2.32.3 simplejson-3.19.3 urllib3-1.26.20 zeroconf-0.135.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 14
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end ghlocal
+ echo 15
+ rm /tmp/jeedom_install_in_progress_ghlocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Ca y est le seul qui fonctionnait ne fonctionne plus

Ca pourrait peut-être mettre sur la voie : les logs du cron :

0547|ERROR:glocaltokens.client:master_token doesn't follow the AAS_ET format
0548|ERROR:glocaltokens.client:[!] Could not get access token.
0549|ERROR:glocaltokens.client:master_token doesn't follow the AAS_ET format
0550|ERROR:glocaltokens.client:[!] Could not get access token.
0551|ERROR:glocaltokens.client:master_token doesn't follow the AAS_ET format
0552|ERROR:glocaltokens.client:[!] Could not get access token.
0553|ERROR:glocaltokens.client:master_token doesn't follow the AAS_ET format
0554|ERROR:glocaltokens.client:[!] Could not get access token.

J’ai tenté une modification du mot de passe d’application google.
J’ai tenté de cocher ou non Envoi du token par API, mais ça marchait sans coche avant.
Pas plus de succès.

Est-ce que ça peut être lié à une mise à jour de jeedom, une modification de ses dépendances… ? Je ne m’y connais pas assez… mais je sais que j’ai mis à jour jeedom sur la dernière stable juste avant que ça commence à ne plus marcher…

Je vais ouvrir un ticket officiel pour attirer l’attention du dev sur ce sujet.

En relisant mes galères précédentes dans d’autres sujets précédemment fermés, je suis tombé sur :

Donc je présentais les même symptômes qu’aujourd’hui.

Et @lunarok tu avais confirmé :

On pourrait donc faire face à une mise à jour de l’API google !

La dernière utilisation de mon mot de passe appli est le 28/09 ! Ca colle avec mes pannes !
image

Merci beaucoup !

J’aimerais en profiter pour faire un petit sondage car je me sens bien seul :sweat_smile:.
Vous êtes combien comme moi à récupérer les alarmes de vos google Home pour vos scenarios ?

Et avez-vous aussi ce problème ?
Merci !!

Si des plus expérimentés passent sur ce fil :

J’ai lancé manuellement la commande de demande de master token en activant le niveau de log verbose :

root@debianTonio:/var/www/html/plugins/ghlocal/resources# python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens_verbose.py axxxxx.yyyyyyyy@gmail.com xxxxxxxxxxxxxx True
DEBUG:glocaltokens.client:Initializing new GLocalAuthenticationTokens instance.
DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None
DEBUG:glocaltokens.client:Set GLocalAuthenticationTokens client username to "a<redacted>", password to "<redacted>", master_token to "None" and android_id to None
DEBUG:glocaltokens.client:There is no stored master_token, logging in using username and password
DEBUG:glocaltokens.client:There is no stored android_id, generating a new one
DEBUG:glocaltokens.client:Generating android id...
DEBUG:glocaltokens.client:Generated android id: d3e233381e693276
ERROR:glocaltokens.client:[!] Could not get master token.
DEBUG:glocaltokens.client:Request response: {'Error': 'NeedsBrowser', 'Url': 'https://accounts.google.com/signin/continue?sarp=1&scc=1&continue=https://accounts.google.com/o/android/auth?hl%3Den_us%26xoauth_display_name%3DAndroid%2BLogin%2BService%26source%3DAndroid%2BLogin&plt=AKgnsbu2LrQj_nFyBTUd8kjYvE55a2jPxqTSXdCi82HAU1-uhuaC_Aq04mX9j8NUBOVsD39HsHHbJ78hU7sclkEJBqYGhZ1EB4ZM0NA52Lj5nHka_r6ohFpl2Cf80p4FyokZRQ6SEt7B', 'ErrorDetail': 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.'}
None

Donc en gros ça marche pas car il me demande plus ou moins de me logger comme du 2FA ! Alors que j’utilise un mot de passe d’application.

En fouillant un peu je suis tombé sur ça : https://workspaceupdates.googleblog.com/2023/09/winding-down-google-sync-and-less-secure-apps-support.html
Ca dit bien que ça va changer qqch :

C’est clair que la date colle, ça touche à l’authentification, mais pourtant en fouillant ici


Donc en théorie c’est toujours sensé marcher…

Dans un autre post l’an dernier on avait le pb similaire :

Il semblerait que le pb venait de version de python3 qui n’était plus adéquate. Le passage en deb11 corrigeait.

Moi je suis sur Deb11 avec python3.9.2…

Hello @lunarok et toute la commu ,

Je vois dans les dépendances du plugin qu’il demande une version de "protobuf" : {"version": "3.20.*"},

Or, pendant l’installation des dépendance, ça détecte que la version de protobuf 3.20.3 n’est finallement pas installé car apparemment incompatible avec ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12

à la fin c’est la version Name: protobuf Version: 4.25.5 qui est installé…
Penses-tu que ça peut venir de là ?

Le log de l’install des dépendances filtré sur protobuf

Résumé
0067|+ sudo python3 -m pip install --force-reinstall --upgrade 'protobuf==3.20.*'
0068|Collecting protobuf==3.20.*
0069|Downloading protobuf-3.20.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (679 bytes)
0070|Downloading protobuf-3.20.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
0073|Installing collected packages: protobuf
0074|Attempting uninstall: protobuf
0075|Found existing installation: protobuf 4.25.5
0076|Uninstalling protobuf-4.25.5:
0077|Successfully uninstalled protobuf-4.25.5
0079|ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 3.20.3 which is incompatible.
0080|Successfully installed protobuf-3.20.3
0153|Collecting protobuf>=3.19.1 (from pychromecast<14,>=13.0.7->catt)
0154|Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
0188|Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
0200|Installing collected packages: ifaddr, brotli, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, async-timeout, zeroconf, requests, yt-dlp, casttube, pychromecast, catt
0221|Attempting uninstall: protobuf
0222|Found existing installation: protobuf 3.20.3
0223|Uninstalling protobuf-3.20.3:
0224|Successfully uninstalled protobuf-3.20.3
0274|ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 5.28.2 which is incompatible.
0276|Successfully installed async-timeout-4.0.3 brotli-1.1.0 casttube-0.2.1 catt-0.12.12 certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 idna-3.10 ifaddr-0.2.0 mutagen-1.47.0 protobuf-5.28.2 pychromecast-13.1.0 pycryptodomex-3.20.0 requests-2.32.3 urllib3-2.2.3 websockets-13.1 yt-dlp-2024.9.27 zeroconf-0.135.0
0349|Collecting protobuf<5.0.0,>=4.21.12 (from ghome-foyer-api>=1.0.0->glocaltokens)
0350|Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
0378|Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
0382|Installing collected packages: ifaddr, urllib3, simplejson, pycryptodomex, protobuf, idna, grpcio, charset-normalizer, certifi, async-timeout, zeroconf, requests, ghome-foyer-api, gpsoauth, glocaltokens
0399|Attempting uninstall: protobuf
0400|Found existing installation: protobuf 5.28.2
0401|Uninstalling protobuf-5.28.2:
0402|Successfully uninstalled protobuf-5.28.2
0443|Successfully installed async-timeout-4.0.3 certifi-2024.8.30 charset-normalizer-3.3.2 ghome-foyer-api-1.0.0 glocaltokens-0.7.2 gpsoauth-1.1.1 grpcio-1.66.2 idna-3.10 ifaddr-0.2.0 protobuf-4.25.5 pycryptodomex-3.20.0 requests-2.32.3 simplejson-3.19.3 urllib3-1.26.20 zeroconf-0.135.0

Notez que j’ai essayé de downgrade protobuf en 3.20.3 et même résultat.

Il est bien ce monologue hein ?
Non je me sens pas seul ! :sweat_smile:

1 « J'aime »

J’ai modifié la versio beta de demain.
Corrigé les python et j’ai supprimé la version de lib (dans les versions précédentes c’était requis cette version)
A tester avant que je pousse en stable

Super merci !! Je teste ça demain et te dis !

Hello,
Tant que tu y es, quand on est dans la configuration d’un équipement du plugin, on a cette erreur JS:

Fichier	Ligne	Message
desktop/common/js/utils.js	-1	!WARNING! Deprecated function jeedom.eqLogic.builSelectCmd since Core v4.4: Use new Core v4.1 jeedom.eqLogic.buildSelectCmd() function. plugin: ghlocal | require: 4.2

Et lorsqu’on visualise les commandes, on n’a pas le même rendu que sur d’autres plugin, c’est à dire qu’on ne visualise pas la valeur des infos en temps réel.

Je ne sais pas si c’est facilement corrigeable…

Pour info l’installation des dépendances sur Debian 11:

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_ghlocal
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://ftp.fr.debian.org/debian bullseye InRelease
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://ftp.fr.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:5 http://security.debian.org/debian-security bullseye-security/main Sources [199 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [301 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [194 kB]
Get:8 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9300 B]
Fetched 787 kB in 4s (217 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
334 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y adb
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
adb is already the newest version (1:10.0.0+r36-7).
0 upgraded, 0 newly installed, 0 to remove and 334 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y jq
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.6-2.1).
0 upgraded, 0 newly installed, 0 to remove and 334 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y vlc
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
vlc is already the newest version (3.0.21-0+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 334 not upgraded.
+ echo 6
++ cut -f 2-
++ awk '$1 <= 4'
++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ sed 's, ,\ ,g'
++ echo ''
+ RESULTTODELETE2=
+ xargs rm -rf
+ echo ''
+ echo 7
+ sudo pip3 cache purge
Files removed: 190
+ echo 8
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.2)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 9
+ sudo python3 -m pip install --force-reinstall --upgrade protobuf
Collecting protobuf
Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Downloading protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 4.25.5
Uninstalling protobuf-4.25.5:
Successfully uninstalled protobuf-4.25.5
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 5.28.2 which is incompatible.
Successfully installed protobuf-5.28.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 10
+ sudo python3 -m pip install --force-reinstall --upgrade gTTS
Collecting gTTS
Downloading gTTS-2.5.3-py3-none-any.whl.metadata (4.1 kB)
Collecting requests<3,>=2.27 (from gTTS)
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting click<8.2,>=7.1 (from gTTS)
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS)
Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS)
Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Downloading gTTS-2.5.3-py3-none-any.whl (29 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, idna, click, charset-normalizer, certifi, requests, gTTS
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.20
Uninstalling urllib3-1.26.20:
Successfully uninstalled urllib3-1.26.20
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: click
Found existing installation: click 8.1.7
Uninstalling click-8.1.7:
Successfully uninstalled click-8.1.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gTTS
Found existing installation: gTTS 2.5.3
Uninstalling gTTS-2.5.3:
Successfully uninstalled gTTS-2.5.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gpsoauth 1.1.1 requires urllib3<2.0, but you have urllib3 2.2.3 which is incompatible.
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 gTTS-2.5.3 idna-3.10 requests-2.32.3 urllib3-2.2.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 11
+ sudo python3 -m pip install --force-reinstall --upgrade catt
Collecting catt
Downloading catt-0.12.12-py3-none-any.whl.metadata (6.2 kB)
Collecting click>=7.1.2 (from catt)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting ifaddr>=0.1.7 (from catt)
Downloading ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Collecting pychromecast<14,>=13.0.7 (from catt)
Downloading PyChromecast-13.1.0-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting requests>=2.23.0 (from catt)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting yt-dlp>=2023.3.4 (from catt)
Downloading yt_dlp-2024.9.27-py3-none-any.whl.metadata (171 kB)
Collecting protobuf>=3.19.1 (from pychromecast<14,>=13.0.7->catt)
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting zeroconf>=0.25.1 (from pychromecast<14,>=13.0.7->catt)
Downloading zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting casttube>=0.2.0 (from pychromecast<14,>=13.0.7->catt)
Downloading casttube-0.2.1-py3-none-any.whl.metadata (960 bytes)
Collecting charset-normalizer<4,>=2 (from requests>=2.23.0->catt)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.23.0->catt)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.23.0->catt)
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests>=2.23.0->catt)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting brotli (from yt-dlp>=2023.3.4->catt)
Downloading Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (5.5 kB)
Collecting mutagen (from yt-dlp>=2023.3.4->catt)
Downloading mutagen-1.47.0-py3-none-any.whl.metadata (1.7 kB)
Collecting pycryptodomex (from yt-dlp>=2023.3.4->catt)
Downloading pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting websockets>=13.0 (from yt-dlp>=2023.3.4->catt)
Downloading websockets-13.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting async-timeout>=3.0.0 (from zeroconf>=0.25.1->pychromecast<14,>=13.0.7->catt)
Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Downloading catt-0.12.12-py3-none-any.whl (26 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
Downloading PyChromecast-13.1.0-py2.py3-none-any.whl (64 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading yt_dlp-2024.9.27-py3-none-any.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 721.3 kB/s eta 0:00:00
Downloading casttube-0.2.1-py3-none-any.whl (6.5 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Downloading websockets-13.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (163 kB)
Downloading zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 782.4 kB/s eta 0:00:00
Downloading Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 285.5 kB/s eta 0:00:00
Downloading mutagen-1.47.0-py3-none-any.whl (194 kB)
Downloading pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 668.7 kB/s eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: ifaddr, brotli, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, async-timeout, zeroconf, requests, yt-dlp, casttube, pychromecast, catt
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: brotli
Found existing installation: Brotli 1.1.0
Uninstalling Brotli-1.1.0:
Successfully uninstalled Brotli-1.1.0
Attempting uninstall: websockets
Found existing installation: websockets 13.1
Uninstalling websockets-13.1:
Successfully uninstalled websockets-13.1
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: protobuf
Found existing installation: protobuf 5.28.2
Uninstalling protobuf-5.28.2:
Successfully uninstalled protobuf-5.28.2
Attempting uninstall: mutagen
Found existing installation: mutagen 1.47.0
Uninstalling mutagen-1.47.0:
Successfully uninstalled mutagen-1.47.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: click
Found existing installation: click 8.1.7
Uninstalling click-8.1.7:
Successfully uninstalled click-8.1.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: async-timeout
Found existing installation: async-timeout 4.0.3
Uninstalling async-timeout-4.0.3:
Successfully uninstalled async-timeout-4.0.3
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.135.0
Uninstalling zeroconf-0.135.0:
Successfully uninstalled zeroconf-0.135.0
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: yt-dlp
Found existing installation: yt-dlp 2024.9.27
Uninstalling yt-dlp-2024.9.27:
Successfully uninstalled yt-dlp-2024.9.27
Attempting uninstall: casttube
Found existing installation: casttube 0.2.1
Uninstalling casttube-0.2.1:
Successfully uninstalled casttube-0.2.1
Attempting uninstall: pychromecast
Found existing installation: PyChromecast 13.1.0
Uninstalling PyChromecast-13.1.0:
Successfully uninstalled PyChromecast-13.1.0
Attempting uninstall: catt
Found existing installation: catt 0.12.12
Uninstalling catt-0.12.12:
Successfully uninstalled catt-0.12.12
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 5.28.2 which is incompatible.
gpsoauth 1.1.1 requires urllib3<2.0, but you have urllib3 2.2.3 which is incompatible.
Successfully installed async-timeout-4.0.3 brotli-1.1.0 casttube-0.2.1 catt-0.12.12 certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 idna-3.10 ifaddr-0.2.0 mutagen-1.47.0 protobuf-5.28.2 pychromecast-13.1.0 pycryptodomex-3.21.0 requests-2.32.3 urllib3-2.2.3 websockets-13.1 yt-dlp-2024.9.27 zeroconf-0.135.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 12
+ sudo python3 -m pip install --force-reinstall --upgrade gpsoauth
Collecting gpsoauth
Downloading gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting pycryptodomex>=3.0 (from gpsoauth)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting requests>=2.0.0 (from gpsoauth)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting urllib3<2.0 (from gpsoauth)
Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.0.0->gpsoauth)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.0.0->gpsoauth)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.0.0->gpsoauth)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Downloading gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, pycryptodomex, idna, charset-normalizer, certifi, requests, gpsoauth
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.1.1
Uninstalling gpsoauth-1.1.1:
Successfully uninstalled gpsoauth-1.1.1
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 gpsoauth-1.1.1 idna-3.10 pycryptodomex-3.21.0 requests-2.32.3 urllib3-1.26.20
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 13
+ sudo python3 -m pip install --force-reinstall --upgrade glocaltokens
Collecting glocaltokens
Downloading glocaltokens-0.7.2-py3-none-any.whl.metadata (5.4 kB)
Collecting ghome-foyer-api>=1.0.0 (from glocaltokens)
Downloading ghome_foyer_api-1.0.0-py3-none-any.whl.metadata (1.8 kB)
Collecting gpsoauth>=1.1.1 (from glocaltokens)
Using cached gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting grpcio>=1.59.0 (from glocaltokens)
Downloading grpcio-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Collecting requests>=2.32.3 (from glocaltokens)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting simplejson>=3.19.3 (from glocaltokens)
Downloading simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Collecting zeroconf>=0.133.0 (from glocaltokens)
Using cached zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting protobuf<5.0.0,>=4.21.12 (from ghome-foyer-api>=1.0.0->glocaltokens)
Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting pycryptodomex>=3.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting urllib3<2.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.32.3->glocaltokens)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.32.3->glocaltokens)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.32.3->glocaltokens)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting async-timeout>=3.0.0 (from zeroconf>=0.133.0->glocaltokens)
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting ifaddr>=0.1.7 (from zeroconf>=0.133.0->glocaltokens)
Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Downloading glocaltokens-0.7.2-py3-none-any.whl (14 kB)
Downloading ghome_foyer_api-1.0.0-py3-none-any.whl (17 kB)
Using cached gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Downloading grpcio-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 799.9 kB/s eta 0:00:00
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)
Using cached zeroconf-0.135.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Downloading protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: ifaddr, urllib3, simplejson, pycryptodomex, protobuf, idna, grpcio, charset-normalizer, certifi, async-timeout, zeroconf, requests, ghome-foyer-api, gpsoauth, glocaltokens
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.20
Uninstalling urllib3-1.26.20:
Successfully uninstalled urllib3-1.26.20
Attempting uninstall: simplejson
Found existing installation: simplejson 3.19.3
Uninstalling simplejson-3.19.3:
Successfully uninstalled simplejson-3.19.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: protobuf
Found existing installation: protobuf 5.28.2
Uninstalling protobuf-5.28.2:
Successfully uninstalled protobuf-5.28.2
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: grpcio
Found existing installation: grpcio 1.66.2
Uninstalling grpcio-1.66.2:
Successfully uninstalled grpcio-1.66.2
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: async-timeout
Found existing installation: async-timeout 4.0.3
Uninstalling async-timeout-4.0.3:
Successfully uninstalled async-timeout-4.0.3
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.135.0
Uninstalling zeroconf-0.135.0:
Successfully uninstalled zeroconf-0.135.0
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: ghome-foyer-api
Found existing installation: ghome-foyer-api 1.0.0
Uninstalling ghome-foyer-api-1.0.0:
Successfully uninstalled ghome-foyer-api-1.0.0
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.1.1
Uninstalling gpsoauth-1.1.1:
Successfully uninstalled gpsoauth-1.1.1
Attempting uninstall: glocaltokens
Found existing installation: glocaltokens 0.7.2
Uninstalling glocaltokens-0.7.2:
Successfully uninstalled glocaltokens-0.7.2
Successfully installed async-timeout-4.0.3 certifi-2024.8.30 charset-normalizer-3.3.2 ghome-foyer-api-1.0.0 glocaltokens-0.7.2 gpsoauth-1.1.1 grpcio-1.66.2 idna-3.10 ifaddr-0.2.0 protobuf-4.25.5 pycryptodomex-3.21.0 requests-2.32.3 simplejson-3.19.3 urllib3-1.26.20 zeroconf-0.135.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 14
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end ghlocal
+ echo 15
+ rm /tmp/jeedom_install_in_progress_ghlocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Ca ne semble pas fonctionner mieux j’ai l’impression.
Le log après sauvegarde de l’email et mdp (toujours Deb11):

[2024-10-08 01:56:47] DEBUG  : Cmd Master Token sudo python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens.py ayyyyyyyyyyyyyyy@gmail.com xxxxxxxxxxxxxxxxxx 
[2024-10-08 01:56:47] DEBUG  : Result Master Token Array (     [0] => None )
[2024-10-08 01:56:53] DEBUG  : Cmd Tokens sudo python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_newtokens.py ayyyyyyyyyyyyyyy@gmail.com xxxxxxxxxxxxxxxxxx None
[2024-10-08 01:56:53] DEBUG  : Result Tokens Array ( )

Maintenant sur Debian 12, les dépendances:

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_ghlocal
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y adb
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
adb is already the newest version (1:29.0.6-28).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y jq
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.6-2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y vlc
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
vlc is already the newest version (3.0.21-0+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 6
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 7
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv
+ echo 8
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /var/www/html/plugins/ghlocal/resources/python_venv/lib/python3.11/site-packages (24.2)
Requirement already satisfied: wheel in /var/www/html/plugins/ghlocal/resources/python_venv/lib/python3.11/site-packages (0.44.0)
+ echo 9
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade protobuf
Collecting protobuf
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 4.25.5
Uninstalling protobuf-4.25.5:
Successfully uninstalled protobuf-4.25.5
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 5.28.2 which is incompatible.
Successfully installed protobuf-5.28.2
+ echo 10
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade gTTS
Collecting gTTS
Using cached gTTS-2.5.3-py3-none-any.whl.metadata (4.1 kB)
Collecting requests<3,>=2.27 (from gTTS)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting click<8.2,>=7.1 (from gTTS)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS)
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Using cached gTTS-2.5.3-py3-none-any.whl (29 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Installing collected packages: urllib3, idna, click, charset-normalizer, certifi, requests, gTTS
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.20
Uninstalling urllib3-1.26.20:
Successfully uninstalled urllib3-1.26.20
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: click
Found existing installation: click 8.1.7
Uninstalling click-8.1.7:
Successfully uninstalled click-8.1.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gTTS
Found existing installation: gTTS 2.5.3
Uninstalling gTTS-2.5.3:
Successfully uninstalled gTTS-2.5.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gpsoauth 1.1.1 requires urllib3<2.0, but you have urllib3 2.2.3 which is incompatible.
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 gTTS-2.5.3 idna-3.10 requests-2.32.3 urllib3-2.2.3
+ echo 11
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade catt
Collecting catt
Using cached catt-0.12.12-py3-none-any.whl.metadata (6.2 kB)
Collecting click>=7.1.2 (from catt)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting ifaddr>=0.1.7 (from catt)
Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Collecting pychromecast<14,>=13.0.7 (from catt)
Using cached PyChromecast-13.1.0-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting requests>=2.23.0 (from catt)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting yt-dlp>=2023.3.4 (from catt)
Downloading yt_dlp-2024.10.7-py3-none-any.whl.metadata (171 kB)
Collecting protobuf>=3.19.1 (from pychromecast<14,>=13.0.7->catt)
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting zeroconf>=0.25.1 (from pychromecast<14,>=13.0.7->catt)
Using cached zeroconf-0.135.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting casttube>=0.2.0 (from pychromecast<14,>=13.0.7->catt)
Using cached casttube-0.2.1-py3-none-any.whl.metadata (960 bytes)
Collecting charset-normalizer<4,>=2 (from requests>=2.23.0->catt)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.23.0->catt)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.23.0->catt)
Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests>=2.23.0->catt)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting brotli (from yt-dlp>=2023.3.4->catt)
Using cached Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)
Collecting mutagen (from yt-dlp>=2023.3.4->catt)
Using cached mutagen-1.47.0-py3-none-any.whl.metadata (1.7 kB)
Collecting pycryptodomex (from yt-dlp>=2023.3.4->catt)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting websockets>=13.0 (from yt-dlp>=2023.3.4->catt)
Using cached websockets-13.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Using cached catt-0.12.12-py3-none-any.whl (26 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Using cached PyChromecast-13.1.0-py2.py3-none-any.whl (64 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading yt_dlp-2024.10.7-py3-none-any.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 195.6 kB/s eta 0:00:00
Using cached casttube-0.2.1-py3-none-any.whl (6.5 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached protobuf-5.28.2-cp38-abi3-manylinux2014_x86_64.whl (316 kB)
Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
Using cached websockets-13.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (164 kB)
Using cached zeroconf-0.135.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB)
Using cached Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB)
Using cached mutagen-1.47.0-py3-none-any.whl (194 kB)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Installing collected packages: ifaddr, brotli, zeroconf, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, requests, yt-dlp, casttube, pychromecast, catt
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: brotli
Found existing installation: Brotli 1.1.0
Uninstalling Brotli-1.1.0:
Successfully uninstalled Brotli-1.1.0
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.135.0
Uninstalling zeroconf-0.135.0:
Successfully uninstalled zeroconf-0.135.0
Attempting uninstall: websockets
Found existing installation: websockets 13.1
Uninstalling websockets-13.1:
Successfully uninstalled websockets-13.1
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: protobuf
Found existing installation: protobuf 5.28.2
Uninstalling protobuf-5.28.2:
Successfully uninstalled protobuf-5.28.2
Attempting uninstall: mutagen
Found existing installation: mutagen 1.47.0
Uninstalling mutagen-1.47.0:
Successfully uninstalled mutagen-1.47.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: click
Found existing installation: click 8.1.7
Uninstalling click-8.1.7:
Successfully uninstalled click-8.1.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: yt-dlp
Found existing installation: yt-dlp 2024.9.27
Uninstalling yt-dlp-2024.9.27:
Successfully uninstalled yt-dlp-2024.9.27
Attempting uninstall: casttube
Found existing installation: casttube 0.2.1
Uninstalling casttube-0.2.1:
Successfully uninstalled casttube-0.2.1
Attempting uninstall: pychromecast
Found existing installation: PyChromecast 13.1.0
Uninstalling PyChromecast-13.1.0:
Successfully uninstalled PyChromecast-13.1.0
Attempting uninstall: catt
Found existing installation: catt 0.12.12
Uninstalling catt-0.12.12:
Successfully uninstalled catt-0.12.12
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ghome-foyer-api 1.0.0 requires protobuf<5.0.0,>=4.21.12, but you have protobuf 5.28.2 which is incompatible.
gpsoauth 1.1.1 requires urllib3<2.0, but you have urllib3 2.2.3 which is incompatible.
Successfully installed brotli-1.1.0 casttube-0.2.1 catt-0.12.12 certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 idna-3.10 ifaddr-0.2.0 mutagen-1.47.0 protobuf-5.28.2 pychromecast-13.1.0 pycryptodomex-3.21.0 requests-2.32.3 urllib3-2.2.3 websockets-13.1 yt-dlp-2024.10.7 zeroconf-0.135.0
+ echo 12
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade gpsoauth
Collecting gpsoauth
Using cached gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting pycryptodomex>=3.0 (from gpsoauth)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting requests>=2.0.0 (from gpsoauth)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting urllib3<2.0 (from gpsoauth)
Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.0.0->gpsoauth)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.0.0->gpsoauth)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.0.0->gpsoauth)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Using cached gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Installing collected packages: urllib3, pycryptodomex, idna, charset-normalizer, certifi, requests, gpsoauth
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.1.1
Uninstalling gpsoauth-1.1.1:
Successfully uninstalled gpsoauth-1.1.1
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 gpsoauth-1.1.1 idna-3.10 pycryptodomex-3.21.0 requests-2.32.3 urllib3-1.26.20
+ echo 13
+ sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade glocaltokens
Collecting glocaltokens
Using cached glocaltokens-0.7.2-py3-none-any.whl.metadata (5.4 kB)
Collecting ghome-foyer-api>=1.0.0 (from glocaltokens)
Using cached ghome_foyer_api-1.0.0-py3-none-any.whl.metadata (1.8 kB)
Collecting gpsoauth>=1.1.1 (from glocaltokens)
Using cached gpsoauth-1.1.1-py3-none-any.whl.metadata (4.2 kB)
Collecting grpcio>=1.59.0 (from glocaltokens)
Using cached grpcio-1.66.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Collecting requests>=2.32.3 (from glocaltokens)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting simplejson>=3.19.3 (from glocaltokens)
Using cached simplejson-3.19.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
Collecting zeroconf>=0.133.0 (from glocaltokens)
Using cached zeroconf-0.135.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB)
Collecting protobuf<5.0.0,>=4.21.12 (from ghome-foyer-api>=1.0.0->glocaltokens)
Using cached protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting pycryptodomex>=3.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting urllib3<2.0 (from gpsoauth>=1.1.1->glocaltokens)
Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.32.3->glocaltokens)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.32.3->glocaltokens)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests>=2.32.3->glocaltokens)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting ifaddr>=0.1.7 (from zeroconf>=0.133.0->glocaltokens)
Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
Using cached glocaltokens-0.7.2-py3-none-any.whl (14 kB)
Using cached ghome_foyer_api-1.0.0-py3-none-any.whl (17 kB)
Using cached gpsoauth-1.1.1-py3-none-any.whl (7.3 kB)
Using cached grpcio-1.66.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached simplejson-3.19.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB)
Using cached zeroconf-0.135.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Using cached protobuf-4.25.5-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
Using cached pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Installing collected packages: ifaddr, zeroconf, urllib3, simplejson, pycryptodomex, protobuf, idna, grpcio, charset-normalizer, certifi, requests, ghome-foyer-api, gpsoauth, glocaltokens
Attempting uninstall: ifaddr
Found existing installation: ifaddr 0.2.0
Uninstalling ifaddr-0.2.0:
Successfully uninstalled ifaddr-0.2.0
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.135.0
Uninstalling zeroconf-0.135.0:
Successfully uninstalled zeroconf-0.135.0
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.20
Uninstalling urllib3-1.26.20:
Successfully uninstalled urllib3-1.26.20
Attempting uninstall: simplejson
Found existing installation: simplejson 3.19.3
Uninstalling simplejson-3.19.3:
Successfully uninstalled simplejson-3.19.3
Attempting uninstall: pycryptodomex
Found existing installation: pycryptodomex 3.21.0
Uninstalling pycryptodomex-3.21.0:
Successfully uninstalled pycryptodomex-3.21.0
Attempting uninstall: protobuf
Found existing installation: protobuf 5.28.2
Uninstalling protobuf-5.28.2:
Successfully uninstalled protobuf-5.28.2
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: grpcio
Found existing installation: grpcio 1.66.2
Uninstalling grpcio-1.66.2:
Successfully uninstalled grpcio-1.66.2
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Attempting uninstall: ghome-foyer-api
Found existing installation: ghome-foyer-api 1.0.0
Uninstalling ghome-foyer-api-1.0.0:
Successfully uninstalled ghome-foyer-api-1.0.0
Attempting uninstall: gpsoauth
Found existing installation: gpsoauth 1.1.1
Uninstalling gpsoauth-1.1.1:
Successfully uninstalled gpsoauth-1.1.1
Attempting uninstall: glocaltokens
Found existing installation: glocaltokens 0.7.2
Uninstalling glocaltokens-0.7.2:
Successfully uninstalled glocaltokens-0.7.2
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 ghome-foyer-api-1.0.0 glocaltokens-0.7.2 gpsoauth-1.1.1 grpcio-1.66.2 idna-3.10 ifaddr-0.2.0 protobuf-4.25.5 pycryptodomex-3.21.0 requests-2.32.3 simplejson-3.19.3 urllib3-1.26.20 zeroconf-0.135.0
+ echo 14
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end ghlocal
+ echo 15
+ rm /tmp/jeedom_install_in_progress_ghlocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Et après sauvegarde de l’email et mdp:

[2024-10-08 02:03:49] DEBUG  : Cmd Master Token sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_tokens.py ayyyyyyyyyyyyyyy@gmail.com xxxxxxxxxxxxxxxxx
[2024-10-08 02:03:49] DEBUG  : Result Master Token Array (     [0] => None )
[2024-10-08 02:03:51] DEBUG  : Cmd Tokens sudo /var/www/html/core/class/../../plugins/ghlocal/resources/python_venv/bin/python3 /var/www/html/plugins/ghlocal/core/class/../../resources/get_newtokens.py ayyyyyyyyyyyyyyy@gmail.com xxxxxxxxxxxxxxxxx None
[2024-10-08 02:03:51] DEBUG  : Result Tokens Array ( )

Bref, le comportement est identique à la version précédente.
@lunarok, ça fonctionne chez toi ?
Merci

Hello @lunarok, as-tu pu testé chez toi pour reproduire le problème ?
En effet ton patch sur la béta ne semble pas avoir solutionné le problème chez moi, toujours impossible de récupérer le master token…

Merci

Hello à tous,
Même si j’ai l’impression d’être le seul à vouloir refaire marcher le plugin plugin-ghlocal (ou alors d’être le seul à avoir des pb avec…), je me réponds car j’ai trouvé une solution temporaire :

Je n’ai pas compris pourquoi mais en deb11 ou deb12, le script get_tokens.py ne parviens pas à récupérer le master token (peut-être les versions de certains modules, j’ai lu que les versions trop récentes de gpsoauth pouvaient poser problème).
Ce script est prévu pour recevoir 2 arguments obligatoire (email et mot de passe d’application), ainsi qu’un 3ème optionnel, le fameux master token.
Mais si on ne lui donne pas le master token en argument, alors il commence pour nous le sortir.

Pour info, je me suis lancé dans Home Assistant pour voir si l’équivalent de ce plugin marchait mieux sur HA… mais non, toujours pas de master token. En revanche la commu est plus dense et j’ai reçu un peu d’aide.

En particulier ce ce fil

Ce que j’ai fait : comme je ne suis pas un power user de linux et python et que je voulais pas mettre la gargouille en installant n’importe quoi sur Jeedom, j’ai installé sur mon NAS synology via l’appli Container, un docker de l’image breph/ha-google-home_get-token. Une fois le docker installé et lancé, j’ouvre un terminal (toujours depuis Container), puis je tape directement la commande python3 get_tokens.py.
Le script nous demande notre email, le mot de passe d’application (16 caractères sans espace), et magie !

[*] Getting master token...                                                      
[*] Master token: aas_et/AKppINZSVyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy=  
                                                                                 
[*] Getting access token...                                                      
[*] Access token: ya29.a0AcM612wlyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy5 

Bon, grosse étape ! J’ai un master token !!!
Note : le mien, de aas_et/ à = fait exactement 223 caractères, contraitrement au 233 caractères que j’ai vu dans certains forum…
Pour tester, j’ai rentré ça dans Home Assistant et ça marche, tous mes google homes remontent avec mes alarmes et tout. Mais bon HA, j’ai aucun scenarios donc ça m’intéresse moyen ! Je veux que ça marche dans Jeedom.

Le problème c’est que le plugin plugin-ghlocal de permet pas de renseigner manuellement le master token !
Et ça @lunarok c’est sans doute une possibilité d’amélioration si tu n’arrives pas/ne reproduit pas/n’a pas le temps… de traiter le problème de génération du master token : ce serait d’ajouter dans la configuration du plugin, la possibilité d’entrer son master token en plus de l’email et app pwd (comme fait HA depuis qu’il y a des soucis de master token).

Bon, en attendant j’ai trouvé une astuce un peu sale, je vous disais que le script get_tokens acceptait en 3ème argument optionnel le master token, et bah dans la configuration du plugin, dans le champs « mot de passe Google », j’y ai mis : applicationpassword master_token, avec un espace entre les deux

Et magie ! Les alarmes sont récupérées !
Je teste demain matin si tout remarche et surtout, pendant combien de temps le master token reste en vie !

Il reste un peu de boulot pour rendre ça propre mais j’espère au moins récupérer mes scenarios de réveils en attendant, quitte à mettre à jour ce master token de temps en temps !