From 646f24576340ca42194c08f356fb50c2b827e997 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 23 Jan 2019 11:56:54 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 7101a43..6a451ec 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,23 @@ # alexa-remote-control control Amazon Alexa from command Line +The settings can now be controlled via environment variables. +``` +EMAIL - your login email +PASSWORD - your login password +BROWSER - the User-Agent your browser sends in the request header +LANGUAGE - the Accept-Language your browser sends in the request header +AMAZON - your Amazon domain +ALEXA - the URL you would use for the Alexa Web App +CURL - location of your cURL binary +OPTS - any cURL options you require +TMP - location of the temp dir +``` +You will very likely want to set the language to: +``` +export LANGUAGE='de,en-US;q=0.7,en;q=0.3' +``` + ``` alexa-remote-control [-d |ALL] -e > | -b [list|<"AA:BB:CC:DD:EE:FF">] | -q | -r <"station name"|stationid> |