Remote control (command line)
-
-
@aaaaa12345, thanks. This is some fancy linux scripting! I tried it out.
I had it tell my Alexa to tell me the weather with this command:
./alexa.sh -d Office -e weatherHere's the help output for anyone else who's interested:
russ@RussHP:~$ ./alexa.sh -h ./alexa.sh [-d <device>|ALL] -e <pause|play|next|prev|fwd|rwd|shuffle|repeat|vol:<0-100>> | -b [list|<"AA:BB:CC:DD:EE:FF">] | -q | -n | -r <"station name"|stationid> | -s <trackID|'Artist' 'Album'> | -t <ASIN> | -u <seedID> | -v <queueID> | -w <playlistId> | -a | -m <multiroom_device> [device_1 .. device_X] | -lastalexa | -l | -h -e : run command, additional SEQUENCECMDs: weather,traffic,flashbriefing,goodmorning,singasong,tellstory, speak:'<text>',sound:<soundeffect_name>, textcommand:'<anything you would otherwise say to Alexa>' -b : connect/disconnect/list bluetooth device -q : query queue -n : query notifications -r : play tunein radio -s : play library track/library album -t : play Prime playlist -u : play Prime station -v : play Prime historical queue -w : play library playlist -a : list available devices -m : delete multiroom and/or create new multiroom containing devices -lastalexa : print serial number that received the last voice command -login : Logs in, without further command -l : logoff -h : helpI ran it in WSL on my Windows 11 box.
This is the version I ran (for english, US), minus my credentials.
alexa.sh -
JFTR...
The above-linked "German" page contains the in-depth instruction/tutorial (shouldn't be a problem for Google-Translate/deepL), while the "English"-linked one is providing the code for download.Would have edited the page above but there's a "editing time restriction" of 3600s
. Wouldn't it make more sense that a page can't be edited anymore once a follow-up posting/reply occured?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login