TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. General Discussion
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • ?

      Booting PC using TriggerCMD

      • • A Former User
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      RussR

      Sorry @iamisobe. Stay with me. We'll get this.

      First of all - you have send the "magic packet" from a computer that's turned on. My Raspberry Pi computer is always turned on - that's why I run the wakeonlan command from it.

      Do you have two computers? One that's always on, and one that your want to wake up? Assuming you have two computers, what's the Operating System of the one you want to use to tell the other computer to wake up?

    • ?

      Need help debugging

      • • A Former User
      2
      0
      Votes
      2
      Posts
      700
      Views

      RussR

      @robhaynes, a good place to look for what Alexa heard is the Alexa app on your phone.

      I see in the log that Alexa often hears xten, and sometimes she hears x. I think x10 / xten is difficult for Alexa to hear and convert to text consistently.

    • C

      Feature request: Leave off computer name when issuing an Alexa command

      • • Christian Robinson
      24
      0
      Votes
      24
      Posts
      10.3k
      Views

      ?

      @russ
      Got it. Looks like you already set that up for me .. as I could see my laptop on the default computer field .. and it is working ! Thank you!

      P.S: Is there a location on this forum or site for "How-to's" / Knowledge base - for people to find such information there .. if yes, please direct me to the same, if not, might be a good idea to create one 🙂

    • ?

      TriggerCMD says that it can't find the computer

      • • A Former User
      12
      0
      Votes
      12
      Posts
      4.1k
      Views

      RussR

      @buddahs808 ,

      The trick is to use a simple word for google to hear in the 'voice' field for the command.

      Does 'calculator' work?

    • ?

      MAC Commands/triggers not working, help!

      • • A Former User
      4
      0
      Votes
      4
      Posts
      1.5k
      Views

      RussR

      @cameronlives ,

      I'll try opening a website when I get home. I think you can do something like this:

      open http://www.google.com
    • ?

      .bat files not executing on Windows 10

      • • A Former User
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      RussR

      @ron

      Man, I don't know. If calc and notepad work, the agent is working, so that's a start. What exactly do you have in your command field? If you type that same thing in your cmd prompt while you're in a different folder, does it run the batch file? I ask just to verify that the folder is in the PATH..

      It might be that batch file is expecting you to be in the folder where the batch file is, so you could add a command to your batch file to cd to that folder.

      EDIT: Ron and I figured this out. It turned out he needed to close and open the TRIGGERcmd agent (or just reboot) after he added the batch file's folder to his PATH.

      Ron also explained how ahcmd works. It can send commands to X10 devices. It's a simpler way to do it than @Nate-Hales (aka Bubba's) method that uses the curl command. The ahcmd.exe tool comes with this installer: http://voxcommando.com/files/ahsdk_install.exe

      FYI, Ron's command to turn on a lamp via X10 was:

      ahcmd sendrf e1 on

      So with SmartThings, he could turn on parameters and make the command:

      ahcmd sendrf e1

      And SmartThings would add the on or off part of the command.

      More info about ahcmd: http://voxcommando.com/mediawiki/index.php?title=Plugin_X10

    • ?

      Very nice application -- thank you!

      • • A Former User
      2
      0
      Votes
      2
      Posts
      760
      Views

      RussR

      Thank you @mallea ! Merry Christmas!

    • RussR

      Looking for feedback - Should I add to the Alexa voice interface?

      • • Russ
      11
      0
      Votes
      11
      Posts
      3.3k
      Views

      RussR

      @dlaugh14, your example is way cooler than mine.

    • ?

      Can not install Triggercmd on Rasbian Raspberry Pi

      • • A Former User
      13
      0
      Votes
      13
      Posts
      4.0k
      Views

      RussR

      @rexabbot, no, but if you want to run foreground commands that launch GUI application like a browser, you can open a terminal window within X-Windows, and run triggercmdagent. That will run the agent in foreground mode.

      Unfortunately you won't be able to use the GUI editor though, so you'll have to edit the commands.json file manually with vi or pico.

    • ?

      Command script not working - Raspberry?

      • • A Former User
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      ?

      @Joost-Breggeman said in Command script not working - Raspberry?:

      {"trigger":"Hello World","command":"sudo /home/pi/tmp/test.sh","ground":"foreground","voice":"update","allowParams": "false"}

      nevermind... found it. there should be an absolute path to the text file in the script

    • ?

      How to Run Commands as Administrator

      administrator • • A Former User
      3
      0
      Votes
      3
      Posts
      2.2k
      Views

      RussR

      @bzowk ,

      That should have worked. Background commands are elevated commands by default because they run in the context of the Windows service that runs as Local System.

      I have a background command called "Restart Print Spooler" that runs:

      sc stop spooler & sc start spooler

      I just tested it on my Win10 box and it worked. I have UAC turned on though, so maybe that's the difference.

      EDIT 7/4/21:
      Check out this solution too: https://www.triggercmd.com/forum/topic/1453/questions/2

    • ?

      "Installation Has Failed" Error

      • • A Former User
      7
      0
      Votes
      7
      Posts
      3.3k
      Views

      RussR

      Now there's a better way to run the agent on a 32bit version of Windows:

      https://www.triggercmd.com/forum/topic/99/no-gui-triggercmd-agent-that-works-on-32bit-windows

    • ?

      Is there a 32bit Agent for Windows available?

      • • A Former User
      7
      0
      Votes
      7
      Posts
      3.0k
      Views

      RussR

      Now there's a better way to run the agent on 32bit Windows.

      https://www.triggercmd.com/forum/topic/99/no-gui-triggercmd-agent-that-works-on-32bit-windows

    • ?

      Having issues installing it on Ubuntu Server (no GUI)

      • • A Former User
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      RussR

      @kingdavid52, thank you for telling me I had this issue.

      I found that the Ubuntu installation instructions didn't work unless you were in X-Windows.

      I updated the instructions here.

      I don't want Ubuntu users to have to install the X-Windows GUI, so again, thank your for pointing this out!

    • ?

      Has anyone tried TRIGGERcmd for Windows Key + Tab?

      • • A Former User
      3
      0
      Votes
      3
      Posts
      1.7k
      Views

      RussR

      Awesome @Brandon, nice job.

    • RussR

      Alexa frustration? "Cannot find that IFTTT trigger"...

      • • Russ
      1
      0
      Votes
      1
      Posts
      1.1k
      Views

      No one has replied

    • ?

      Alexa invocation and SmartThings switch questions

      • • A Former User
      19
      0
      Votes
      19
      Posts
      8.4k
      Views

      RussR

      @Neflhiem, I'm glad you got it working. I like how it turned out too. Thanks again for your questions - I wouldn't have thought to implement this if you hadn't asked.

    • N

      Please Help with scripts (I am a non programmer)

      • • Nate Hales
      3
      0
      Votes
      3
      Posts
      1.8k
      Views

      N

      @Russ thanks

    • ?

      Two Commands Aren't working

      • • A Former User
      6
      0
      Votes
      6
      Posts
      3.3k
      Views

      ?

      Also, the server I'm using this on hid the task bar icons, so it was a little while before I realized there was a place to right-click and pull up a GUI editor =P. The directions on your website are not incorrect.

    • RussR

      Alexa trouble for UK and German skills - already fixed for US customers

      • • Russ
      1
      0
      Votes
      1
      Posts
      1.2k
      Views

      No one has replied