[Plugin Tiers][Sujet Principal] Google Cast

Bonjour,

Quelqu’un a t-il trouvé une solution pour le stream dashcast qui se coupe tout seul sans changer de statut ?
Pour l’instant j’ai toujours mon scénario qui relance le cast tous les 5 minutes mais je trouve ça vraiment pas terrible…

Un message a été scindé en un nouveau sujet : Impossible de faire fonctionner le TTS avec Pico

Salutations et spécial dédicace à Guirem, ce plugin donne de la valeur à Jeedom… !

Une petite question néanmoins. (Je suis sur Jeedom v4 et plugin installé parfaitement appareils reconnus etc.)

Y a t il un tuto qqpart pour comprendre la logique pour connecter un equipement jeedom à google home afin d’avoir un controle vocal dessus?

Exemple, j’ai une fibaro walli qui allume une lumiére Z.
Comment faire un « ok google allume la lumière Z » ?

Bonjour,

J’ai remarqué que le TTS ne fonctionne plus depuis un certain temps.

[2020-09-13 17:50:26][DEBUG] : ACTION------ action - tts - 93b1f478-0a2a-04ec-eaa7-2ec3532b82ee - Coucou - none
[2020-09-13 17:50:26][DEBUG] : ACTION------TTS action
[2020-09-13 17:50:26][DEBUG] : CMD-TTS------TTS Filename hexdigest : ee014f261bbc00073883743e20e078c4  (Coucougttsfr-FR300)
[2020-09-13 17:50:26][DEBUG] : CMD-TTS------Generating file
sox FAIL formats: no handler for file extension `mp3'
[2020-09-13 17:50:28][ERROR] : CMD-TTS------Google Translate API : Cannot connect to API - failover to picotts  ([Errno 2] No such file or directory: '/var/www/html/plugins/googlecast/tmp/ee014f261bbc00073883743e20e078c4.mp3')
[2020-09-13 17:50:28][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1634, in get_tts_data
    speech = AudioSegment.from_mp3(filenamemp3)
  File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 728, in from_mp3
    return cls.from_file(file, 'mp3', parameters=parameters)
  File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 615, in from_file
    file, close_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/ee014f261bbc00073883743e20e078c4.mp3'

sh: 1: pico2wave: not found
[2020-09-13 17:50:28][ERROR] : CMD-TTS------Exception while generating tts file : [Errno 2] No such file or directory: '/var/www/html/plugins/googlecast/tmp/ee014f261bbc00073883743e20e078c4_failover.wav'
[2020-09-13 17:50:28][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1742, in get_tts_data
    speech = AudioSegment.from_wav(filename)
  File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 740, in from_wav
    return cls.from_file(file, 'wav', parameters=parameters)
  File "/var/www/html/plugins/googlecast/resources/pydub/audio_segment.py", line 615, in from_file
    file, close_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/ee014f261bbc00073883743e20e078c4_failover.wav'

[2020-09-13 17:50:28][DEBUG] : TTS------File generation failed !

Une idée ?

Le plugin Google Cast est à jour.
Version de Jeedom: 3.3.53

Une question = un sujet

Une question = un sujet