bonjour,
je teste depuis quelque jour ghlocal, j’ai un pau galere pour l’identification google mais avec un mot de passe d’application, le probleme a ete reglé,
maintenant j’arrive a changer le volume de mes google, j’ai aussi la vision de mes périphérique bletooth
mais pour la lecture tts ou même lire un des mp3 du plugin, rien
j’ai cette erreur sur la lecture d’un fichier local
Usage: gtts-cli [OPTIONS]
Try 'gtts-cli -h' for help.
Error: Invalid value for '': or -f/--file required
et la pour un tts
Send sudo catt -d 192.168.1.54 "cast" -y "format=bestaudio" "http://127.0.0.1:80/plugins/ghlocal/resources/tts/321.mp3"
Usage: gtts-cli [OPTIONS]
Try 'gtts-cli -h' for help.
Error: Invalid value for '': or -f/--file required
jeedom 4.2.21, debian 11, VM Proxmox
lunarok
Septembre 26, 2022, 10:14
2
Il y a 2 lignes de log avant celle-ci
Bastien
Septembre 26, 2022, 12:32
3
c’est cette l’info que tu recherche
Generate TTS playTTS test google
[2022-09-26 14:30:10]DEBUG : TTS Cmd gtts-cli "" --lang fr --output /var/www/html/plugins/ghlocal/core/class/../../resources/localmedia/test google.mp3
[2022-09-26 14:30:10]DEBUG : Sons http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/bigben1.mp3|bigben1.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/bigben2.mp3|bigben2.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/house_firealarm.mp3|house_firealarm.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/railroad_crossing_bell.mp3|railroad_crossing_bell.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/submarine_diving.mp3|submarine_diving.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/tornado_siren.mp3|tornado_siren.mp3
[2022-09-26 14:30:10]DEBUG : TTS URL http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/test google.mp3
[2022-09-26 14:30:10]DEBUG : tvnotify playTTS test google
[2022-09-26 14:30:10]DEBUG : Pipup : Array ( [title] => test google [message] => [user_login] => Bastien [user_id] => 2 )
[2022-09-26 14:30:10]DEBUG : Pipup Cmd curl -X POST -s -H "Content-Type: application/json" -d '{"message":"","title":"test google"}' http://192.168.1.54:7979/notify
[2022-09-26 14:30:10]DEBUG : Pipup result :
[2022-09-26 14:30:10]DEBUG : Scan Info DND
[2022-09-26 14:30:10]DEBUG : Send https://192.168.1.54:8443/setup/assistant/notifications with body {} and token ****************
[2022-09-26 14:30:10]DEBUG : Result {"notifications_enabled":true}
[2022-09-26 14:30:10]DEBUG : Retrieve DND Array ( [notifications_enabled] => 1 )
[2022-09-26 14:30:10]DEBUG : Scan Info Volume
[2022-09-26 14:30:10]DEBUG : Send https://192.168.1.54:8443/setup/assistant/alarms/volume with body {} and token **********************
[2022-09-26 14:30:10]DEBUG : Result {"volume":0.6600000858306885}
[2022-09-26 14:30:10]DEBUG : Retrieve volume Array ( [volume] => 0.66000008583069 )
[2022-09-26 14:30:10]DEBUG : Scan Info Alarms
Tu n’as pas mis de texte à générer en tts vu ce log
Result
[2022-09-26 17:15:43]DEBUG : Start Scan
[2022-09-26 17:15:44]DEBUG : Generate TTS playTTS test google
[2022-09-26 17:15:44]DEBUG : TTS Cmd gtts-cli "" --lang fr --output /var/www/html/plugins/ghlocal/core/class/../../resources/localmedia/test google.mp3
[2022-09-26 17:15:44]DEBUG : Sons http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/bigben1.mp3|bigben1.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/bigben2.mp3|bigben2.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/house_firealarm.mp3|house_firealarm.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/railroad_crossing_bell.mp3|railroad_crossing_bell.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/submarine_diving.mp3|submarine_diving.mp3;http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/tornado_siren.mp3|tornado_siren.mp3
[2022-09-26 17:15:44]DEBUG : TTS URL http://127.0.0.1:80/plugins/ghlocal/resources/localmedia/test google.mp3
[2022-09-26 17:15:44]DEBUG : tvnotify playTTS test google
peut etre pas pris tout le log je viens de refaire un test on vois « [2022-09-26 17:15:44]DEBUG : Generate TTS playTTS test google »
y a un bug sur cette commande, tu pourras essayer la version beta de demain, sinon attendre la prochaine stable