Commit Graph

50 Commits

Author SHA1 Message Date
Alex
4f00c80756
update browser string and accept language 2018-05-17 09:39:17 +02:00
Alex
eb9a0bc3ed
Merge branch 'master' into master 2018-03-09 18:56:59 +01:00
Alex
18ddb0d882
Defaults to HTTP/1.1 for cURL 2018-03-09 18:53:33 +01:00
Alex
c6492bfaa8
Defaults to HTTP/1.1 for cURL 2018-03-09 18:52:51 +01:00
Alex
ab4970fb48
Defaults to HTTP/1.1 for cURL 2018-03-09 18:49:40 +01:00
Alex
184181b83f
Defaults to HTTP/1.1 for cURL 2018-03-09 18:48:10 +01:00
Alex
fcde3559fc
Defaults to HTTP/1.1 for cURL 2018-03-09 18:47:27 +01:00
Alex
cafc2a28b7
Merge pull request #8 from dbrekau/patch-1
Defaults to HTTP/1.1 for cURL
2018-03-09 18:43:27 +01:00
Dominic Brekau
5a7b395559
Update alexa_remote_control.sh
I'm having login problems since 4(?) days, forcing curl to use http1.1 solves this problem.

This is verbose output of curl when using http2:
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
} [5 bytes data]
* We are completely uploaded and fine
{ [5 bytes data]
* HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
* Curl_http_done: called premature == 1
* Closing connection 0

In my view this is related to the submitted Referer. But don't know how to fix this at the moment.
2018-03-09 14:05:44 +01:00
thorsten-gehrig
6076978f9a
Merge pull request #6 from adn77/master
v0.9 incl. UserAgent and verbose login error loging
2018-03-02 15:15:48 +00:00
Alex
12c7dd97fc
Merge branch 'master' into master 2018-03-01 22:44:29 +01:00
Alex
124f299993
Update README.md 2018-03-01 22:37:14 +01:00
Alex
98258e49c2
debug message for unsuccessful logins
- added "lastalexa" option for HA-Bridge to send its command to a specific device
   (Markus Wennesheimer: https://wennez.wordpress.com/light-on-with-alexa-for-each-room/)
 - unsuccessful logins will now give a short info how to debug the login
2018-03-01 22:35:22 +01:00
Alex
71cbdad09d
Merge pull request #1 from adn77/adn77-cookie-automation
new script (cookie and data extraction automated)
2018-02-26 22:34:08 +01:00
Alex
d34ca189ff
Merge branch 'master' into adn77-cookie-automation 2018-02-26 22:33:11 +01:00
Alex
ae6c142513
browser string now configurable
seems like real browsers get the captcha request a lot less
2018-01-28 18:33:16 +01:00
Alex
353698db94
added Echo Spot 2018-01-25 10:38:42 +01:00
thorsten-gehrig
47668ff338
Merge pull request #3 from michael1/master
Added error handling for failed logins
2018-01-20 08:53:15 +00:00
Alex
79547c6b74
Update README.md 2018-01-10 08:25:35 +01:00
Alex
29bccefec4
added Bluetooth device list
- added echo-show to ALL group, TuneIn station can now be up to 6 digits
- added bluetooth list function
2018-01-10 08:24:36 +01:00
Alex
2b4dd9564f
Merge pull request #2 from michael1/patch-1
added error handling for failed login
2018-01-10 08:11:11 +01:00
michael1
7be3ef83e6
added error handling for failed login 2018-01-09 23:58:52 +01:00
michael1
4b4c467eba
Added error handling for failed logins
Added error handling for failed logins
Moved the get_devlist after the re-login section
2018-01-09 23:38:19 +01:00
Alex
c02b13d40d
moved get_devlist after check_status 2017-12-20 19:17:22 +01:00
Alex
0c34dce502
language 2017-12-20 18:58:03 +01:00
Alex
a09bda3457
updated missing switches for plain version 2017-12-20 18:57:21 +01:00
Alex
aa34df6f1e
moved get_devlist after check_status 2017-12-20 18:55:59 +01:00
Alex
4036885185
fixed AWK csrf extraction
on some systems the cURL cookie is written a bit different so AWK did not match the line containing the CSRF
2017-12-19 09:43:52 +01:00
Alex
8c7bf9a671
fixed US version
- fixed US version (replaced amazon.de in AWK by AMAZON variable)
- removed non-existent command line parameters in "plain" version
2017-12-18 09:51:10 +01:00
thorsten-gehrig
20d94b6b1a
Update alexa-pandora.sh 2017-12-08 09:35:15 +00:00
thorsten-gehrig
1b058147bc
Merge pull request #1 from adn77/adn77-cookie-automation
new script (cookie and data extraction automated)
2017-12-08 09:33:15 +00:00
Alex
537d043723
minor change on usage 2017-12-08 10:27:42 +01:00
Alex
6dcdbdd297
Update README.md 2017-12-08 10:25:30 +01:00
Alex
0123a894bd
Updated README 2017-12-08 10:23:10 +01:00
Alex
0ec2c0daba
Delete alexa-tunein.sh 2017-12-08 10:09:56 +01:00
Alex
7d23a019eb
Delete alexa-pause.sh 2017-12-08 10:09:42 +01:00
Alex
23c486e96e
Delete alexa-volume.sh 2017-12-08 10:09:33 +01:00
Alex
b930acfbd4
Delete alexia-play.sh 2017-12-08 10:09:25 +01:00
Alex
fe5c5b76ed
Delete alexia-next.sh 2017-12-08 10:09:17 +01:00
Alex
fe64dfe03e
Update README.md 2017-12-08 10:08:31 +01:00
Alex
7e02b9735e
Added a bunch of features as well as a non-JQ version
for more details see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html
2017-12-08 10:03:23 +01:00
adn77
17f2befd78 new script (cookie and data extraction automated)
This script automates the login process to amazon. Cookie and CSRF are extracted and stored while session exists.
For more information, see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html
2017-10-18 19:28:30 +02:00
thorsten-gehrig
c84fd7ab60 Update README.md 2016-12-25 16:21:36 +01:00
thorsten-gehrig
a48469d51f Update README.md 2016-12-25 16:21:13 +01:00
thorsten-gehrig
99e161248f Create alexia-play.sh 2016-12-25 15:40:38 +01:00
thorsten-gehrig
1b3cdd055f Create alexia-next.sh 2016-12-25 15:37:27 +01:00
thorsten-gehrig
9db141c1de Create alexa-pause.sh 2016-12-25 15:36:40 +01:00
thorsten-gehrig
10e77354c7 Create README.md 2016-12-25 09:59:11 +01:00
thorsten-gehrig
f003f5fa73 Update alexa-volume.sh 2016-12-25 09:55:32 +01:00
root
cbb4294241 first commit 2016-12-25 09:10:29 +01:00