Giter VIP home page Giter VIP logo

Comments (13)

ooii avatar ooii commented on August 22, 2024 1

Hi,

I succeeded to log in and get the list of connected devices. But when I run a test, I have the following result:

sending cmd:speak:This_is_a_test to dev:Salon type:A7WXQPH584YP serial:G090RF048XXXXXXX customerid:A1A0581XXXXXXX
Sequence command: Alexa.Speak

Is the script still working or am I doing something wrong?

from ha-alexa-tts.

AdminGSUK avatar AdminGSUK commented on August 22, 2024

Getting this also. Appears to accept the commend, but no sound out of the echo. Would appreciate some pointers.

from ha-alexa-tts.

borisfeldman avatar borisfeldman commented on August 22, 2024

I get exactly the same.

For me, just using the password didn't work. So I used the "Export Cookies" extension in Firefox to save the amazon.com cookies and that seems to have resolved the login issue.

Now "./alexa_remote_control.sh -a" works fine and lists out my Echo devices.

But any other commands don't generate sound. I get the same output as @QuadDepo

from ha-alexa-tts.

ACrazyConcept avatar ACrazyConcept commented on August 22, 2024

I have the same issue.

Edit: Created a new cookie and then it worked.

from ha-alexa-tts.

borisfeldman avatar borisfeldman commented on August 22, 2024

UPDATE: It works for me now.

After seeing @ACrazyConcept's note, I tried again and it still didn't work. Same error message.

Then I re-read the directions and realized that I had gone to http://amazon.com when the right URL to get the cookies from is http://alexa.amazon.com.

from ha-alexa-tts.

QuadDepo avatar QuadDepo commented on August 22, 2024

Have been redoing the steps for around 4 times now but still no success :(

Good to hear your guys are making it work.

What kind of browser are you using? and how are you loading in the alexa.amazon.com website?

from ha-alexa-tts.

borisfeldman avatar borisfeldman commented on August 22, 2024

I used a new install of Firefox with the Export Cookies extension.

Went to alexa.amazon.com and exported the cookies for “amazon.com” (one of the options) which included a couple of alexa.amazon.com entries.

I then transferred the file to my Ubuntu VM and copied it to /tmp/.alexa.cookie

from ha-alexa-tts.

QuadDepo avatar QuadDepo commented on August 22, 2024

Still no luck. :/

from ha-alexa-tts.

AdminGSUK avatar AdminGSUK commented on August 22, 2024

Got mine working now. I couldn't get the cookie right because Firefox kept crashing. Used Firefox on another machine and went to alexa.amazon.co.uk. Copied the cookie to the Raspberry PI and now all working.

from ha-alexa-tts.

QuadDepo avatar QuadDepo commented on August 22, 2024

Made a mutli-room group in the Alexa app and tried deleting it using the CLI and also this is not working :(

response:

pi@hassbian:/home/homeassistant/.homeassistant/alexa_tts/ha-alexa-tts $ ./alexa_remote_control.sh -m "Everywhere"
HTTP/1.1 0 x-amzn-RequestId: 7b1232ef-****-11e9-9e73-db6c4ed5cbbf
Access-Control-Allow-Origin: https://alexa.amazon.com
Content-Encoding: deflate
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Wed, 02 Jan 2019 20:46:29 GMT
Connection: close

from ha-alexa-tts.

darrepac avatar darrepac commented on August 22, 2024

same for me: cookie stuff ok but no sound...

from ha-alexa-tts.

rtoralba1123 avatar rtoralba1123 commented on August 22, 2024

I was able to run the ./alexa_remote.sh to all device and play the weather but it wouldn't make a sound with speak

root@hassio:/usr/share/hassio/homeassistant# ./alexa_remote_control.sh -d "Echo1" -e speak:this_is_a_text
sending cmd:speak:this_is_a_text to dev:Echo1 type:REDACTED serial:REDACTED customerid:REDACTED
Sequence command: Alexa.Speak
HTTP/1.1 0 x-amzn-RequestId: 36b73799-4a65-11e9-a46c-a786a1d0b0cf
x-amzn-alt-domain: https://alexa.amazon.ca/logout
Access-Control-Allow-Origin: https://alexa.amazon.com
Content-Encoding: deflate
Vary: Origin
Access-Control-Expose-Headers: x-amzn-dat-gui-client-upgrade,X-Amzn-Error,loginUrl,X-Amzn-RequestId,x-amzn-alt-domain,Date,Location
Access-Control-Allow-Credentials: true
Date: Tue, 19 Mar 2019 16:36:57 GMT
Connection: close

what other component i need to install - pyhton - looking on the alexa_wrapper.sh file it has this path
PATH=/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/$
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

Any advise ? thanks a lot

from ha-alexa-tts.

regisleclerc avatar regisleclerc commented on August 22, 2024

If it helps, I had the same issue, I used firefox (instead of chrome initially) to get cookies' content, it solved the issue !

from ha-alexa-tts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.