Alexa Announce Feature - Text to Speach via Alexa now a possability?

hi ReneTode

moving from one problem to another I am affraid.
Now I got past the cookie part
if I try the command ./alexa_remote_control.sh -d “Living Room Echo” -e speak:Hello , it promts all the data in my putty connection, showing device id etc…m but no sound on the device itself

if you are using Raidolo’s build make sure you edit the /alexa_remote_control.sh file and change all location based stuff to your location. He has it set to italian, also chmod 777 your cookie file

i would try

-e "speak:‘hello’ "

other then that i can only say, go through this whole topic, and see which of the possible problems is the one thats yours :wink:

will have to further read this tread, but now it works,sometimes,

1 Like

@ReneTode - as I am running Hassio, should I run the .alexa_remote_control_plain.sh script as I read in some post in the tread?
I really would like to this to get going stable - I would like to stay with Alexa i.o. moving to google home
I think the condition I am now in is actually worse then before…before it was not working, period.
Now it is sometimes working and sometimes not working.

then you need to try to find out what you do different in the moments that it isnt working.
but it is very well possible that a slow connection, makes that the call is timed out.
first step that i would take is look into the alexa app history, to see if your commands all come through.

there are several things around.
plain (which is i think nothing more then the original) which is just a linux executable.
something that is adapted for connecting to HA, which i believe has special output
the alexa_mediaplayer component.

i just use the plain. because i like to tinker
if you only want tts and not things like starting the weatherreport i suggest you start using the media_player component. if installed correct it seems a bit more reliable and more easy to use.

Were you ever able to get the cookie generator working? I’m not even sure of the steps to follow. :frowning:
I am using amazon.com. last message I saw from you, was that you were having issues with .de

I we could get this working, this script would be perfect.

i think you might get it working, but in my case it kept telling me that it couldnt login to some amazon.com pages.

edit: i found a workaround that is working for me now.
i’m sure its at least 2 weeks, so i get a warning now when i need to renew, and i have a sensor showing me if the cookie is still there.

No rush, I’m out of town for work at the moment. But when you have some time would you mind sharing what you’ve done to automate the cookie process?

pm me or contact me on discord when you got time and we will see if we can get it working for you.

1 Like

Should the other readers all PM you too? :slight_smile: If you can share what you have here, more people can benefit from it. …including those of us thinking “is this still a problem stopping me from getting an Alexa, or is this actually solved?”

Please share !

i already shared and didnt succeed.
that doesnt mean that i cant try to get someone using another environment then me to get it up and running.
if i can help him and he will get it working, he for sure will share what we did get done.

and for those who are trying to decide if there should be a reason to buy an alexa?
if you think that this is what you need for you to buy it, then dont.

TTS is possible with this or with the mediaplayer component, but however you look at it, its a hack and not an official amazon supported feature.
all that is possible now with this hack or the mediaplayer component can be gone tommorow when amazon changes stuff! and you wont even be able to complain about it, because its nothing more then a hack!

if you dont mind that, then please spend a few bucks (wait for the next sale and you get it almost for free) and hack away. but dont expect anything presented on a platter. join in on the hacking.

satisfied @chickenandporn

i See you miss the point. Sharing involves giving, and some vulnerability. It lets others take what you have and move it a step further.

To understand latency a bit better, send me a PM.

try giving as much as i do, and you can talk about it.
untill then please dont try to tell me what i should do, and that i should give and or share.

if you want to know what i have, and try to move it a step further, then read back!!

this is the last thing ill say here about this to avoid polluting this topic anymore.
if you think you have anything usefull to say about my sharing, then you can PM me.

I’m not sure when this became a competition (“as much as I do”); I’m sorry if I offended you or presented a competition.

In general, sharing content directly (as you’d see in StackExchange answers, GitHub, etc) is more helpful to those people searching late at night looking for a solution or idea independently rather than the latency of a PM and reply. I’m not sure how much it matters what you’ve done than what you’re doing, but if you’re beyond advice in this regard, then so be it, I regret the optimism in trying to share lessons of my own failures.

Again, you imply you’ve been doing this a very long time. I defer to your experience in this regard. If there’s a way to officially apologize for this competition I’ve erroneously entered, please let me know.

someone knows if it is possible with the script to add a delay between sentences as described here?

nope, isnt possible.
the scripts is using the alexa skill “simon say” which alexa also has included in its routines.

and there is no relation between that, and what you can do with self created intents.
its just a reapeat from what is send there.

i noticed that they already made responses better based on , and .
but even that was unexpected. so all we can hope is that the skill in the future will be even more expanded.

1 Like

There is an issue with the script - it uses a regexp to replace punctuation.
This is being resolved in later versions by writing out post data into a temp file to avoid json issues the regexp was in place to solve, or you can hack the speak park of the script to add the full stop into the regular expression remembering to escape “.”, which doesn’t seem to cause any issues.

Note also 10.1 (10 point 1) would read 101 with the version of the script with the issue.

Having said that - you can add a sentence ‘pause’ without changing the script yourself with a hyphen ‘-’.

1 Like

Thank you both

This may sound silly, but how does one go about ‘exposing’ a script to alexa? When I do a search for ‘expose’ lots of entries come up but none on how to do it. I am using hass.io 0.88.1 with custom comonents/alexa/media_player.py version 0.10.2. I create a script in HA but the Alexa App does not see it, I assume because it is not exposed. I see people have created scripts ‘filtered’ but I think that is the default. Yet, I can find no instructions on how to expose a script unless it has something to do with other versions of alexa_tts.
This may be a noob question but searching has yielded nothing so far.

Bart