Comments (10)
Your line endings might be wrong if created the cookies.txt file on Windows. You also don't need to disable javascript if you are using the cookies.txt extension. The easiest way to transfe over the cookies might to be just login via SSH as your Home Assistant user and paste it in.
vi /tmp/.alexa.cookie
:set paste
i
CTRL+V
:wq
from ha-alexa-tts.
I permanently get the message:
"cookie expired, logging in again ..."
and after a short wait I get the captcha message again.
I don't mean to harangue in any way but are we sure this is still working and Amazon hasn't found a way to block it?
from ha-alexa-tts.
Are you using hass.io by chance? I am using hass.io on a VM, and while I can get it to authenticate correctly on the VM, in the hass.io home-assistant docker I consistently get that error as well.
from ha-alexa-tts.
@angel12 no I am using the hassbian based installation.
from ha-alexa-tts.
It is still working for other people, though the automatic logon does not seem to work for anyone in the United States -- However the cookie work around should work if properly formatted.
from ha-alexa-tts.
My vi seems to have some kind of bug when I am pasting - I googled the specific error didn't get much sense out of it , but as it turns out the only option I have is transfer the file via windows , move it , rename it and use it like that.
If you think that this is destroying the formatting (line endings) is there some way I could manually edit the file to fix it ?
from ha-alexa-tts.
Yes, just download the sublime text editor. Paste the cookies into a new file in sublime and select UNIX line endings from the view menu. Then transfer that file via your normal method and you should be fine.
from ha-alexa-tts.
@walthowd should the file be looking like a JSON?
from ha-alexa-tts.
No, it should look like this:
# HTTP Cookie File for github.com by Genuinous @genuinous.
# To download cookies for this tab click here, or download all cookies.
# Usage Examples:
# 1) wget -x --load-cookies cookies.txt "https://github.com/walthowd/ha-alexa-tts/issues/11#issuecomment-405049008"
# 2) curl --cookie cookies.txt "https://github.com/walthowd/ha-alexa-tts/issues/11#issuecomment-405049008"
# 3) aria2c --load-cookies cookies.txt "https://github.com/walthowd/ha-alexa-tts/issues/11#issuecomment-405049008"
#
.github.com TRUE / FALSE 1551041082 _octo GH1.1.1934983367.1487969082
.github.com TRUE / TRUE 2144424807 logged_in yes
.github.com TRUE / TRUE 2144424807 dotcom_user walthowd
.github.com TRUE / FALSE 1594820131 _ga GA1.2.157129354.1423242299
github.com FALSE / TRUE 1532957732 user_session CE4fnFaHnnf-5Nworkitworkitm-1eqHX
github.com FALSE / TRUE 1532957732 __Host-user_session_same_site CD4fnBaHnMf-kjhasdiuasdknjasd-1eqHX
github.com FALSE / TRUE 0 tz America%2FChicago
gist.github.com FALSE / TRUE 0 tz America%2FChicago
from ha-alexa-tts.
@gsotiriou I was having the same issue you had. What I ended up doing was using firefox with javascript enabled and a plugin called "cookies.txt" to save the cookies.
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
- Alexa no sound HOT 13
- 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.