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

      TRIGGER routine from another app linked to Alexa

      • • Mauro
      2
      0
      Votes
      2
      Posts
      279
      Views

      RussR

      @Mauro, yes, you can start an Alexa routine whenever you trigger a command.

      It requires the TRIGGERcmd Smart Home alexa skill to be enabled, then you can

      These are the instructions:
      https://www.triggercmd.com/forum/topic/1844/run-an-alexa-routine-when-a-command-runs

      This video also shows how it works:
      https://youtu.be/nrqj-OwDpGE?si=xuuR4yfWZZho9Dqw&t=199

    • MauroM

      How open triggercmd gui with command

      • • Mauro
      7
      0
      Votes
      7
      Posts
      462
      Views

      MauroM

      ; Defina a cor do pixel que você deseja localizar (no formato RGB hexadecimal)
      CorPixelDesejado := 0xd5492a ; Por exemplo, vermelho

      ; Use a função PixelSearch para localizar o pixel
      PixelSearch, EncontradoX, EncontradoY, 0, 0, A_ScreenWidth, A_ScreenHeight, %CorPixelDesejado%

      ; Verifique se o pixel foi encontrado
      If ErrorLevel = 0
      {
      ; Movimente o mouse para as coordenadas encontradas (X, Y)
      MouseMove, %EncontradoX%, %EncontradoY%

      ; Clique no pixel Click

      }

      ; Sair do script após a execução do macro
      ExitApp

    • HeeHangH

      I'm trying to run a console application I created using make.com's TriggerCmd.

      • • HeeHang
      2
      0
      Votes
      2
      Posts
      617
      Views

      Steve LeeS

      @HeeHang I know nothing about Make.com but TRIGGER cmd runs windows cmd commands and Windows has the parts to make it possible. Basically you probably want to add something like the following to a cmd/bat file and run that from TRIGGERcmd

      start "" app.exe /s timeout /t 5 taskkill /im app.exe /f start runs app.exe in a new process timeout waits a few seconds before returning taskkill /im kills task by name - assuming it is only one

      If you have a script rather than an exe the run: cmd /c "my.cmd"

      Hope that helps

    • Steve LeeS

      Alexa keeps hearing "perameter" as"perimeter"

      • • Steve Lee
      7
      0
      Votes
      7
      Posts
      394
      Views

      Steve LeeS

      @Russ yay! I'll give it a go

    • A

      Commands marked as executed, but nothing happens

      linux launching apps foreground service help needed • • aandrews
      5
      0
      Votes
      5
      Posts
      478
      Views

      A

      @Russ It makes sense, thank you again. I will try this as soon as possible but I'm hopeful it'll finally work as I intended

    • Steve LeeS

      extending the smart home skill

      • • Steve Lee
      3
      0
      Votes
      3
      Posts
      251
      Views

      Steve LeeS

      @Russ Oh, I must have misunderstood, they seemed to in the articles I linked. Oh well, shame and very limiting to skill creators. may words get pick on my Alexa for other purposes - eg play - so it's hard.

    • Pedro Dias 0P

      "FN + Page Up"

      • • Pedro Dias 0
      2
      0
      Votes
      2
      Posts
      150
      Views

      Steve LeeS

      @Pedro-Dias-0 said in "FN + Page Up":

      é possível criar um comando no arquivo .bat para executar essa função do teclado? "FN + Page Up"

      Some programs like AutoHotkey can be called to simulate key presses.

      However FN keys are usually invisible to Windows and used by the manufacturer to do hardware specific things. Maybe check if AutoHotkey can simulate the FN key.

    • Pedro Dias 0P

      windowns ! uso dois monitores e quero um comando para desligar somente 1 monitor

      • • Pedro Dias 0
      3
      0
      Votes
      3
      Posts
      403
      Views

      Pedro Dias 0P

      @Russ Certo, vou tentar

    • william siqueiraW

      Compatibility with Debian 12

      • • william siqueira
      4
      0
      Votes
      4
      Posts
      188
      Views

      RussR

      @william-siqueira, thank you for the screenshots. That helps.

      Notice the data folder for the background agent is in root's home folder, not your williams user.

      /root/.TRIGGERcmdData

      I also see No token exists. Login to request one. So you can probably fix it if you run:

      sudo su - triggercmdagent --console (paste in your token)

      Or you could copy your /home/william/.TRIGGERcmdData folder to /root/.TRIGGERcmdData so it won't create a second computer in your account because you already have a computerid.cfg file in /home/william/.TRIGGERcmdData and the background agent that will run as root will use that computer id.

    • Steve LeeS

      A little feedback

      • • Steve Lee
      13
      0
      Votes
      13
      Posts
      589
      Views

      RussR

      @Steve-Lee, thank you for doing that!

    • MauroM

      Problem with baniment in amazon

      • • Mauro
      7
      0
      Votes
      7
      Posts
      271
      Views

      RussR

      @Mauro I'm glad you figured it out.

    • Steve LeeS

      Sometime get duplicate devices

      • • Steve Lee
      4
      0
      Votes
      4
      Posts
      208
      Views

      Steve LeeS

      @Russ

      aha - my bad!

      I had voice set to "mac pitch" for both.

      I could have sworn voice was ignored for Smart Home and trigger became the device name.

    • william siqueiraW

      Compatibility with Debian 12

      • • william siqueira
      4
      0
      Votes
      4
      Posts
      138
      Views

      RussR

      @william-siqueira, first you could make sure the default commands you have in your commands.json run when you click the green Trigger button in your account.

      The background commands (the commands with ground = background) will run if you've installed the background service using installdaemon.sh, but you'll need to use ps -ef to check whether they ran because they don't run in the foreground where you can see them.

      After that, you can add your own commands by copying one of those lines, and editing the command field to be your own command.

    • dougcoltD

      Spotify commands when song is playing

      • • dougcolt
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      RussR

      @Sadiethompson, can you be more specific? What problem?

    • Steve LeeS

      Voice Parameter

      • • Steve Lee
      4
      0
      Votes
      4
      Posts
      214
      Views

      Steve LeeS

      @Russ Sorry for being unclear.

      Yes the smart home skill.

      Ah. So the device name appears to be the Trigger field and as I used the same for both fields all is good 🙂 I hadn;t grokked that Voice was being ignored.

      In fact I eventually found I can use two words for device name (trigger field). You have to be careful as uncommon words can be confused and second words like "play" or "run" can get misinterpreted to do other things as Alexa already handles them.

      I do not see "on" or "off" passed as parameters, but the Command or Off Command get invoked as expected. Speaking a number, percent or colour do get passed to either command as a parameter as expected.

      The voiceReply seems to be ignored by smart home devices and it always says "OK" unless you use the Alexa App setting to make a noise instead. Is there anyway to get the voice reply to work? I expect as you ignore the voice fields the answer is no 😞

      btw I found a useful debugging tool is to add a start to my processing cmd file open a window. eg

      start "" echo "[%1][%2][%3]"

      That helped me fix an obscure reason some variables were not being expanded when the cmd was invoked from TRIGGERcmd but worked fine from the cmd shell.

      Maybe the Runs could show the command return value and outputs to stdout and stderr to help debugging? But that would require more server storage I guess.

    • Steve LeeS

      Multiple parameters

      • • Steve Lee
      7
      0
      Votes
      7
      Posts
      281
      Views

      Steve LeeS

      @Steve-Lee said in Multiple parameters:

      doesn't work with a colour, just get error

      but "alexa turn notepad green" gets notepad to open green.txt 🙂

    • Sean MeehanS

      Subscription cancel

      • • Sean Meehan
      1
      0
      Votes
      1
      Posts
      74
      Views

      No one has replied

    • Thomas Vander SticheleT

      IFTTT with Google Calendar: description parameter triggering an error "Action failure message: Illegal characters in parameters"

      • • Thomas Vander Stichele
      8
      0
      Votes
      8
      Posts
      296
      Views

      Steve LeeS

      @Russ yeah, I meant similar to XSS really - untrusted input getting passed and parsed 🙂 And no way to escape. Thanks for explanation.

    • Michael VecchiarelliM

      Bulk Create Commands

      • • Michael Vecchiarelli
      6
      0
      Votes
      6
      Posts
      156
      Views

      Steve LeeS

      @Russ perfect!

    • Steve LeeS

      how do I pay?

      • • Steve Lee
      5
      0
      Votes
      5
      Posts
      189
      Views

      RussR

      @Steve-Lee, sure, I'll add those.