Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
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
michael1
7be3ef83e6
added error handling for failed login 2018-01-09 23:58:52 +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
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