Bonjour,
J’utilise le plugin GoogleCast avec mes différents appareils Google Home depuis plusieurs semaines, sans problème. Je ne sais pas trop ce que j’ai pu faire aujourd’hui, mais je ne peux plus envoyer de notifications, ni faire parler l’ensemble de mes appareils Google Home via GoogleCast.
Par contre, j’arrive bien à lancer une radio via le plugin.
Dès que j’envoie une notification, j’ai un simple son de notification qui sort, mais pas le mp3 que j’ai demandé. Pareil si j’essaie de faire parler Google.
Ce matin, j’ai redémarré ma box internet, puis installé le plugin Android TV (en béta). C’est un peu plus tard que je me suis rendu compte que les notifications ne fonctionnaient plus. J’ai depuis supprimé le plugin Android TV, réinstallé les dépendances de GoogleCast, redémarré les GoogleHome, mais rien n’y fait. J’ai même essayé avec une nouvelle clé Google.
Voici mes logs concernant la notification « bigben1 », sur mon appareil nommé Google Home Bureau:
[2020-12-29 14:28:14][INFO] : Process stopped !
[2020-12-29 14:28:16][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/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 xxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://JEEDOM --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxx --gcttsvoice fr-FR-Standard-A --ttsdefaultrestoretime 1300 --ttsdefaultsilenceduration 300 --daemonname local --cyclefactor 0.5 --defaultstatus ' '
[2020-12-29 14:28:18][DEBUG] : This is a message from googlecast program local
[2020-12-29 14:28:18][INFO] : Process started. Sending known devices now...
[2020-12-29 14:28:36][DEBUG] : Envoi de la commande [cmd=notif|value=bigben1.mp3|vol=40] depuis Jeedom
[2020-12-29 14:28:22][DEBUG] : Thread started...
[2020-12-29 14:28:22][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Télé Chambre
[2020-12-29 14:28:22][DEBUG] : SCANNER------No connection to device 030f8d85-1f82-b91e-cc43-15116a7d7a2d
[2020-12-29 14:28:22][DEBUG] : SENDER------Send to jeedom : {'devices': {'030f8d85-1f82-b91e-cc43-15116a7d7a2d': {'uuid': '030f8d85-1f82-b91e-cc43-15116a7d7a2d', 'status': {'uuid': '030f8d85-1f82-b91e-cc43-15116a7d7a2d', 'is_stand_by': False, 'is_active_input': False, 'display_name': '', 'status_text': ' ', 'app_id': '', 'icon_url': '', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': '', 'player_state': ''}, 'typemsg': 'info', 'lastOnline': 0, 'online': False, 'lastSent': 1609248502, 'lastOfflineSent': 1609248502, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}}}
[2020-12-29 14:28:22][DEBUG] : SCANNER------No connection to device 850fea87-0df0-c5fd-c851-641927fcfee8
[2020-12-29 14:28:22][DEBUG] : SENDER------Send to jeedom : {'devices': {'850fea87-0df0-c5fd-c851-641927fcfee8': {'uuid': '850fea87-0df0-c5fd-c851-641927fcfee8', 'status': {'uuid': '850fea87-0df0-c5fd-c851-641927fcfee8', 'is_stand_by': False, 'is_active_input': False, 'display_name': '', 'status_text': ' ', 'app_id': '', 'icon_url': '', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': '', 'player_state': ''}, 'typemsg': 'info', 'lastOnline': 0, 'online': False, 'lastSent': 1609248502, 'lastOfflineSent': 1609248502, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}}}
[2020-12-29 14:28:22][DEBUG] : SENDER------Send to jeedom : {'devices': {'1343d730-3297-62db-ed81-96dd7a48a2ef': {'uuid': '1343d730-3297-62db-ed81-96dd7a48a2ef', 'status': {'uuid': '1343d730-3297-62db-ed81-96dd7a48a2ef', 'uri': '192.168.1.5:8009', 'friendly_name': 'Google Home Salon', 'is_active_input': False, 'is_stand_by': True, 'volume_level': 20, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248501, 'online': True, 'lastSent': 1609248502, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}, 'e49cfbf9-8da4-0e2c-a6b2-da1b9247e229': {'uuid': 'e49cfbf9-8da4-0e2c-a6b2-da1b9247e229', 'status': {'uuid': 'e49cfbf9-8da4-0e2c-a6b2-da1b9247e229', 'uri': '192.168.1.8:8009', 'friendly_name': 'Google Home Chambre', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 20, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248502, 'online': True, 'lastSent': 1609248502, 'lastOfflineSent': 1609248499, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}, 'b20baaf0-5c06-6d39-35f0-654623b1899c': {'uuid': 'b20baaf0-5c06-6d39-35f0-654623b1899c', 'status': {'uuid': 'b20baaf0-5c06-6d39-35f0-654623b1899c', 'uri': '192.168.1.6:8009', 'friendly_name': 'Google Home Entrée', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 20, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248502, 'online': True, 'lastSent': 1609248502, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}, '249c6e7e-143d-72fe-ee22-afcdb4dee076': {'uuid': '249c6e7e-143d-72fe-ee22-afcdb4dee076', 'status': {'uuid': '249c6e7e-143d-72fe-ee22-afcdb4dee076', 'uri': '192.168.1.214:8009', 'friendly_name': 'Télé Chambre', 'is_active_input': False, 'is_stand_by': True, 'volume_level': 50, 'volume_muted': False, 'app_id': 'E8C28D3C', 'icon_url': '', 'display_name': 'Backdrop', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248502, 'online': True, 'lastSent': 1609248502, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}}}
[2020-12-29 14:28:33][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55280]
[2020-12-29 14:28:33][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "nowplaying", "uuid": "b68e6bde-2ef8-a92e-f177-aba5bf75a2c0"}
[2020-12-29 14:28:33][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55280]
[2020-12-29 14:28:33][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-12-29 14:28:33][DEBUG] : SOCKET-READ------Received command from jeedom : nowplaying
[2020-12-29 14:28:33][DEBUG] : SOCKET-READ------Now playing activated for b68e6bde-2ef8-a92e-f177-aba5bf75a2c0
[2020-12-29 14:28:33][DEBUG] : JEEDOMCHROMECAST------ Starting monitoring of b68e6bde-2ef8-a92e-f177-aba5bf75a2c0
[2020-12-29 14:28:33][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 30, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'UNKNOWN', 'track': None, 'player_state': 'UNKNOWN', 'supported_media_commands': 0, 'supports_pause': False, 'duration': None, 'content_type': None, 'idle_reason': None}}
[2020-12-29 14:28:36][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55288]
[2020-12-29 14:28:36][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "b68e6bde-2ef8-a92e-f177-aba5bf75a2c0", "source": "googlecast"}, "command": [{"cmd": "notif", "value": "bigben1.mp3", "vol": "40"}]}
[2020-12-29 14:28:36][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55288]
[2020-12-29 14:28:36][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-12-29 14:28:36][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2020-12-29 14:28:36][DEBUG] : SOCKET-READ------Attempt an action on a device
[2020-12-29 14:28:36][DEBUG] : SOCKET-READ------Action Thread Launched
[2020-12-29 14:28:36][DEBUG] : ACTION------ action - notif - b68e6bde-2ef8-a92e-f177-aba5bf75a2c0 - bigben1.mp3 - none
[2020-12-29 14:28:36][DEBUG] : ACTION------NOTIF action
[2020-12-29 14:28:37][DEBUG] : CMD-NOTIF------NOTIF debug : http://JEEDOM/plugins/googlecast/localmedia/bigben1.mp3, duration: 21.864489795918367
[2020-12-29 14:28:37][DEBUG] : JEEDOMCHROMECAST------ Initiating player urn:x-cast:com.google.cast.media
[2020-12-29 14:28:37][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Groupe Maison
[2020-12-29 14:28:37][DEBUG] : SENDER------Send to jeedom : {'uuid': '06ae4db5-ba6f-4e72-9c16-0aaa52495571', 'nowplaying': {'uuid': '06ae4db5-ba6f-4e72-9c16-0aaa52495571', 'online': True, 'friendly_name': 'Groupe Maison', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 29, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'UNKNOWN', 'track': None, 'player_state': 'UNKNOWN', 'supported_media_commands': 0, 'supports_pause': False, 'duration': None, 'content_type': None, 'idle_reason': None}}
[2020-12-29 14:28:37][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Groupe séjour
[2020-12-29 14:28:37][DEBUG] : SENDER------Send to jeedom : {'uuid': '257a551c-2eae-448d-b4c1-f33bee0e5a2d', 'nowplaying': {'uuid': '257a551c-2eae-448d-b4c1-f33bee0e5a2d', 'online': True, 'friendly_name': 'Groupe séjour', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 28, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'UNKNOWN', 'track': None, 'player_state': 'UNKNOWN', 'supported_media_commands': 0, 'supports_pause': False, 'duration': None, 'content_type': None, 'idle_reason': None}}
[2020-12-29 14:28:38][DEBUG] : SENDER------Send to jeedom : {'devices': {'06ae4db5-ba6f-4e72-9c16-0aaa52495571': {'uuid': '06ae4db5-ba6f-4e72-9c16-0aaa52495571', 'status': {'uuid': '06ae4db5-ba6f-4e72-9c16-0aaa52495571', 'uri': '192.168.1.6:32232', 'friendly_name': 'Groupe Maison', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 29, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248499, 'online': True, 'lastSent': 1609248517, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}, '257a551c-2eae-448d-b4c1-f33bee0e5a2d': {'uuid': '257a551c-2eae-448d-b4c1-f33bee0e5a2d', 'status': {'uuid': '257a551c-2eae-448d-b4c1-f33bee0e5a2d', 'uri': '192.168.1.210:32154', 'friendly_name': 'Groupe séjour', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 28, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1609248499, 'online': True, 'lastSent': 1609248517, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}}}
[2020-12-29 14:28:38][DEBUG] : JEEDOMCHROMECAST------ Manage previous status : Removing previous playercmd!
[2020-12-29 14:28:38][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Google Home Bureau
[2020-12-29 14:28:38][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Casting: NOTIF', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': None}}
[2020-12-29 14:28:38][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'title': 'NOTIF', 'artist': '', 'series_title': '', 'player_state': 'IDLE'}
[2020-12-29 14:28:38][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Casting: NOTIF', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
[2020-12-29 14:28:38][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Google Home Bureau
[2020-12-29 14:28:38][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
[2020-12-29 14:28:38][DEBUG] : SENDER------Send to jeedom : {'devices': {'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'status': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'uri': '192.168.1.7:8009', 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'artist': '', 'series_title': '', 'stream_type': 'LIVE', 'player_state': 'IDLE'}, 'typemsg': 'info', 'lastOnline': 1609248499, 'online': True, 'lastSent': 1609248518, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1609248502}}}
[2020-12-29 14:28:46][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat for b68e6bde-2ef8-a92e-f177-aba5bf75a2c0 in seconds : 8
[2020-12-29 14:28:46][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
[2020-12-29 14:28:50][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat for b68e6bde-2ef8-a92e-f177-aba5bf75a2c0 in seconds : 12
[2020-12-29 14:28:50][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
[2020-12-29 14:28:53][DEBUG] : SCANNER------ Start scanning... (schedule)
[2020-12-29 14:28:53][DEBUG] : MEMORY---- Total CPU time used : 3.300s (9.43%) | Last 33 sec : 1.218s (3.69%) | Memory : 53 Mo
[2020-12-29 14:28:53][DEBUG] : ZEROCONF------ Stopping zeroconf monitoring thread...
[2020-12-29 14:28:54][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat for b68e6bde-2ef8-a92e-f177-aba5bf75a2c0 in seconds : 16
[2020-12-29 14:28:54][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
[2020-12-29 14:28:58][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING heartbeat for b68e6bde-2ef8-a92e-f177-aba5bf75a2c0 in seconds : 20
[2020-12-29 14:28:58][DEBUG] : SENDER------Send to jeedom : {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'nowplaying': {'uuid': 'b68e6bde-2ef8-a92e-f177-aba5bf75a2c0', 'online': True, 'friendly_name': 'Google Home Bureau', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 40, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': 'NOTIF', 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': 'http://JEEDOM/plugins/googlecast/desktop/images/notif.png', 'stream_type': 'LIVE', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 274447, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}
Launch install of googlecast dependancies
-- Current OS version :
Description: Raspbian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.0 MB in 13s (1000 kB/s)
Reading package lists...
-- Installation of python3 and dependancies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
python-dev is already the newest version (2.7.16-1).
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
-- Installed version of Python :
Python 3.7.3
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...
python-requests is already the newest version (2.21.0-1).
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
-- Installation of audio sox library
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.2+git20190427-1).
0 upgraded, 0 newly installed, 0 to remove and 98 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-3).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:4.1.6-1~deb10u1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
-- Upgrade setuptools with command pip3 if not up to date
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.7/dist-packages (50.3.2)
-- Installed version of pip :
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
-- Installation of python library 'requests' with command pip3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (2.21.0)
-- Installation of python library 'protobuf' with command pip3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.7/dist-packages (3.14.0)
Requirement already satisfied: six>=1.9 in /usr/lib/python3/dist-packages (from protobuf>=3.11.0) (1.12.0)
-- Installation of python library 'zeroconf' with command pip3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.28.6)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.1.7)
-- Installation of python library 'click, bs4 and six' for TTS with command pip3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: click in /usr/lib/python3/dist-packages (7.0)
Requirement already satisfied: bs4 in /usr/local/lib/python3.7/dist-packages (0.0.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (1.12.0)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from bs4) (4.7.1)
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (4.51.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (0.57.0)
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from websocket-client) (1.12.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from casttube) (2.21.0)
-- Installation of dependencies is done !
Merci pour votre aide…
Cordialement,
Philippe