Commit Graph

82 Commits

Author SHA1 Message Date
rich-gepp
01e1ff0e5d
Merge pull request #1 from rich-gepp/mfa
Optionally support Multi-Factor Authentication by allowing
(SET_)MFA_SECRET to be configured to contain the Amazon MFA secret.
If Amazon is configured to use Two-Step Verification, additionally supplying a one-time password in the authentication data, by-passes CAPTCHA verification.
Support has been added in a backwards-compatible way by allowing the MFA secret to be optionally configured. If the MFA secret is configured then 'oathtool' is used to generate the one-time password.
2019-03-24 22:00:10 +00:00
Richard Gepp
21f3ab20d0 Added support for Multi-Factor Authentication
Changed comment to use 'OTP' rather than 'HOTP'.
2019-03-24 21:31:48 +00:00
Richard Gepp
81ec828170 Added support for Multi-Factor Authentication
Optionally support Multi-Factor Authentication by allowing
(SET_)MFA_SECRET to be configured to contain the Amazon MFA secret.
Some general tidying up to make string literals consistent (single-
quotes) and match whitespace because I'm fussy. ;-)
2019-03-24 19:02:20 +00:00
Alex
05a7bb8fcf
Merge pull request #43 from adn77/master
reduced the number of replaced characters for TTS and automation
2019-02-14 20:52:49 +01:00
Alex
0fa01ea2d0
reduced the number of replaced characters for TTS and automation 2019-02-14 20:52:11 +01:00
Alex
6e07eadf75
Merge pull request #41 from adn77/master
Fix locale setting on TTS
2019-02-11 00:15:31 +01:00
Alex
ce3995e881
Fix locale setting on TTS 2019-02-11 00:14:48 +01:00
Alex
6d7eecbf33
Merge pull request #39 from adn77/master
Updated plain version and lastalexa improvement
2019-02-10 20:07:43 +01:00
Alex
c79d866878
lastalexa now checks for SUCCESS activityStatus
see https://github.com/thorsten-gehrig/alexa-remote-control/issues/38
2019-02-10 20:04:53 +01:00
Alex
d63f23855a
added "-d ALL" to the plain version 2019-02-10 20:04:11 +01:00
Alex
411f2b2e40
Merge pull request #37 from adn77/master
Changed Speak and Automation with spaces
2019-02-03 22:49:18 +01:00
Alex
308d38238d
Changed Speak and Automation with spaces
Due to a limitation in whitespace handling of cURL POST data automation sequences are now cached in a file and then POSTed.
2019-02-03 22:48:03 +01:00
Alex
2945ca36f0
Merge PR #36 from adn77/master
Update README.md
2019-01-23 11:57:41 +01:00
Alex
646f245763
Update README.md 2019-01-23 11:56:54 +01:00
Alex
7f8d58dabe
Merge PR #35 from adn77/master
Changed jq command arg for jq 1.4 compatibility
2019-01-23 11:16:05 +01:00
Alex
68cc917915
Changed jq command arg for jq 1.4 compatibility
the notion "-rc" has been rewritten to "-r -c"
2019-01-23 11:14:43 +01:00
Alex
e4697bd1f7
Merge PR #34 from adn77/master
Changed customerId retrieval
2019-01-23 01:01:47 +01:00
Alex
f05854f123
Changed customerId retrieval
CustomerId is now retrieved from the logged in user.
The customerId in the device list is always from the user registering the device initially
2019-01-23 01:00:37 +01:00
Alex
20d94ac579
Merge PR #33 from adn77/master
repeat command and environment variable parsing
2019-01-23 00:13:34 +01:00
Alex
236bc722d1
Delete alexa-pandora.sh 2019-01-23 00:09:03 +01:00
Alex
17697ab561
Update README.md 2019-01-23 00:08:29 +01:00
Alex
7ec60e720d
repeat command and environment variable parsing
* added repeat command
* added environment variable parsing
2019-01-23 00:07:58 +01:00
Alex
e27a684516
Merge pull request #15 from adn77/master
Adds Alexa routines execution
2018-06-18 20:32:47 +02:00
Alex
c5975dae43
Added Alexa routines execution 2018-06-18 20:31:09 +02:00
Alex
a087579c3c
Escaped spaces in JSON 2018-06-18 20:29:30 +02:00
Alex
b8a082b64c
Added Alexa routines execution 2018-06-18 20:27:31 +02:00
Alex
da697c39d1
Update README.md 2018-06-18 20:26:09 +02:00
Alex
cd2e08a09a
Merge pull request #14 from adn77/master
Added TTS and Album play
2018-06-18 17:59:20 +02:00
Alex
435fb1d124
Added TTS and Album play
* 2018-06-12: v0.10 introducing TTS and more
		(thanks to Michael Geramb and his openHAB2 Amazon Echo Control binding)
		https://github.com/openhab/openhab2-addons/tree/master/addons/binding/org.openhab.binding.amazonechocontrol
		(thanks to Ralf Otto for implementing this feature in this script)

* 2018-06-13: v0.10a added album play of imported library
2018-06-18 17:56:30 +02:00
Alex
f671ba247b
Update README.md 2018-06-18 17:48:47 +02:00
Alex
791db15f18
Merge pull request #13 from adn77/master
update browser string and accept language
2018-05-17 09:41:37 +02:00
Alex
4f00c80756
update browser string and accept language 2018-05-17 09:39:17 +02:00
Alex
01f72e58a2
PR#9 Defaults to HTTP/1.1 for cURL 2018-03-09 18:57:41 +01: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