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

      Support Storage Appliances and Advanced Routers

      • • stevef9432203
      2
      0
      Votes
      2
      Posts
      697
      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

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

      S

      Be sure to to autostart the service boot -
      sudo systemctl enable triggercmdagent.service

    • S

      Can you feed back information to Alexa

      sendresult • • snantz
      6
      0
      Votes
      6
      Posts
      2.5k
      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.
      Upgrade Check Result

    • H

      TriggerCMD keeps repeating command after script execution

      • • holycow
      1
      0
      Votes
      1
      Posts
      507
      Views

      No one has replied

    • Z

      Can I edit triggers I have previously created?

      • • zipster1967
      3
      0
      Votes
      3
      Posts
      808
      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?

    • J

      A JavaScript error occurred in the main process

      • • jorgee
      2
      0
      Votes
      2
      Posts
      1.4k
      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.

    • C

      WoL from Mac

      • • CMac
      3
      0
      Votes
      3
      Posts
      3.1k
      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!

    • A

      Multiple Users - One RPi

      • • Atmosphere
      2
      0
      Votes
      2
      Posts
      1.0k
      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.

    • J

      Installation Issues / Operational Issues

      help • • jdeuel
      7
      0
      Votes
      7
      Posts
      2.6k
      Views

      RussR

      Thanks @jdeuel.

    • K

      command.json.backup error on windows agent install

      • • Karl G
      3
      0
      Votes
      3
      Posts
      1.2k
      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.

    • A

      This topic is deleted!

      • • Arthur V
      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • K

      voice command with blank

      • • kaiontour
      2
      0
      Votes
      2
      Posts
      798
      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.

    • S

      Where to find info on adding commands

      • • snantz
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      S

      Thank you,

    • G

      Google home to return the outcome of a command

      • • gutopa
      5
      0
      Votes
      5
      Posts
      2.0k
      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.

    • B

      Rpi VLC

      raspberry pi vlc google home hub chromecast • • Belleye
      5
      0
      Votes
      5
      Posts
      3.7k
      Views

      B

      @russ Thanks I'm away for a week or more, I'll have a crack when I get back.

    • P

      Youtube VBS help needed

      • • PNick
      1
      0
      Votes
      1
      Posts
      758
      Views

      No one has replied

    • P

      Create VBScript to run TeaTV

      • • PNick
      1
      0
      Votes
      1
      Posts
      649
      Views

      No one has replied

    • P

      Default computer not working for my first created trigger

      • • PNick
      2
      0
      Votes
      2
      Posts
      925
      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.

    • N

      Alexa and TRIGGERcmd, "Could not find a computer with voice word gate (old, and long gone from website), try again, or say Stop if you're done"

      • • nathan7
      5
      0
      Votes
      5
      Posts
      1.6k
      Views

      RussR

      @nathan7, if you delete your commands.json file, it will replace it with the original.

    • S

      Use trigger command in Alexa Routines

      • • sbfmorriston
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      RussR

      The only way I know how to do it is via SmartThings.

      Alexa routine -> SmartThings -> TRIGGERcmd -> computer