TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • RussR

      TRIGGERcmd Misson Control app

      Windows
      • • • Russ
      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • Guilherme MatosG

      Created new account on the same PC

      Alexa
      • • • Guilherme Matos
      2
      0
      Votes
      2
      Posts
      34
      Views

      RussR

      @Guilherme-Matos, I tried it. When I ran the TRIGGERcmd Agent in the other user account on my computer, the token prompt did show up, but I had to click the agent's icon at the bottom of the screen because it was behind my browser. I had to bring it to the front.

      If you don't get an icon at the bottom, let me know, and please tell me whether you're using the latest version. I'm running version 1.0.56 which I'm about to release. I added an emoji icon picker for commands.

    • RussR

      Claude SKILL.md

      MCP
      • • • Russ
      1
      0
      Votes
      1
      Posts
      23
      Views

      No one has replied

    • R

      Turn PC on/off

      Windows
      • • • Rodney Mathee
      4
      0
      Votes
      4
      Posts
      93
      Views

      RussR

      @Rodney-Mathee, I'm glad you told me it's wifi, not wired ethernet. That changes things. For one, that WakeMeOnLan.exe tool from Nirsoft won't work because it doesn't support wireless networks.

      I've never tried "wake-on-wlan" but in theory it's possible with the right hardware.
      https://documentation.ubuntu.com/core/explanation/system-snaps/network-manager/how-to-guides/configure-the-snap/wake-on-wlan/

    • RussR

      How to run commands from Home Assistant

      Home Assistant
      • • • Russ
      15
      0
      Votes
      15
      Posts
      12.7k
      Views

      RussR

      @Andru, thanks for the idea. I'll look into it.

    • D

      Abort shutdown

      Windows
      • • • Dinas
      5
      0
      Votes
      5
      Posts
      684
      Views

      H

      @Jhon-Piñeres
      The answer is probably found elsewhere since you asked your question, but because this was the first thread i found i think i post my solution here:

      Command for shutting down:
      shutdown /s /t 120

      I choose 2 Minutes because thats the a longer time i need to leave but so normaly enough time to stop if i forgot something.

      Off Command:
      shutdown /a

      Now i can tell my alexa to shut down my pc, by switching on shutdown, but i have also 2 minutes to cancel the shutdown by telling alexa to turn off shutdown.

    • LokilatorL

      Trigger for standby (Alexa)

      Windows
      • • • Lokilator
      4
      0
      Votes
      4
      Posts
      170
      Views

      RussR

      @Lokilator nice, I've used the shutdown command in the past. I haven't seen that one.

    • Pepe TopsP

      Limit of triggers in the free option?

      Linux
      • • • Pepe Tops
      4
      0
      Votes
      4
      Posts
      95
      Views

      RussR

      @Pepe-Tops , good to know. I'll test and fix that if I can reproduce it.

    • Matt PackwoodM

      Apple Silicon / Rosetta 2 being discontinued.

      Mac
      • • • Matt Packwood
      2
      0
      Votes
      2
      Posts
      59
      Views

      RussR

      @Matt-Packwood, I thought I did produce an Apple Silicon version. Are you saying this version isn't an Apple Silicon version?

      https://agents.triggercmd.com/TRIGGERcmdAgent-arm64.dmg

    • RussR

      CLAUDE.md to use local AI model

      General Discussion
      • • • Russ
      1
      0
      Votes
      1
      Posts
      697
      Views

      No one has replied

    • J

      Batch file run by trigger behaves differently than run locally?

      Windows
      • • • JoshuaJSlone
      3
      0
      Votes
      3
      Posts
      217
      Views

      Carol ClarkC

      This is one of those old-fashioned Windows batch bugs that only manifests after interactive operations are discontinued.

      Your.bat is launched in a non-interactive session by TRIGGERcmd. Even if you say "foreground," there isn't a true console connected, so anything that thinks it's a tty may silently misbehave. The reason your script gets beyond taskkill but never reaches the restart is because TIMEOUT is infamous for its ability to either quit instantly or block strangely when there is no interactive terminal.

      it also explains why there isn't a window: Unless you specifically force a visible cmd.exe session, TRIGGERcmd is not generating one.

      Avoiding TIMEOUT in this situation is the solution. It spins up its own process with a suitable wait handle, thus wrapping it with start/wait works. For the same reason, ping 127.0.0.1 -n X works; console state is irrelevant. If you really want to view output, using cmd /c or cmd /k manually is a good alternative.

      Additionally, ensure that the program.exe is launched using the whole path rather than just the working directory. Since C:\Windows\System32 is often used as cwd when triggers execute, relative paths will fail silently.

      In summary, it's not a TRIGGERcmd problem or a permissions issue. Batch + non-interactive Windows execution is used. It will act the same as if you ran it locally if you change the TIMEOUT and use complete paths.

    • Brad Magri-OlsonB

      Background Service Stopping

      General Discussion
      • • • Brad Magri-Olson
      2
      0
      Votes
      2
      Posts
      101
      Views

      RussR

      @Brad-Magri-Olson, thank you for reporting the issue.

      I'm on version 1.0.54 and so far I'm not able to reproduce the issue.

      Can you try upgrading to 1.0.54? I tried downgrading my agent and I still couldn't reproduce it.

      Also, can you tell me what background command you're running?
      Also, what antivirus software do you use? I wonder if that's killing the service.

    • David CoulsonD

      Email says command didn't run, but it did.

      General Discussion
      • • • David Coulson
      3
      0
      Votes
      3
      Posts
      181
      Views

      RussR

      @David-Coulson, I fixed it. Now you won't get these "TRIGGERcmd - Your command didn't run" emails if the trigger was from Home Assistant.

      05213127-87ef-4be4-8f7a-ca4b3ae145f3-image.png

      Thanks again for reporting the problem.

    • RussR

      TRIGGERcmd setup on Google Assistant

      Google Home
      • • • Russ
      4
      1
      Votes
      4
      Posts
      2.3k
      Views

      Nuno GomesN

      @Russ It´s working. Thank You.

    • Asit MishraA

      Firest time setting up, oauth failure

      General Discussion
      • • • Asit Mishra
      3
      0
      Votes
      3
      Posts
      119
      Views

      Asit MishraA

      @Russ Thanks!

    • RussR

      How to use Off Command

      Instructions
      • • • Russ
      30
      0
      Votes
      30
      Posts
      58.1k
      Views

      RussR

      @Yoni, thanks for letting me know. I'll make it case-insensitive in the next version.

    • S

      I want to be able to trigger an Alexa routine from a command line with the triggercmdagent installed on my Raspberry Pi

      Raspberry Pi
      • • • sparker
      8
      0
      Votes
      8
      Posts
      1.8k
      Views

      XanderX

      I use CMDNOWND for this. https://dennisbabkin.com/cmdnownd/

      You pop it in the cmd line like this: cmdnownd "D:\Libraries\Documents\batchfile.bat" and it suppresses the appearance of the cmd window. Just place the exe in your path. I keep it in the Windows folder itself.
      scrsht_cmdnownd.png

    • Kevin 0K

      OAuth support for MCP server

      MCP
      • • • Kevin 0
      4
      0
      Votes
      4
      Posts
      276
      Views

      Kevin 0K

      @Russ Awesome! Thank you so much. Hopefully OpenAI will support your submitted app!

    • RussR

      Python script to change my wifi color LED light bulb state

      Windows
      • • • Russ
      1
      0
      Votes
      1
      Posts
      196
      Views

      No one has replied

    • Timothy MartinT

      Unable to Subscribe - Link Appears to be Broken

      General Discussion
      • • • Timothy Martin
      6
      0
      Votes
      6
      Posts
      246
      Views

      Timothy MartinT

      @Russ Done - works like a champ now - thanks again!