Pb plugin Google Cast suite a une init de ma box Atlas

Bonsoir la communauté,
j’ai un problème de communication depuis que j’ai remis mon Atlas d’origine avec le backup qui va bien (du market…)
le démon du plugin Google Cast était NOK, il est maintenant vert (j’ai installé en SHH pip install protobuf==3.20.*) mais il ne scan rien


Voici les logs :
GoogleCast_local:

24-04-16 21:42:17][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:48060]
[2024-04-16 21:42:17][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "ea20150b-af56-c3ce-30bc-1ff40016add2", "source": "googlecast"}, "command": [{"cmd": "notif", "value": "il y a quelqu'un dans le parking.mp3", "vol": "40"}]}
[2024-04-16 21:42:17][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:48060]
[2024-04-16 21:42:17][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2024-04-16 21:42:17][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2024-04-16 21:42:17][DEBUG] : SOCKET-READ------Attempt an action on a device
[2024-04-16 21:42:17][DEBUG] : SOCKET-READ------Action Thread Launched
[2024-04-16 21:42:17][DEBUG] : ACTION------ Device not connected !
[2024-04-16 21:42:17][DEBUG] : SENDER------Send to jeedom :  {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'nowplaying': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'online': True, 'is_active_input': False, 'is_stand_by': False, 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED', 'player_state': 'NOT CONNECTED', 'title': '', 'album_artist': '', 'album_name': '', 'current_time': 0, 'artist': '', 'image': None, 'series_title': '', 'season': '', 'episode': '', 'stream_type': '', 'track': ''}}
[2024-04-16 21:42:17][DEBUG] : SENDER------Send to jeedom : {'devices': {'ea20150b-af56-c3ce-30bc-1ff40016add2': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'typemsg': 'error', 'status': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED'}}}}
[2024-04-16 21:42:25][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:45122]
[2024-04-16 21:42:25][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "ea20150b-af56-c3ce-30bc-1ff40016add2", "source": "googlecast"}, "command": [{"cmd": "notif", "value": "fermeture automatique des volets dans une minute.mp3", "vol": "40"}]}
[2024-04-16 21:42:25][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:45122]
[2024-04-16 21:42:25][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2024-04-16 21:42:25][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2024-04-16 21:42:25][DEBUG] : SOCKET-READ------Attempt an action on a device
[2024-04-16 21:42:25][DEBUG] : SOCKET-READ------Action Thread Launched
[2024-04-16 21:42:25][DEBUG] : ACTION------ Device not connected !
[2024-04-16 21:42:25][DEBUG] : SENDER------Send to jeedom :  {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'nowplaying': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'online': True, 'is_active_input': False, 'is_stand_by': False, 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED', 'player_state': 'NOT CONNECTED', 'title': '', 'album_artist': '', 'album_name': '', 'current_time': 0, 'artist': '', 'image': None, 'series_title': '', 'season': '', 'episode': '', 'stream_type': '', 'track': ''}}
[2024-04-16 21:42:25][DEBUG] : SENDER------Send to jeedom : {'devices': {'ea20150b-af56-c3ce-30bc-1ff40016add2': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'typemsg': 'error', 'status': {'uuid': 'ea20150b-af56-c3ce-30bc-1ff40016add2', 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED'}}}}
[2024-04-16 21:42:37][DEBUG] : SCANNER------ Start scanning... (schedule)
[2024-04-16 21:42:37][DEBUG] :  MEMORY---- Total CPU time used : 19.625s (0.38%)  |  Last 62 sec : 0.313s (0.50%)  | Memory : 50 Mo
[2024-04-16 21:42:37][INFO] : SCANNER------ Adding chromecast : Chambre parentale
[2024-04-16 21:42:37][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2024-04-16 21:42:37][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
    globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 107, in __init__
    self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
    if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'
[2024-04-16 21:43:39][DEBUG] : SCANNER------ Start scanning... (schedule)
[2024-04-16 21:43:39][DEBUG] :  MEMORY---- Total CPU time used : 19.821s (0.38%)  |  Last 62 sec : 0.196s (0.32%)  | Memory : 50 Mo
[2024-04-16 21:43:39][INFO] : SCANNER------ Adding chromecast : Chambre parentale
[2024-04-16 21:43:39][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2024-04-16 21:43:39][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
    globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 107, in __init__
    self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
    if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'

googlecast_update :

Launch install of googlecast dependancies

-- Current OS version :
Description:	Debian GNU/Linux 11 (bullseye)

-- Updating repo...
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://deb.debian.org/debian bullseye-backports InRelease
Hit:4 http://security.debian.org bullseye-security InRelease
Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:6 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Ign:7 http://imola.armbian.com/apt buster InRelease
Err:8 http://fi.mirror.armbian.de/apt buster Release
  404  Not Found [IP: 65.21.120.247 80]
Reading package lists...
E: The repository 'http://apt.armbian.com buster Release' no longer has a Release file.

-- Installation of python3 and dependancies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
python3 is already the newest version (3.9.2-3).
python-dev-is-python2 is already the newest version (2.7.18-9).
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.

-- Installed version of Python :
Python 3.9.2
  Your version of python is compatible with this plugin.

-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python-requests

-- Installation of audio sox library
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.2+git20190427-2+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.

-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
libttspico-utils is already the newest version (1.0+git20130326-11).
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.

-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:4.3.6-0+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.

-- Upgrade setuptools with command pip3.9 if not up to date
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
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.9/dist-packages (69.5.1)

-- Installed version of pip :
pip 24.0 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)

-- Installation of python library 'requests' with command pip3.9
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
Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.9/dist-packages (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests>=2.21.0) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests>=2.21.0) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests>=2.21.0) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests>=2.21.0) (2024.2.2)

-- Installation of python library 'protobuf' with command pip3.9
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
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.9/dist-packages (3.20.3)

-- Installation of python library 'zeroconf' with command pip3.9
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
Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.9/dist-packages (0.132.2)
Requirement already satisfied: async-timeout>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from zeroconf>=0.25.1) (4.0.3)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.9/dist-packages (from zeroconf>=0.25.1) (0.2.0)

-- Installation of python library 'click, bs4 and six' for TTS with command pip3.9
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
Requirement already satisfied: click in /usr/local/lib/python3.9/dist-packages (8.1.7)
Requirement already satisfied: bs4 in /usr/local/lib/python3.9/dist-packages (0.0.2)
Requirement already satisfied: six in /usr/local/lib/python3.9/dist-packages (1.16.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.9/dist-packages (from bs4) (4.12.3)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.9/dist-packages (from beautifulsoup4->bs4) (2.5)

-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3.9
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
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/dist-packages (4.66.2)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.9/dist-packages (1.7.0)
Requirement already satisfied: casttube in /usr/local/lib/python3.9/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/local/lib/python3.9/dist-packages (from casttube) (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests->casttube) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests->casttube) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests->casttube) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests->casttube) (2024.2.2)

-- Installation of dependencies is done !

J’ai beau lancé un scan et il ne trouve rien alors que c’est ok sur le réseau
image

Je suis preneur de tout conseil car je ne vois pas ce qu’il faut faire…
merci par avance

Bonsoir,

Je n’ai pas la solution pour le plugin Google Cast et debian Bullseye mais sinon il y a le nouveau plugin TTS Cast de @TiTidom qui fait la même chose voir plus

1 « J'aime »

Bonjour,

C’est pas le plugin le problème mais le système

Vous dites avoir reset l’atlas mais vous êtes toujours sous buster donc ca n’a pas fonctionné. Vous devriez être sous bullseye.

On peut voir la page santé ? A fournir à chaque demande.

Et votre profil parle d’un pi3, pas d’une atlas

Donc refaites le reset car vous allez avoir le problème avec d’autres plugins.

Vous pouvez cherchez sur l’erreur, il y a eu déjà 2-3 posts depuis quelques jours.

Ceci dit, concernant plugin-googlecast regardez plutôt plugin-ttscast effectivement

Salut

plugin-ttscast fonxtuonne en 64 bit.
Est-ce le cas du système atlas?

Antoine

Bonjour,
Je confirme que c’est bien une ATLAS et que la version 11.8 est bien Bullseye d’après google.
j’ai mis a jour mon profil.


Il n’y a aucun défaut :

Je ne suis pas passé en V4 de peur d’avoir d’autre problème de compatibilité.
Je m’explique:
J’ai fait une demande auprès de Jeedom car j’ai rencontré un problème de taille de EMMC (le disque était plein) , Loïc a trouvé un problème du a un plugin non officiel « EUFY », l’on m’a conseillé de faire un reset après avoir sauvegardé l’atlas.
Voila c’est fait mais encore un nouveau Pb…
@iPapy et @Tonio16
je vais installé ttscast
merci pour l’info

1 « J'aime »

oui debian11 c’est bullseye mais dans vos sources il y a des traces de buster.
Si vous avez fait un reset usine c’est pas normal => faites un ticket au support pour qu’ils corrigent car cela va bloquer l’installation de tous les plugins

c’est pas pour ca que je demandais mais pour avoir les infos générales

vous êtes en v4.3; vous vouliez dire v4.4 je suppose.

Bonsoir,
J’ai enlevé le plugin Google cast puis installer le TTS cast sans problème
ça marche Nickel, j’ai transféré tous les mp3 au bon endroit :+1:
J’ai corrigé tous les scénarios…et du coup je suis passé en v4.4.3


Merci a tous pour votre réactivité !
:saluting_face:

1 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.