GoogleCast ne fonctionne pas, et c'est un mystère

Bonjour la communauté,

je viens chercher de l’aide auprès de vous car je n’arrive pas à faire fonctionner correctement le plugin-googlecast. (Raspberry pi 3 B+)

  • Je lance l’installation au niveau du market: tout se passe bien
  • Je lance l’installation des dépendances: Statut: OK, le démon se lance et tout est au vert.
  • Je laisse la configuration basique.
  • Je lance ensuite un scan de mes appareils et il me trouve tout ! (et c’est franchement top !)

Mais c’est là que les ennuis commencent.
Même en attendant de longues/minutes heures, les appareils sont inexploitable et ne réagissent pas (alors que le plugin gcast y arrive (mais j’aimerais changer pour avoir une vraie voix …), et que les appareils sont bien sur le réseau. J’ai vérifié le rpi les ping bien)

  • Si je lance la commande « display_name » par exemple j’aurais « Résultat de la commande : NOT CONNECTED ». Les autres commandes renvoient soit du vide, soit ne font rien.
  • Si je vais dans « Santé » je les vois tous à « Online: Non / Occupé: Non ».

J’ai passé le Niveau de log en debug et voici ce que j’obtiens:

Log Googlecast

[2021-11-23 13:26:23][DEBUG] : This is a message from googlecast program local
[2021-11-23 13:26:23][INFO] : Process stopped !
[2021-11-23 13:26:26][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/jeedom/plugins/googlecast/resources/googlecast.py --loglevel debug --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php --apikey kPU1Mg9JIRfJXbLyYnNyvldWwTh1q9AD --ttsweb http://192.168.10.18 --ttslang fr-FR --ttsengine jeedomtts --ttsspeed 1.2 --ttscache 1 --ttsgapikey none --gcttsvoice fr-FR-Standard-A --ttsdefaultrestoretime 1300 --ttsdefaultsilenceduration 300 --daemonname local --cyclefactor 1 --defaultstatus ' '
[2021-11-23 13:26:27][DEBUG] : This is a message from googlecast program local
[2021-11-23 13:26:27][INFO] : Process started. Sending known devices now...
[2021-11-23 13:27:04][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2021-11-23 13:27:04][DEBUG] : Request response content : Array (     [bssid] => de:07:b6:24:a2:41     [build_version] => 265669     [cast_build_revision] => 1.56.265669     [closed_caption] => Array         (         )      [connected] => 1     [ethernet_connected] =>      [has_update] =>      [hotspot_bssid] => FA:8F:CA:50:50:D6     [ip_address] => 192.168.10.57     [locale] => fr     [location] => Array         (             [country_code] => FR             [latitude] => 255             [longitude] => 255         )      [mac_address] => F8:0F:F9:3D:9C:FE     [name] => Salon     [noise_level] => -92     [opt_in] => Array         (             [crash] => 1             [opencast] =>              [stats] => 1         )      [public_key] => MIIBCgKCAQEAm7JFcyA3rUDtMB4Y3T745KGCqfQsqT9szsJpyotBiONqOh/7T9zPx3PzY90D6JVjk8i1rUZOyvEvJjvdsIrxrsFtGGCN6qLDH6Br1ITPW79jfz+UeAD/EjCLhnurtVZuUMqnZFfk6SE+xGrvJ9spzyaAN2mL+YyOw4XhqkT0NOiC89MlYYXDfaMYZmwFAV7ENJHM/jFy0hEobD6VskDFKR+v+yQeZW2oms+wnKWBWF670kqFNV4Dy2yl22gRRh6TO4tCvyk3YyyOiYVcw4XynYRkR6UUvFbA6W+L0wdHJDZrwMvEPWfIklusMlwhJOZnU336xNl5q1AWaF+9Pf29mwIDAQAB     [release_track] => stable-channel     [setup_state] => 60     [setup_stats] => Array         (             [historically_succeeded] => 1             [num_check_connectivity] => 0             [num_connect_wifi] => 0             [num_connected_wifi_not_saved] => 0             [num_initial_eureka_info] => 0             [num_obtain_ip] => 0         )      [signal_level] => -26     [ssdp_udn] => 1c0ac81d-ecf2-09de-50f3-4f6bb671cab2     [ssid] => foireatout     [time_format] => 2     [timezone] => Europe/Paris     [tos_accepted] => 1     [uma_client_id] => e20514c4-c787-4eaf-887e-f1ee81511cd8     [uptime] => 32152.343794     [version] => 12     [wpa_configured] => 1     [wpa_id] => 0     [wpa_state] => 10 )
[2021-11-23 13:27:04][DEBUG] : getInfoHttp : Result success : 1.56.265669 => 1.56.265669
[2021-11-23 13:27:04][DEBUG] : Envoi de la commande [refresh] depuis Jeedom
[2021-11-23 13:27:05][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2021-11-23 13:27:05][DEBUG] : Request response content : Array (     [bssid] => de:07:b6:24:a2:41     [build_version] => 265669     [cast_build_revision] => 1.56.265669     [closed_caption] => Array         (         )      [connected] => 1     [ethernet_connected] =>      [has_update] =>      [hotspot_bssid] => FA:8F:CA:50:50:D6     [ip_address] => 192.168.10.57     [locale] => fr     [location] => Array         (             [country_code] => FR             [latitude] => 255             [longitude] => 255         )      [mac_address] => F8:0F:F9:3D:9C:FE     [name] => Salon     [noise_level] => -92     [opt_in] => Array         (             [crash] => 1             [opencast] =>              [stats] => 1         )      [public_key] => MIIBCgKCAQEAm7JFcyA3rUDtMB4Y3T745KGCqfQsqT9szsJpyotBiONqOh/7T9zPx3PzY90D6JVjk8i1rUZOyvEvJjvdsIrxrsFtGGCN6qLDH6Br1ITPW79jfz+UeAD/EjCLhnurtVZuUMqnZFfk6SE+xGrvJ9spzyaAN2mL+YyOw4XhqkT0NOiC89MlYYXDfaMYZmwFAV7ENJHM/jFy0hEobD6VskDFKR+v+yQeZW2oms+wnKWBWF670kqFNV4Dy2yl22gRRh6TO4tCvyk3YyyOiYVcw4XynYRkR6UUvFbA6W+L0wdHJDZrwMvEPWfIklusMlwhJOZnU336xNl5q1AWaF+9Pf29mwIDAQAB     [release_track] => stable-channel     [setup_state] => 60     [setup_stats] => Array         (             [historically_succeeded] => 1             [num_check_connectivity] => 0             [num_connect_wifi] => 0             [num_connected_wifi_not_saved] => 0             [num_initial_eureka_info] => 0             [num_obtain_ip] => 0         )      [signal_level] => -27     [ssdp_udn] => 1c0ac81d-ecf2-09de-50f3-4f6bb671cab2     [ssid] => foireatout     [time_format] => 2     [timezone] => Europe/Paris     [tos_accepted] => 1     [uma_client_id] => e20514c4-c787-4eaf-887e-f1ee81511cd8     [uptime] => 32153.773399     [version] => 12     [wpa_configured] => 1     [wpa_id] => 0     [wpa_state] => 10 )
[2021-11-23 13:27:05][DEBUG] : getInfoHttp : Result success : 1.56.265669 => 1.56.265669
[2021-11-23 13:27:16][DEBUG] : Envoi de la commande [speak] depuis Jeedom

Log Googlecast_local

[2021-11-23 13:26:27][INFO] : ------------------------------------------------------
[2021-11-23 13:26:27][INFO] : GLOBAL------STARTING googlecast
[2021-11-23 13:26:27][INFO] : GLOBAL------Scan Timeout : 5
[2021-11-23 13:26:27][INFO] : GLOBAL------Scan Frequency : 60
[2021-11-23 13:26:27][INFO] : GLOBAL------Log level : debug
[2021-11-23 13:26:27][INFO] : GLOBAL------Socket port : 55012
[2021-11-23 13:26:27][INFO] : GLOBAL------Socket host : 127.0.0.1
[2021-11-23 13:26:27][INFO] : GLOBAL------PID file : /tmp/googlecast.pid
[2021-11-23 13:26:27][INFO] : GLOBAL------Apikey : *******************************
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS Jeedom server : http://192.168.10.18
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS default language : fr-FR
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS default engine : jeedomtts
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS default speech speed : 1.2
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS Google API Key (optional) : NOK
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS default delay before volume restore : 1300 ms
[2021-11-23 13:26:27][INFO] : GLOBAL------TTS default silence before tts : 300 ms
[2021-11-23 13:26:27][INFO] : GLOBAL------Cache status : True
[2021-11-23 13:26:27][INFO] : GLOBAL------Callback : http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php
[2021-11-23 13:26:27][INFO] : GLOBAL------Event cycle : 0.5
[2021-11-23 13:26:27][INFO] : GLOBAL------Main cycle : 2.0
[2021-11-23 13:26:27][INFO] : GLOBAL------Default status message :  
[2021-11-23 13:26:27][INFO] : -----------------------------------------------------
[2021-11-23 13:26:27][DEBUG] : Writing PID 15622 to /tmp/googlecast.pid
[2021-11-23 13:26:27][DEBUG] : Init request module v2.25.1
[2021-11-23 13:26:27][INFO] : GLOBAL------Network communication to jeedom OK.
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Socket interface started
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------LoopNetServer Thread started
[2021-11-23 13:26:27][INFO] : GLOBAL------Socket started and waiting for messages from Jeedom...
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Listening on: [127.0.0.1:55012]
[2021-11-23 13:26:27][DEBUG] : WARMUPNOTIF------ Checking file generation...
[2021-11-23 13:26:27][DEBUG] : SENDER------Send to jeedom :  {'started': 1, 'source': 'local'}
[2021-11-23 13:26:27][DEBUG] : SCANNER------ Start scanning... (schedule)
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Stopping zeroconf monitoring thread...
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Start zeroconf monitoring thread...
[2021-11-23 13:26:27][DEBUG] : Using selector: EpollSelector
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58400]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "1c766f2d-026c-b4a3-22a2-223b8f15613e", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58400]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58402]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "56686bdb-d86a-362d-9aa7-52917f471bfe", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58402]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58404]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "1e0864f6-7cf9-4ddd-882a-e5f0a7114b95", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58404]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58406]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "c338d2d2-6c0c-4d0b-aea1-481b0d2e5b39", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58406]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58408]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "854d56d1-a4c9-72b2-931e-5f9f08ac9d4c", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58408]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58410]
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "add", "device": {"uuid": "1c0ac81d-ecf2-09de-50f3-4f6bb671cab2", "options": {"ignore_CEC": "0"}}}
[2021-11-23 13:26:27][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58410]
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Chambre
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Chambre)
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Maison
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Maison)
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salon
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salon)
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salle de bain
[2021-11-23 13:26:27][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salle de bain)
[2021-11-23 13:26:28][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : en bas
[2021-11-23 13:26:28][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (en bas)
[2021-11-23 13:26:28][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : ChambreTV
[2021-11-23 13:26:28][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (ChambreTV)
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Add device : {'uuid': '1c766f2d-026c-b4a3-22a2-223b8f15613e', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:28][DEBUG] : SOCKET-READ------Add device : {'uuid': '56686bdb-d86a-362d-9aa7-52917f471bfe', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:28][INFO] : SCANNER------ Adding chromecast : Chambre
[2021-11-23 13:26:28][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:26:28][DEBUG] : Traceback (most recent call last):
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 107, in __init__
self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
File "/var/www/jeedom/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Add device : {'uuid': '1e0864f6-7cf9-4ddd-882a-e5f0a7114b95', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:29][DEBUG] : SCANNER------ Start scanning... (schedule)
[2021-11-23 13:26:29][DEBUG] :  MEMORY---- Total CPU time used : 1.416s (70.78%)  |  Last 2 sec : 1.416s (70.78%)  | Memory : 27 Mo
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Stopping zeroconf monitoring thread...
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:29][DEBUG] : SOCKET-READ------Add device : {'uuid': 'c338d2d2-6c0c-4d0b-aea1-481b0d2e5b39', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Start zeroconf monitoring thread...
[2021-11-23 13:26:29][DEBUG] : Using selector: EpollSelector
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salon
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salon)
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : en bas
[2021-11-23 13:26:29][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (en bas)
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Chambre
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Chambre)
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Maison
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Maison)
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salle de bain
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salle de bain)
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : ChambreTV
[2021-11-23 13:26:30][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (ChambreTV)
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Add device : {'uuid': '854d56d1-a4c9-72b2-931e-5f9f08ac9d4c', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2021-11-23 13:26:30][DEBUG] : SOCKET-READ------Add device : {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'options': {'ignore_CEC': '0'}}
[2021-11-23 13:26:30][INFO] : SCANNER------ Adding chromecast : Chambre
[2021-11-23 13:26:30][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:26:30][DEBUG] : Traceback (most recent call last):
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 107, in __init__
self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
File "/var/www/jeedom/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:27:04][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58684]
[2021-11-23 13:27:04][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "1c0ac81d-ecf2-09de-50f3-4f6bb671cab2", "source": "googlecast"}, "command": [{"cmd": "refresh"}]}
[2021-11-23 13:27:04][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58684]
[2021-11-23 13:27:04][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:27:04][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2021-11-23 13:27:04][DEBUG] : SOCKET-READ------Attempt an action on a device
[2021-11-23 13:27:04][DEBUG] : SOCKET-READ------Action Thread Launched
[2021-11-23 13:27:04][DEBUG] : ACTION------ Device not connected !
[2021-11-23 13:27:04][DEBUG] : SENDER------Send to jeedom :  {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'nowplaying': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', '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': ''}}
[2021-11-23 13:27:05][DEBUG] : SENDER------Send to jeedom : {'devices': {'1c0ac81d-ecf2-09de-50f3-4f6bb671cab2': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'typemsg': 'error', 'status': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED'}}}}
[2021-11-23 13:27:16][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:58820]
[2021-11-23 13:27:16][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "1c0ac81d-ecf2-09de-50f3-4f6bb671cab2", "source": "googlecast"}, "command": [{"cmd": "tts", "value": "Ceci est un test de message pour la commande Parle !", "vol": "#volume#"}]}
[2021-11-23 13:27:16][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:58820]
[2021-11-23 13:27:16][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-11-23 13:27:16][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2021-11-23 13:27:16][DEBUG] : SOCKET-READ------Attempt an action on a device
[2021-11-23 13:27:16][DEBUG] : SOCKET-READ------Action Thread Launched
[2021-11-23 13:27:16][DEBUG] : ACTION------ Device not connected !
[2021-11-23 13:27:16][DEBUG] : SENDER------Send to jeedom :  {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'nowplaying': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', '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': ''}}
[2021-11-23 13:27:17][DEBUG] : SENDER------Send to jeedom : {'devices': {'1c0ac81d-ecf2-09de-50f3-4f6bb671cab2': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'typemsg': 'error', 'status': {'uuid': '1c0ac81d-ecf2-09de-50f3-4f6bb671cab2', 'display_name': 'NOT CONNECTED', 'status_text': 'NOT CONNECTED'}}}}
[2021-11-23 13:27:31][DEBUG] : SCANNER------ Start scanning... (schedule)
[2021-11-23 13:27:31][DEBUG] :  MEMORY---- Total CPU time used : 1.902s (2.97%)  |  Last 62 sec : 0.486s (0.78%)  | Memory : 27 Mo
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Stopping zeroconf monitoring thread...
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Start zeroconf monitoring thread...
[2021-11-23 13:27:31][DEBUG] : Using selector: EpollSelector
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Chambre
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Chambre)
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salon
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salon)
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Maison
[2021-11-23 13:27:31][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Maison)
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salle de bain
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salle de bain)
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : en bas
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (en bas)
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : ChambreTV
[2021-11-23 13:27:32][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (ChambreTV)
[2021-11-23 13:27:32][INFO] : SCANNER------ Adding chromecast : Chambre
[2021-11-23 13:27:32][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:27:32][DEBUG] : Traceback (most recent call last):
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 107, in __init__
self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
File "/var/www/jeedom/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:28:33][DEBUG] : SCANNER------ Start scanning... (schedule)
[2021-11-23 13:28:33][DEBUG] :  MEMORY---- Total CPU time used : 2.325s (1.85%)  |  Last 62 sec : 0.423s (0.68%)  | Memory : 27 Mo
[2021-11-23 13:28:33][INFO] : SCANNER------ Adding chromecast : Chambre
[2021-11-23 13:28:33][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2021-11-23 13:28:33][DEBUG] : Traceback (most recent call last):
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
File "/var/www/jeedom/plugins/googlecast/resources/googlecast.py", line 107, in __init__
self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
File "/var/www/jeedom/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'

Un grand merci si vous avez une piste ! J’aimerais sincèrement basculer sur ce plugin.

Bonjour,

Lors d’une demande il est important de préciser la version de Linux et la version de jeedom.
Une copie de la page santé est le mieux, cela contient ces infos plus d’autres qui pourrait être utile.

1 « J'aime »

Bonjour,

avant même d’installer Jeedom, j’avais tenter de passer ma Raspbian sur une BullsEye …

Il s’agit d’un Jeedom 4.1.27, voici une capture de Santé

après avoir pas mal creusé, je me demande si le problème ne vient pas de la version de Python qui est pas supportée: 3.9.2

Merci pour votre aide

foire

Oui, il faut rester sous buster pour l’instant, plusieurs plugin n’ont soit pas encore été testé et validé soit sont connu pour ne pas être (encore) compatible.

Merci pour ta réponse.

J’ai tenté l’upgrade pour une autre raison avant de tester (et approuver) jeedom.

Mon utilisation de ce plugin était pour pouvoir caster des messages avec autre chose que le TTS de base.

Au final j’ai fait un appel de script qui génère le mp3 avec GoogleSpeech et appel Gcast pour le caster :sweat_smile:

J’ai trop anticipé, je me suis donc condamné à attendre.

Je ferme le post

Foire

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