J'avais bien relancé l'installation.
Dans le doute je viens de le refaire, passer en mode debug et voici le log (j'ai caché toute info sensible).
Je suis encore là jusque samedi (après absent une semaine), donc si besoin de tests d'ici là n'hésite pas
Code : Tout sélectionner
[2018-05-30 13:05:16][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:41849]
[2018-05-30 13:05:16][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"***","cmd":"action","device":{"uuid":"***","source":"googlecast"},"command":[{"cmd":"tts","value":"Coucou","engine":"gtts","speed":"0.8","forcetts":"1"}]}
[2018-05-30 13:05:16][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:41849]
[2018-05-30 13:05:16][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-05-30 13:05:16][DEBUG] : SOCKET-READ------Received command from jeedom : action
[2018-05-30 13:05:16][DEBUG] : SOCKET-READ------Attempt an action on a device
[2018-05-30 13:05:16][DEBUG] : SOCKET-READ------Action Thread Launched
[2018-05-30 13:05:16][DEBUG] : ACTION------ action - tts - 951c34b0-1c6d-4155-a9a2-4e35c8f961d3 - Coucou - media
[2018-05-30 13:05:16][DEBUG] : ACTION------TTS action
[2018-05-30 13:05:16][DEBUG] : CMD-TTS------Generating file
sox FAIL formats: no handler for file extension `mp3'
[2018-05-30 13:05:17][ERROR] : CMD-TTS------Exception while generating tts file : [Errno 2] No such file or directory: '/var/www/html/plugins/googlecast/tmp/41060d3ddfdf63e68fc2bf196f652ee9.mp3'
[2018-05-30 13:05:17][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 741, in get_tts_data
speech = AudioSegment.from_mp3(filenamemp3)
File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 702, in from_mp3
return cls.from_file(file, 'mp3', parameters)
File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 603, in from_file
file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
File "/var/www/html/plugins/googlecast/resources/pydub/utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/plugins/googlecast/tmp/41060d3ddfdf63e68fc2bf196f652ee9.mp3'
[2018-05-30 13:05:17][ERROR] : ACTION------Error while playing action tts on low level commands : local variable 'urltoplay' referenced before assignment
[2018-05-30 13:05:17][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 597, in action_handler
url,duration,mp3filename=get_tts_data(value, lang, engine, speed, forcetts, need_duration)
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 759, in get_tts_data
return urltoplay, duration_seconds, filenamemp3
UnboundLocalError: local variable 'urltoplay' referenced before assignment
[2018-05-30 13:05:17][DEBUG] : ACTION------Action tts not implemented !
[2018-05-30 13:05:17][DEBUG] : Detected changes in status of Maison
[2018-05-30 13:05:17][DEBUG] : SENDER------Send to jeedom : {'devices': {'***': {'lastOnline': 1527685501, 'status': {'is_active_input': False, 'volume_muted': False, 'friendly_name': 'Maison', 'uri': '***', 'title': None, 'app_id': None, 'player_state': 'UNKNOWN', 'artist': None, 'status_text': ' ', 'is_busy': False, 'stream_type': 'UNKNOWN', 'is_stand_by': False, 'series_title': None, 'volume_level': 62, 'display_name': '', 'uuid': '***'}, 'online': True, 'lastSent': 1527685517, 'lastOfflineSent': 0, 'options': {'ignore_CEC': '0'}, 'lastScan': 1527685506, 'uuid': '***'}}}