Commit Graph

44 Commits

Author SHA1 Message Date
Alex
b23043f58e SPEAKVOL of 0 leaves the volume setting untouched 2020-02-03 21:58:45 +01:00
Christian Fenzl
04bacd4743 Added -login command
Logs in to Amazon, but executes no further commands
2020-01-22 09:41:16 +01:00
Alex
de6ad4a337 Added --version 2020-01-20 20:28:05 +01:00
Alex
bd7b500b26 Fixed Notifications 2020-01-08 21:34:53 +01:00
Alex
4279441dc8
Merge branch 'master' into master 2020-01-08 21:14:30 +01:00
Alex
e021b723a4 Added current volume level 2020-01-03 23:42:59 +01:00
Alex
fe5e8ecfdd Re-worked the TTS volume setting 2019-12-30 22:51:36 +01:00
Alex
5711a0418d
PR #77 from adn77/master
Routines can now be triggered by either name or utterance
2019-12-23 21:28:18 +01:00
Alex
d4d6c608bd Routines can now be triggered by either name or utterance 2019-12-23 20:39:01 +01:00
Alex
9ab7dadd34
PR #68 from martinweu/master
Add query notifications
2019-11-18 13:50:50 +01:00
Alex
82b366b64f Increased # of routines downloaded 2019-11-18 13:39:18 +01:00
Martin Weber
22f87e8e10 extend alexa script with notification info 2019-08-25 17:18:04 +02:00
Alex
b4bab22234 Added Volume setting via routine, and $SPEAKVOL 2019-08-05 21:31:11 +02:00
Alex
dbc2c1e7a8 Fixed spelling 2019-07-08 23:39:09 +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
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
2719d795c9
Adapted changed CSRF handling 2019-06-18 20:59:17 +02: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
0fa01ea2d0
reduced the number of replaced characters for TTS and automation 2019-02-14 20:52:11 +01:00
Alex
ce3995e881
Fix locale setting on TTS 2019-02-11 00:14:48 +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
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
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
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
7ec60e720d
repeat command and environment variable parsing
* added repeat command
* added environment variable parsing
2019-01-23 00:07:58 +01:00
Alex
c5975dae43
Added Alexa routines execution 2018-06-18 20:31:09 +02:00
Alex
b8a082b64c
Added Alexa routines execution 2018-06-18 20:27:31 +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
4f00c80756
update browser string and accept language 2018-05-17 09:39:17 +02:00
Alex
c6492bfaa8
Defaults to HTTP/1.1 for cURL 2018-03-09 18:52:51 +01:00
Alex
fcde3559fc
Defaults to HTTP/1.1 for cURL 2018-03-09 18:47:27 +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