TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Remote control (command line)

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 854 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aaaaa12345
      last edited by aaaaa12345

      To whom it may concern...

      https://loetzimmer.de/patches/alexa_remote_control_plain.sh (English)
      http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html (German)

      https://www.addictivetips.com/windows-tips/run-shell-script-on-windows-10/

      🙂

      RussR A 2 Replies Last reply Reply Quote 0
      • RussR Offline
        Russ @aaaaa12345
        last edited by Russ

        @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 weather
        

        Here'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 : help
        

        I ran it in WSL on my Windows 11 box.

        This is the version I ran (for english, US), minus my credentials.
        alexa.sh

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • A Offline
          aaaaa12345 @aaaaa12345
          last edited by aaaaa12345

          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?

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post