• Logging

    2
    0 Votes
    2 Posts
    897 Views
    RussR
    @honvl, the Runs list for each command logs "Trigger sent" and "Command ran". "Trigger sent" is logged when the TRIGGERcmd server tells the agent to run a command. "Command ran" is logged when the agent actually runs the command and reports back to the server.
  • Can't enter token

    Moved
    3
    0 Votes
    3 Posts
    927 Views
    RussR
    @dennism, thank you for reporting it. I confirmed this was a bug with version 20 of the Windows client. I pulled it off the site so the the link goes to version 19 again. I thought at first that this was just an Avast issue because I get this issue even with version 19 if I've got Avast installed. The workaround for Avast users is to temporarily disable it during the TRIGGERcmd agent install. EDIT: I created a new version (v21) that fixed the bug and includes v20's new feature for sending a command's result to the Runs list. Sorry for the bug, and thanks again for reporting it.
  • Support Storage Appliances and Advanced Routers

    2
    0 Votes
    2 Posts
    823 Views
    RussR
    @stevef9432203, if you can install nodejs on it, then it should work. If you can verify that, let me know and I'll help get it installed.
  • [Linux] Failed to start triggercmdagent.service

    4
    0 Votes
    4 Posts
    3k Views
    S
    Be sure to to autostart the service boot - sudo systemctl enable triggercmdagent.service
  • Can you feed back information to Alexa

    sendresult
    6
    0 Votes
    6 Posts
    3k Views
    RussR
    @gnetdevelopment, so far I've only implemented the ability to send feedback to the Runs history for each command. Now that that's done, I'm planning to add the ability to have Alexa or Google Assistant wait a few seconds for a result to be sent back, then say the result. Let's say you wanted to know how many packages can be upgraded on your Raspberry Pi. You could add a command that would run this script: #!/bin/bash export UPGRADABLE_COUNT=$(apt list --upgradable | grep upgradable | wc | cut -f 6 -d " ") sh ~/.TRIGGERcmdData/sendresult.sh "${UPGRADABLE_COUNT} packages could be upgraded." It would look like this in the website, and when I get the Alexa and Google Assistant work done, you could have the result spoken when you run it by voice. [image: UpgradeCheckResult.PNG]
  • TriggerCMD keeps repeating command after script execution

    1
    0 Votes
    1 Posts
    591 Views
    No one has replied
  • Can I edit triggers I have previously created?

    3
    0 Votes
    3 Posts
    951 Views
    Z
    I guess I figured out how to edit the triggers but I still not able to create working command I want to start a program on my computer but am unclear on where to put the program name to get it to run. Is there anywhere to find a tutorial on how to build new triggers?
  • A JavaScript error occurred in the main process

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @jorgee, have you tried deleting your c:\users\(your user)\.TRIGGERcmdData folder? If you do that, then close and re-open TRIGGERcmd, it might fix it. Another possibility is your Antivirus software is blocking it. You could try turning that off temporarily while TRIGGERcmd runs for the first time.
  • WoL from Mac

    3
    0 Votes
    3 Posts
    3k Views
    C
    @russ /usr/local/bin/wakeonlan was the ticket. Thanks so much for the info, able to make my PCs from my Mac from a full power off now!
  • Multiple Users - One RPi

    2
    0 Votes
    2 Posts
    1k Views
    RussR
    @atmosphere, I'm sorry but right now the TRIGGERcmd installer only supports one TRIGGERcmd account per Raspberry Pi. But, theoretically you could maybe run two instances of the TRIGGERcmd agent on the Pi, as two separate Linux users, and give those two users sudo access if they need to run things as root. If you run triggercmdagent --console it will run in foreground mode like so, and store two separate commands.json files in the .TRIGGERcmdData subfolder of their respective home folders: pi@raspberrypi:~ $ triggercmdagent --console Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot Daemon install: false No token exists. Login to request one. prompt: token: The trick would be in getting the two agents to run after a reboot.
  • Installation Issues / Operational Issues

    help
    7
    0 Votes
    7 Posts
    3k Views
    RussR
    Thanks @jdeuel.
  • command.json.backup error on windows agent install

    3
    0 Votes
    3 Posts
    1k Views
    RussR
    @karl-g, please uninstall and download again. I removed version 1.0.20 and put 1.0.19 back until I can figure out why people are getting that error.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • voice command with blank

    2
    0 Votes
    2 Posts
    923 Views
    RussR
    @kaiontour, unfortunately I only have so much control over what Alexa will recognize, which is why I gave the user the flexibility in that voice field to pick something that Alexa will recognize. You could try "restart kodi" instead of "kodi restart" if that works better.
  • Where to find info on adding commands

    3
    0 Votes
    3 Posts
    1k Views
    S
    Thank you,
  • Google home to return the outcome of a command

    5
    0 Votes
    5 Posts
    2k Views
    RussR
    @gutopa, I've been thinking about your question and how I'd implement a solution. Please look here for what I'm thinking.
  • Rpi VLC

    raspberry pi vlc google home hub chromecast
    5
    0 Votes
    5 Posts
    4k Views
    B
    @russ Thanks I'm away for a week or more, I'll have a crack when I get back.
  • Youtube VBS help needed

    1
    0 Votes
    1 Posts
    864 Views
    No one has replied
  • Create VBScript to run TeaTV

    1
    0 Votes
    1 Posts
    742 Views
    No one has replied
  • Default computer not working for my first created trigger

    2
    0 Votes
    2 Posts
    1k Views
    RussR
    @pnick, For some reason I ran into the same problem when I said, "Alexa, tell Trigger CMD to open movies". Alexa identified "movies" as the name of a computer for some reason. This phrase worked better: "Alexa, ask Trigger CMD to run movies" I'll see if I can "train" Alexa to understand the previous phrase better. EDIT: I see I never implemented "to open" with Alexa. I'll look into adding that, but you can only use these for now: to run to trigger run trigger EDIT 2: There's something strange about how Alexa handles the word movies, so I'd avoid using it as a voice trigger for your command. I've been trying to tell Alexa to recognize movies as a command and she just won't.