Yes I have just tried but no exit. Only works with amazon.com and amazon.com.mx but tts still not working. Alexa says he same error phrase
you probably have the same problem as the italian users.
in the alexa app in routines can you make it that she speaks a custom text?
if not, then TTS is not going to work.
I cannot set a custom text to make Alexa speak with routines, so what does it means?
I think @ReneTode is right. From Alexa wiki page I can see that Echo devices have same availability start date for Italy and Spain so we may have same problem on TTS: we don’t have (yet) custom text speaks in routines
that you cant use tts in italian
Hello!
I had the same problem but finally it was easy: Use media_player.alexa_tts instead google_tts
Try with this script:
alexa_habla:
alias: Alexa Habla Test
sequence:
- service: media_player.alexa_tts
data:
entity_id: media_player.name_of_your_echo
message: “Hola. Probando. Uno dos tres.”
And your Echo should speak Spanish with this.
Good luck!
(I use amazon.es)
Hi.
Yes, I am using tts in Spanish with Spanish account @Nerkyator
Here configuration.yaml:
media_player:
- platform: alexa
email: “[email protected]”
password: “password”
url: “amazon.es”
But it does not work from the media player box in Home Assistant. But if you use madia_player.alexa_tts it works.
You can test quickly with this:
Go to Events http://192.168.0.X:8123/dev-event
Event type:
media_paplayer.alexa_tts
Event data:
{“entity_id”: “media_player.your_echo”, “message”: “Hola que tal probando uno dos tres cuatro hola hola que tal”}
Best regards
Hmmm i tried with italian language but it doesn’t work!
Can you tell me why i always get these errors?
2018-11-29 14:40:02 ERROR (Thread-13) [custom_components.media_player.alexa] An error occured accessing the API: An exception of type ConnectionError occurred. Arguments:
(ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')),)
2018-11-29 14:40:02 ERROR (Thread-13) [custom_components.media_player.alexa] An error occured accessing the API: An exception of type AttributeError occurred. Arguments:
("'NoneType' object has no attribute 'json'",)
I already tried but with no success… if you get it working please let me know…
More, did you get the errors i put in my previous message?
Do you know how to get again the request of the token ? I never got that when configuring the media player
Yep! Just checked your error and seems that something somewhere returns None instead a value where to extract json object.
I will try on my HA when at home and I’ll let you know!
Maybe it can depend from the never requested token at first time the media player was configured?
How to get again that request?
Good luck! Let me know
@mauizio53: Sorry to hear that. You can see the Alexas as media players in Home Assistant, right?
Yes, i have two alexa media players, echo plus and spot
Pfff I don’t know… Try to restart.
By the way, I had to put the captcha right now for first time after first install (few weeks ago)
How did you got the request for the token?
I’m pretty sure the access has to be re-verified every so often.
I’ve had to do it a couple of times since I first installed this. Just had to do it 20 minutes ago in fact. That’s only the second time so far.