Comments (13)
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.
Getting this also. Appears to accept the commend, but no sound out of the echo. Would appreciate some pointers.
from ha-alexa-tts.
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.
I have the same issue.
Edit: Created a new cookie and then it worked.
from ha-alexa-tts.
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.
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.
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.
Still no luck. :/
from ha-alexa-tts.
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.
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.
same for me: cookie stuff ok but no sound...
from ha-alexa-tts.
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.
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)
- Cookie Expired message. Getting captcha. HOT 6
- Cookies expired and no .alexa.login file HOT 1
- Alexa Sound effects? HOT 2
- Iheartradio support
- Italian language
- Volume command does not work anymore
- Is Spanish tts avaliable? HOT 5
- Hass.io implementa
- Hass.io Implementation Help HOT 2
- TTS not working?
- jq not found HOT 5
- Can't get the Wrapper to work in HASSIO HOT 3
- alexa_remote_control.sh -s <trackID> ???
- Works in Hassio until you reboot HOT 2
- Sending to ALL doesnt work.
- Cookie issues HOT 1
- Not pronoucing sensor values HOT 1
- "underscore" included in speaking HOT 2
- Examples for USE_ANNOUNCEMENT_FOR_SPEAK HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-alexa-tts.