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
    • Web em SegundosW

      Alexa ask to reactivate every week

      • • Web em Segundos
      2
      0
      Votes
      2
      Posts
      65
      Views

      RussR

      @Web-em-Segundos, there's one thing that I know can cause that problem. If you link an Alexa/Amazon account to your TRIGGERcmd account, then link another Alexa/Amazon account to the same TRIGGERcmd account, the first Alexa/Amazon account will stop working.

      Is it possible that's happening to you?

    • T

      Trigger an Alexa or SmartThings device?

      • • TomberWolf
      2
      0
      Votes
      2
      Posts
      165
      Views

      RussR

      @TomberWolf, good question. You can have TRIGGERcmd run a "curl" command that calls the IFTTT Webhooks API to run an applet that turns your SmartThings switch on.

      You'll need your IFTTT webhooks key, which you can get at this page:
      https://ifttt.com/maker_webhooks/settings

      You'll see a URL like this: https://maker.ifttt.com/use/asdfasdfblahblah

      The bold part of that URL is your webhooks key.

      Setup a TRIGGERcmd command like this, where front_light is your Webhook applet's Event Name.

      curl https://maker.ifttt.com/trigger/front_light/with/key/asdfasdfblahblah

      When you make your applet, search for Webhooks as your This part.

      85f37092-5ae6-47a6-b3eb-b2f75ff0e684-image.png

      e0c34fde-96a7-45ce-960d-170a17cd0ba1-image.png

      If you use Windows, you can download curl from here.

    • J

      Triggers disappearing

      • • jpe81
      6
      0
      Votes
      6
      Posts
      223
      Views

      RussR

      @jpe81, for Docker, these posts might be useful to you:

      https://www.triggercmd.com/forum/topic/780/how-to-reduce-size-by-removing-dubious-dependencies/4
      https://www.triggercmd.com/forum/topic/451/run-the-triggercmd-linux-agent-in-a-docker-container

      It should work fine on Alpine Linux. The agent.js script really just needs NodeJS to run.

    • Sync CrazyS

      need help

      • • Sync Crazy
      2
      0
      Votes
      2
      Posts
      162
      Views

      Royher FigueraR

      @Sync-Crazy Yes you can. Search in the forum.

      Here my examples:

      Close apps

      {
      "trigger": "Cerrar Calculadora",
      "command": "taskkill /f /im Calculator.exe",
      "ground": "foreground",
      "voice": "Cerrar Calculadora",
      "voiceReply": "Cerrando Calculadora"
      },

      Restart

      {
      "trigger": "Reiniciar en 10 segundos",
      "command": "shutdown /r /t 10",
      "ground": "background",
      "voice": "Reiniciar",
      "voiceReply": "Reiniciar Desktop"
      },

    • A

      32 Bit GUI TriggerCMD Editor

      • • A McF
      15
      0
      Votes
      15
      Posts
      2.1k
      Views

      EmanuelE

      @Russ The commands were working on the site, I did what you said and it worked.

      Thanks!

    • raffles hoganR

      Overall questions including motion detection, voice response, and integration.

      • • raffles hogan
      2
      0
      Votes
      2
      Posts
      95
      Views

      RussR

      @raffles-hogan, as far as I know, there's no way to invoke an Alexa skill or Google Assistant action without saying the wake words like "Alexa" or "Hey Google" first.

      About pressing a key - you would have to create the scripts folder and create the script that presses a key. Also, if the computer is actually off, nothing can run on it. I think the post you read was about turning the monitor on.

      This page lists all the ways you can trigger commands. I pasted the section that shows the Smart Home and original skills here:

      Smart Home voice assistant skills (Example: "Hey Google, turn on calculator")

      "TRIGGERcmd Smart Home" Alexa skill "TRIGGERcmd Smart Home" Google Assistant action

      Original voice assistant skills (Example: "Alexa, ask TRIGGERcmd to run calculator"):

      Alexa skill Google Assistant action
    • RussR

      My wife always says Thank You to Alexa :)

      • • Russ
      2
      0
      Votes
      2
      Posts
      1.0k
      Views

      Royher FigueraR

      @Russ Jajajaja, that's happens... my father says thank you Alexa too and thank you google.

    • 안

      Google Assistant can't recognize TRIGGERcmd

      • • 안형근
      4
      0
      Votes
      4
      Posts
      571
      Views

      M

      @Russ said in Google Assistant can't recognize TRIGGERcmd:

      @안형근 , I see from your screenshots that you seem to have done everything correctly, but I worry it won't work in your area if you can't search for TRIGGER C M D in the directory and find it. You could try one more thing: please try saying, Alexa, talk to TRIGGER C M D. If that works one time, I think Google Assistant is more likely to associate this phrase with the TRIGGERcmd action: "Alexa, ask TRIGGER C M D to run Calculator".

      Another idea is to try using IFTTT's webhook system to call the TRIGGERcmd API. Then you should be able to say, "Alexa, trigger X", where X is the "specific phrase" you'd use with the Alexa "Say a specific phrase" option in your IFTTT recipe.

      Here's an article about how to use IFTTT with TRIGGERcmd:
      https://www.triggercmd.com/forum/topic/31/how-to-use-ifttt-with-triggercmd

      Either way keep up the excellent quality writing.

    • Ilya AlshineI

      GH TriggerCMD Smart Home stopped working

      • • Ilya Alshine
      8
      0
      Votes
      8
      Posts
      209
      Views

      RussR

      @Ilya-Alshine, maybe. I'll think about that.

    • Alexandre SousaA

      "Voice Replay"

      • • Alexandre Sousa
      4
      0
      Votes
      4
      Posts
      201
      Views

      RussR

      @Alexandre-Sousa, does your command run but Alexa says nothing?

      Also, which Alexa skill are you using? If you're saying, "Alexa, turn on X", that's the Smart Home skill, which doesn't use the Voice Reply field.

    • K

      Create Trigger to use macOS terminal to Ping domain

      • • kbnetguy
      2
      0
      Votes
      2
      Posts
      391
      Views

      RussR

      @kbnetguy, this command should work on a Mac:

      dig +short www.triggercmd.com | tail -n1

      I included the tail -n1 to use only the first line in case the host name returns multiple IP's.

      You probably know this, but to assign the result to an environment variable you can do this:

      export IP=$(dig +short www.triggercmd.com | tail -n1) echo $IP

      If you must use ping, let me know. I had that command figured out for Linux, but Mac's ping and grep are different.

    • J

      Website control??

      • • Joan Canario
      2
      0
      Votes
      2
      Posts
      90
      Views

      RussR

      @Joan-Canario, you should be able to use selenium to do that. What's the website? I can probably do an example.

      I might use this: https://automatetheboringstuff.com/chapter11/

    • Călin Cătălin AlexandruC

      Raspberry Pi OS (64 bit)

      • • Călin Cătălin Alexandru
      6
      0
      Votes
      6
      Posts
      136
      Views

      RussR

      Awsome, @Călin-Cătălin-Alexandru I'm glad you figured it out.

    • Maximiliano FarinaroM

      trouble with installation

      • • Maximiliano Farinaro
      2
      0
      Votes
      2
      Posts
      99
      Views

      RussR

      @Maximiliano-Farinaro, can you confirm your Windows version is 64bit Windows 10? I've seen problems like this on 32bit Windows.

    • VRMan3DV

      Alexa - bugs & make command called shutdown confuses skill.

      • • VRMan3D
      2
      0
      Votes
      2
      Posts
      308
      Views

      RussR

      @VRMan3D, that's funny about using "shutdown". Yea unfortunately Alexa reserves certain words like "stop" and apparently "shutdown".

      What word are you using for your "Voice" word for your command? Alexa understands certain words better than others.

      It often helps to look at your voice command history at https://alexa.amazon.com/ to see what she heard. You can compare your voice word to what Alexa hears to pick something she hears well every time.

      Another option is to use the TRIGGERcmd Smart Home skill. You say, "Alexa, turn on notepad" instead of "Alexa, ask TRIGGERcmd to run notepad." The Smart Home skill works better because Alexa knows your commands ahead of time and only has to match what you said to one of your commands.

    • Paulo EduardoP

      How to run `code .` and `yarn start` on macOS?

      • • Paulo Eduardo
      3
      0
      Votes
      3
      Posts
      98
      Views

      RussR

      @Paulo-Eduardo, awesome. Nice job. I'm glad you got it working.

    • Raphael NevesR

      Processing rate limit for multiple triggers

      • • Raphael Neves
      2
      0
      Votes
      2
      Posts
      167
      Views

      RussR

      @Raphael-Neves, yes, if you subscribe you can run more than 1 command per minute.

    • eggbeanE

      How to reduce size by removing dubious dependencies?

      • • eggbean
      5
      0
      Votes
      5
      Posts
      182
      Views

      RussR

      @eggbean, man that is brilliant! Nice job. I can't wait to read that blog post. I might want to do something similar.

      You don't need npm to run the agent. It's useful for installing the dependencies but it makes sense to remove it after.

      Thanks for sharing.

    • NaNo NetN

      I need help to "javascript error occurred in the main process"

      • • NaNo Net
      9
      0
      Votes
      9
      Posts
      725
      Views

      NaNo NetN

      @Russ 6aaf83bd-9770-4de5-a697-781d7b5ba91f-image.png

    • Alcir JuniorA

      Difficulty executing commands in the shell script

      • • Alcir Junior
      4
      0
      Votes
      4
      Posts
      184
      Views

      RussR

      @Alcir-Junior, awesome.