Commit Graph

90 Commits

Author SHA1 Message Date
Alex
7a7836e9b5
Explained MFA 2019-07-08 23:25:41 +02:00
Alex
752cd51e8e cleaned up oathtool config 2019-07-08 22:41:22 +02:00
Alex
ca7a12deb1 Made oathtool configurable 2019-07-08 21:12:09 +02:00
Alex
7a69d45dad Merge branch 'rich-gepp-master' into MFA 2019-07-08 20:59:00 +02:00
Alex
e262d8d17a Resolved merge conflict 2019-07-08 20:58:41 +02:00
Alex
8162ab9285
Multiple tries to retrieve CSRF
Try to get CSRF on three different URLS
2019-06-28 23:14:00 +02:00
Alex
1c7d55e56c
Adapted changed CSRF handling 2019-06-18 21:00:36 +02:00
Alex
2719d795c9
Adapted changed CSRF handling 2019-06-18 20:59:17 +02:00
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