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

    How do I do this? I copy and pasted the command into the "command" box and I tried using it with my alexa but it isnt working.

    Windows
    2
    8
    202
    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.
    • S
      Sxve__
      last edited by

      Re: Volume script

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Sxve__
        last edited by Russ

        @Sxve__ , did you:

        1. Install nircmd in your c:\windows folder like this?
        2. Copy/paste the whole script into a text file and name the text file volume.bat?
        3. Put the volume.bat file in a folder like c:\tools?
        4. Make your command c:\tools\volume.bat?
        5. Make the voice word for your command volume?
        6. Enable the TRIGGERcmd Smart Home Alexa skill?

        If so, you could say, "Alexa, turn volume 100" if you've enabled the TRIGGERcmd Smart Home Alexa skill.

        If it doesn't work, please tell me what's happening. For example:

        1. If you run c:\tools\volume.bat 100 manually from the command line, does it work?
        2. If you run your command using the Parameters button and type in 100, does it work?
        3. Do you get a run in the Runs list for your command at triggercmd.com?
        4. What does Alexa say back to you?

        Russell VanderMey

        S 1 Reply Last reply Reply Quote 0
        • S
          Sxve__ @Russ
          last edited by Sxve__

          @Russ I have done everything you have listed, When i ran c:\tools\volume.bat 100 in parameters
          it set my volume on my pc to 0. When i ask alexa "Alexa, turn volume 100" she says "sorry, you can only set the volume between 1 and 10." Im new to coding and all this stuff so Im sorry if i get confused lol

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Sxve__
            last edited by Russ

            @Sxve__ please send me a screenshot of your command configuration.

            Also, please send a screenshot of you running c:\tools\volume.bat 100 from the cmd prompt.

            About Alexa, I think you're going to have to pick a different voice word. Instead of "volume" please try something like "banana" because "volume" is apparently a word Alexa reserved for adjusting the volume of the Echo device.

            Russell VanderMey

            S 1 Reply Last reply Reply Quote 0
            • S
              Sxve__ @Russ
              last edited by

              @Russ oh.my.god. there is no way that changing the name to "banana" made it ACTUALLY work, yep it works completely well now, thank you SO much

              S 1 Reply Last reply Reply Quote 0
              • S
                Sxve__ @Sxve__
                last edited by

                @Sxve__ now i just gotta figure out how to control spotify on my pc with my alexa lol i have speakers on my pc that I would MUCH rather use than the alexa speakers so I gotta figure out how to control it

                RussR 1 Reply Last reply Reply Quote 0
                • RussR
                  Russ @Sxve__
                  last edited by Russ

                  @Sxve__ , I'm glad it's working. I know, it's too bad Alexa reserves certain words. I just picked "banana" because I knew it's not one of them, but I'm sure you could come up with a better word.

                  About controlling Spotify, here's one approach you could consider:
                  https://youtu.be/5LNVrFHCKkA?si=4gCgQWv0VB4RnCIt&t=164

                  One thing you could add to your script is a command like this to switch to a playlist:

                  spotify --uri=spotify:user:1269640531:playlist:0kYOOgseBw3Jr1Sl7Yv2Pj
                  

                  Russell VanderMey

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Sxve__ @Russ
                    last edited by

                    @Russ bet man thank you so much for all of your help 🙂 im new to this coding stuff its super weird to me, Im definitely gonna learn alot from being in this community lol

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post