-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speech not working #148
Comments
Hello Themaaft, for me all is working as before. I once had similar issue when the Echo was set to volume zero. You can make a test by playing some music and issueing the speak command while music is running. If volume of music is reduced or not gives you some additional information to think about when looking for the root cause. You can also test to replace speak by -e textcommand:'anything you would otherwise say to Alexa'. I used this some time ago as a workaround. Some days later, original command was working again for no known reason. Regards, |
Hi Horst, Thanks for the reply. Ive just tested what you said and no drop in volume when i try the speak command when music playing. also the other command "textcommand" doesnt do anything either, very odd. maybe in a few days it will work again? Thanks |
Hello Themaaft, yeah strange. Do you have more than one Echo? Same issue on another one? You could also try to disconnect the Echo from power and re-connect it and retry if you didn't do that already. Regards, |
Hi, yes tried them all, same result and yea did the power off/on trick, no jou :( i shall try again in few days Thanks |
@themaaft you could try setting your curl options to Another option would be to remove anything .alexa* in your temp folder and start over. |
The plot thickens... if i remove all the .alexa files from temp dir i of course get the expected error: so i re do the cookies file and with the verbose curl flag set the last message is: (i do get a few http/200 messages but the last message is a 401)
so a 401 error occurs, this happens if i do it on a completely fresh machine too |
What do you mean by so i re do the cookies file? I created a new login method similar to the Alexa app. For this to work you'll need a REFRESH_TOKEN. You can read more here https://blog.loetzimmer.de/2021/09/alexa-remote-control-shell-script.html |
I used to manually get the cookies file from my browser extension and paste it as .alexa.cookie worked fine for a long time ive just setup a new VM and downloaded the latest alexa_remote_control.sh (made changes to my local language etc) and i also downloaded and ran the Alexa-Cookie retrieval and got the output, pasted that into the alexa_remote_control.sh file, seems to work as far as list all devices etc, so thats all good, but still nothing like, textcommand, speak, get current volume etc. i do however get a http/200 where as before it was a http/401 but still not working, i dont know what has happened as ive changed nothing on my amazon/alexa account nor made any changed to my stuff at home. so at a loss as to why the commands no longer work :( |
At least you won't have to copy+paste your .alexa.cookie anymore once we get it working :) Are you able to login to https://alexa.amazon.co.uk/ in your browser? Could you please verify in the developer console that API calls actually use Strange thing is that your devices get loaded from Either we're using a wrong endpoint or the syntax is wrong. What do you get when you run |
Hi i can login to https://alexa.amazon.co.uk/ fine :) im not sure how to find the bit you are after in the developer console? output of alexa_remote_control.sh -q is: setting default device to: Mancave i dont understand why it says not connected/initilaised? the device (as all of my alexa) is working fine, when i ask it stuff Thanks |
Well i managaed to get it to work, no idea why this worked tho... so i changed SET_ALEXA='alexa.amazon.co.uk' to SET_ALEXA='alexa.amazon.com' ran the command alexa_remote_control.sh -q and got "ERROR: no CSRF cookie received" i changed SET_ALEXA back to SET_ALEXA='alexa.amazon.co.uk' and re ran the command and now it all works??? totally confused, but please it now works |
I am pretty sure you now have a cookie which you didn't receive correctly from amazon.co.uk.
|
I have a similar issue. Commands like -r and -a are working but not speak:XXX. I am using the latest alexa_remove_control script and the new recommended authentication method. |
As I wrote in October, this is probably due to some missing cookie. |
Hi,
This used to work up until 2 days ago:
alexa_remote_control.sh -d "Dot1" -e speak:"test"
now when i do it i get a responce:
sending cmd:speak:test to dev:Dot1 type:XXXXXX serial:XXXXXX customerid:XXXXXX
(ive removed the type/serial/customerid)
other command such as list devices and lastcommand work fine so it can see my alexa devices, just cant get text to speech, nothing changed on my side so unsire why it suddenly stopped.
Thanks
The text was updated successfully, but these errors were encountered: