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
    • V

      Command ran with error code 1 trying shutdown command

      General Discussion
      • • • vitormbn
      2
      0
      Votes
      2
      Posts
      168
      Views

      RussR

      @vitormbn , if you run the same command from a CMD window does it work? Error code 1 means it's running the command but it's failing. Ideally it will fail in the same way so you can see the error. One possible reason for the failure might be you don't have admin access on your machine.

    • Paul KellyP

      TriggerCMD throws an Application Error upon computer shutdown.

      General Discussion
      • • • Paul Kelly
      5
      0
      Votes
      5
      Posts
      272
      Views

      Paul KellyP

      @Russ Done. Will keep you in the loop.
      Thank you!

    • Tony SeabackT

      Cant Get Background Services to Work anymore

      General Discussion
      • • • Tony Seaback
      2
      0
      Votes
      2
      Posts
      164
      Views

      RussR

      @Tony-Seaback

      I replied to you here, but basically I broke the background service in version 1.0.45. I just need to upgrade the node version and update the agent. I'll do that today. Stay tuned.

      https://www.triggercmd.com/forum/topic/3227/background-agent-commands-not-syncing-or-service-not-starting-please-assist-please-thank-you

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • P

      Background service

      General Discussion
      • • • pixelatedscreen
      4
      0
      Votes
      4
      Posts
      628
      Views

      RussR

      @Tony-Seaback, I replied to you here, but basically I broke the background service. I just need to upgrade the node version and update the agent. I'll do that today. Stay tuned.

      https://www.triggercmd.com/forum/topic/3227/background-agent-commands-not-syncing-or-service-not-starting-please-assist-please-thank-you

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • Tony SeabackT

      background agent commands not syncing or service not starting please assist. PLEASE ! thank you

      General Discussion
      • • • Tony Seaback
      2
      0
      Votes
      2
      Posts
      136
      Views

      RussR

      @Tony-Seaback, I see the problem. I broke the background service in this latest version 1.0.45. I'll produce a new version today and get back to you.

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • F

      Issue with TriggerCMD Commands Not Updating on Website

      Windows
      • • • fabriziotoniolo
      9
      0
      Votes
      9
      Posts
      904
      Views

      RussR

      @Tony-Seaback, I see from your other posts you're using the background service. I assume the foreground service is sync'ing foreground commands just fine?

      I just found out the background service is broken on Windows version 1.0.45. I'm working on the fix now.

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • T

      Issue Connecting Second PC to Alexa for Automatic Shutdown

      Alexa
      • • • theotherclub
      2
      0
      Votes
      2
      Posts
      122
      Views

      RussR

      @theotherclub, your second computer needs to have a "Voice Name" before Alexa will create devices for each of that computer's triggers.

      89b6ddc2-f582-41fb-b8cb-330509f9e9ba-image.png

      Your first computer doesn't need a Voice Name because it's your default computer by default.

      This page in the documentation explains further:
      https://docs.triggercmd.com/#/./SmartHomeSwitches

    • Mark HollisM

      after format my pc, i can't use trigger cmd, it say that i need to subscribe for add a new computer

      Windows
      • • • Mark Hollis
      2
      0
      Votes
      2
      Posts
      134
      Views

      RussR

      @Mark-Hollis, your commands are not stored in the cloud. They're only stored on your computer, so if you don't have a backup of your commands.json file, you'll need to recreate them. One Windows you can find your commands.json file in this folder:

      c:\Users\(your user)\.TRIGGERcmdData

      If you're not subscribed, you'll need to delete your current computer before you can create another one.

    • A

      Mouse Clicker on specific coordinate

      General Discussion
      • mouse clicker • • atroguer
      2
      0
      Votes
      2
      Posts
      356
      Views

      THeVenueT

      @atroguer
      Yes if you setup a autohotkey and use the spy to get the x and y mouse coordinates u can

      In TriggerCMD gui
      ā€œC:(path to autohotkey)ā€ -play ā€œC:(path to autohotkey script)ā€

      Use ChatGPT, to help you make the autohotkey script

      On desktop make a txt document
      Copy and paste AHK script from CHATGPT to document
      Save as
      MyScript.ahk
      File Type. ALL

    • C

      I don't have access to side panel in order to get my token

      Instructions
      • • • cesaronte
      3
      0
      Votes
      3
      Posts
      238
      Views

      C

      @Russ I got it.
      The issue was due to that I havent gotten really logged in, for some reason after clicking the validation link it showed like I was logged in. I logged off and input my credentials again and I could find averithing in place.

      Thanks

    • S

      Triggercmd dont work after update.

      General Discussion
      • • • Santiago
      4
      0
      Votes
      4
      Posts
      229
      Views

      RussR

      Awesome @Santiago. Thanks for letting me know. Sorry about the trouble.

    • karnold69K

      Dimming X10 modules

      Alexa
      • • • karnold69
      7
      0
      Votes
      7
      Posts
      394
      Views

      karnold69K

      @Russ Thanks for getting me started.
      Also meant to post commands must be URL encoded even though it isn't a URL.
      Verbal command would be something like "Alexa, turn Loft Lights 40 [percent]

    • ?

      Can't add triggercmd to Google Home

      General Discussion
      • • • A Former User
      12
      0
      Votes
      12
      Posts
      3.7k
      Views

      RussR

      @Abel-Boby, do you see a list of voice commands on this page?

      You should have one voice command for each of your triggercmd commands that has a voice word, but only if the computer is your default computer or it has a voice word assigned to it. You can set your default computer on your profile page.

      In other words, these are the requirements for creating virtual devices in Google Home for your commands:

      Each command must have a voice word. Each computer must have a voice word, or it must be your default computer.
    • J

      Issues following installation instructions

      Raspberry Pi
      • • • jcksnftsn
      9
      0
      Votes
      9
      Posts
      425
      Views

      RussR

      @jcksnftsn, awesome.

    • E

      Triggercmd does not open on Fedora 41 GNOME

      Linux
      • • • ess__gabriel
      3
      0
      Votes
      3
      Posts
      128
      Views

      RussR

      @ess__gabriel, I remember now. Tray icons no longer work by default, so you have to install this Gnome shell extension: https://extensions.gnome.org/extension/615/appindicator-support/

    • steef van der PoelS

      running .jar

      General Discussion
      • • • steef van der Poel
      2
      0
      Votes
      2
      Posts
      209
      Views

      V

      @steef-van-der-Poel If you want to run a .jar executable, you need to run it using java. This is best done with a batch script like the following file:

      Batch Script (launch.bat) cd C:\Users\steef\Desktop\minecraftServer java -Xmx1024M -Xms1024M -jar minecraft_server.1.21.4.jar > log.txt 2>&1

      Your TriggerCMD command would have to be executing the .bat file

      Something like this would work, the command comes from Minecraft's site:
      https://www.minecraft.net/en-us/download/server

      a66cf93e-d25e-4307-8d9a-ba761eec8e5c-image.png

    • Alejandro BerrocalA

      How to change to 1 screen to 2 screens

      Windows
      • • • Alejandro Berrocal
      3
      1
      Votes
      3
      Posts
      640
      Views

      Lucas RosasL

      @Floor_kicker Thank you very much for helping.

    • E

      TriggerCMD on Openwrt

      Raspberry Pi
      • • • eromano
      4
      0
      Votes
      4
      Posts
      239
      Views

      RussR

      @eromano, I tried to install OpenWRT on a VMWare VM for a while. I got version 15 installed using an OVA but I couldn't get openssl working, so I couldn't install nodejs etc on it.

      Anyway, I noticed your error output shows it's trying to access a URI that starts with /engine.io . That's not valid URI.

      I wonder if you've upgraded socket.io-client beyond the version specified in ubuntupackage.json because this article says the latest version 'socket.io-client@4.X.X uses /engine.io instead of the valid /socket.io URI.

    • H

      CMD commands no longer work

      General Discussion
      • • • Hugoboss
      3
      0
      Votes
      3
      Posts
      197
      Views

      RussR

      @Hugoboss, sorry, I missed your original post so I'm glad you followed up.

      For the 2 examples that won't run in the triggercmd agent, you said they won't run now, but they ran fine yesterday. Did you upgrade the agent between when they ran and when they didn't?

      Do they run fine if you run them manually from a cmd prompt?

      Please try putting this one in a .bat script like this, and run the .bat script as your command instead:

      cd /d "C:\Users\username\AppData\Local\Programs\UiPath\Studio" UiRobot.exe execute --process "Discord.Join.Server"

      Please test the .bat script manually too.

      Also could you share the contents of this script, and the output when you run it manually?

      "C:\Applications\UiPath\Robot\Starta Spel\Starta Spel\Start Game.bat"
    • Matheus de SouzaM

      TriggerCmd installed as normal, but not running my commands

      General Discussion
      • • • Matheus de Souza
      2
      0
      Votes
      2
      Posts
      230
      Views

      RussR

      @Matheus-de-Souza, it's showing "Command ran with error code 1" because your command is failing. Commands return error code 0 when they succeed.

      To troubleshoot, it would help to get the output of your command. You should be able to see the error if you run it manually from a cmd prompt.

      To open a cmd prompt, you can hold the Windows key and press R, then type cmd and press enter.
      9a53f208-d7ed-45ee-b14b-dec1f499230d-image.png

      If the command runs fine in the cmd prompt but it fails when you run it with the TRIGGERcmd agent, you should copy/paste your command into a .bat file and redirect the command's output to a log file, and change your triggercmd command to run the .bat file. That way you can look in the log file to see the error.

      For example, you could create a script.bat file with these contents:

      yourcommand > c:\logs\script.log 2>&1

      This part is to make stderr output go into your log, not just stdout: 2>&1

      Notice I put the log file in a c:\logs directory. You'll need to create that directory first. Windows won't let you write to a file in c:\ by default.