How do I have Alexa speak to me with Google Cloud voice en-US-Neural2-D
If Alexa can’t speak it, what device can. and how do I implement it.
I installed Google Cloud Platform Google Cloud Platform - Home Assistant
to use Google Cloud Text-To-Speech.
My configuration.yaml:
# Text to speech
tts:
- platform: google_translate
- platform: google_cloud
key_file: GoogleCloud.json
language: en-US
gender: male
voice: en-US-Neural2-D
encoding: linear16
speed: 0.9
pitch: -2.5
gain: -5.0
text_type: text
profiles:
- telephony-class-application
- wearable-class-device
I created an Action in Automations with service: tts.google_cloud_say
service: tts.google_cloud_say
data:
cache: false
entity_id: media_player.william_s_office_echo_dot
message: test google cloud text to speech
I get this error from Alexa saying speech can only be called with the notify.alexa_media service
This is the error log:
This error originated from a custom integration.
Logger: custom_components.alexa_media.media_player
Source: custom_components/alexa_media/media_player.py:1324
Integration: Alexa Media Player (documentation, issues)
First occurred: 11:13:11 AM (2 occurrences)
Last logged: 11:14:51 AM
Sorry, text to speech can only be called with the notify.alexa_media service. Please see the alexa_media wiki for details.https://github.com/custom-components/alexa_media_player/wiki/Configuration%3A-Notification-Component#use-the-notifyalexa_media-service