TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • S

      Question

      General Discussion
      • • • Smart Communities
      14
      0
      Votes
      14
      Posts
      1.3k
      Views

      RussR

      No problem at all @Smart-Communities. I'm glad you asked.

    • A

      Installation on Second Mac

      Mac
      • • • abaratz
      14
      0
      Votes
      14
      Posts
      1.6k
      Views

      RussR

      @abaratz, you're welcome. I'm glad that worked as a work-around. Thank you for reporting the problem too.

      If anyone else experiences this problem, please tell me.

    • RussR

      Samsung SmartThings can trigger commands via TRIGGERcmd

      Announcements
      • • • Russ
      13
      0
      Votes
      13
      Posts
      6.8k
      Views

      R

      @Russ Hi Russ I had some issues with my raspberry Pi SD card corrupting and then trying to remember how I'd set it all up in the first place so wasn't using the app for a while.
      However, I checked now and it's all working fine with no issues with the on/off status.
      Thanks for your excellent work !

    • ?

      Can not install Triggercmd on Rasbian Raspberry Pi

      General Discussion
      • • • A Former User
      13
      0
      Votes
      13
      Posts
      5.0k
      Views

      RussR

      @rexabbot, no, but if you want to run foreground commands that launch GUI application like a browser, you can open a terminal window within X-Windows, and run triggercmdagent. That will run the agent in foreground mode.

      Unfortunately you won't be able to use the GUI editor though, so you'll have to edit the commands.json file manually with vi or pico.

    • ?

      triggercmdagent : Depends: nodejs-legacy but it is not installable

      General Discussion
      • • • A Former User
      13
      0
      Votes
      13
      Posts
      5.3k
      Views

      RussR

      @superpan, you can see here I'm using wayland:

      TRIGGERcmd Ubuntu

    • RussR

      How to run commands from Home Assistant

      Home Assistant
      • • • Russ
      13
      0
      Votes
      13
      Posts
      11.8k
      Views

      RussR

      @rdaraujo, yes, it runs the commands locally without the 1 command per minute limit even if you're not subscribed.

    • M

      Smart reply for voice with parameters

      General Discussion
      • • • MysticNynja
      13
      0
      Votes
      13
      Posts
      3.7k
      Views

      RussR

      @colegl and @phil-tanguay, I implemented this today for Google Assistant. I'm working on Alexa now.

      I put this in my Voice Reply field of my Notepad command (I should have just created a new command):

      Running {{trigger}} on {{computer}} with params {{params}} with result {{result}}

      I put this in the Command field:

      %USERPROFILE%\.TRIGGERcmdData\sendresult "My command result"

      I said this:

      Ask trigger command to run notepad with parameter russ

      Google Assistant said this:

      Running notepad on DS with params russ with result My command result

      I'm pretty happy with how it turned out.

      I only gave about 4-5 seconds to send a result via that SendResult.bat script. If you take too long, it will say "no result" in the {{result}} placeholder.

      EDIT: Now you can do this with Alexa too.

    • E

      Running multiple TriggerCMD Agent instances on a single machine

      General Discussion
      • • • esaltat
      13
      0
      Votes
      13
      Posts
      1.4k
      Views

      E

      @russ

      Sorry for the late reply, I didn't get any issues in the past few days, It seems to be completely working fine right now. Thanks for the help!

    • D

      Is server down?

      General Discussion
      • • • DavidPennington
      13
      0
      Votes
      13
      Posts
      1.6k
      Views

      TsubakiT

      @russ, I've confirmed that the Alexa skill is working! Thanks for the rapid response!

    • Bruno TomarchioB

      PROBLEM WITH STARTING THE PROGRAM

      Windows
      • error • • Bruno Tomarchio
      13
      0
      Votes
      13
      Posts
      1.6k
      Views

      RussR

      @Bruno-Tomarchio, ok good. Thanks for letting me know.

    • tuicemenT

      Feature request: Add ability to Dim with Alexa & Google

      General Discussion
      • feature request google assistan alexa • • tuicemen
      13
      0
      Votes
      13
      Posts
      2.1k
      Views

      RussR

      @tuicemen,

      This is actually wrong ^. "deviceType":"light" is not a thing.

      If adding that made it work, it's because when you change a command, TRIGGERcmd deletes and re-creates the Alexa smart home device. That needed to happen for the Alexa device associated with your command to have the new brightness feature.

      Sorry I didn't tell you that sooner. Any newly created commands will have the new brightness and color features. Old commands just need to be changed so they get re-created. Or you can delete and re-discover them at https://alexa.amazon.com.

      Also btw, only Alexa supports brightness and color so far. I'll look into Google Assistant soon.

      EDIT 3/21/22: The "TRIGGERcmd Smart Home" action on Google Assistant supports color and brightness now too.

    • Steve LeeS

      A little feedback

      General Discussion
      • • • Steve Lee
      13
      0
      Votes
      13
      Posts
      1.2k
      Views

      RussR

      @Steve-Lee, thank you for doing that!

    • JRSF HomeJ

      Opening in a particular Window size

      General Discussion
      • • • JRSF Home
      13
      0
      Votes
      13
      Posts
      586
      Views

      RussR

      @JRSF-Home, sorry, I forgot (again) that timeout command doesn't wait if the script is running in a context that doesn't have a console, like when the TRIGGERcmd agent runs it. It just moves on immediately.

      This chatgpt session explains it: https://chatgpt.com/share/691cf13c-2f64-8004-8b12-78dd516285a9

      You can see here that another user had the same problem.

      My suggestion is to use the ping command like this:

      ping 127.0.0.1 -n 3

      Adjust that 3 number depending on how long you want to wait.

      Here's my improved script that uses ping to wait, and it uses CTRL-SHIFT-J to go directly to the Console tab:

      "C:\Program Files\Google\Chrome\Application\chrome.exe" --new-window https://www.youtube.com/watch?v=1I9qC0Zo_PM ping 127.0.0.1 -n 5 REM x y width height nircmd win setsize stitle "Allow friends to control Spotify" 200 100 800 1000 nircmd win activate stitle "Allow friends to control Spotify" REM open dev tools to the Console tab nircmd sendkeypress ctrl+shift+j ping 127.0.0.1 -n 3 REM type document.querySelector('like-button-view-model button[aria-label*="like"]').click() nircmd sendkeypress d o c u m e n t 0xBE q u e r y Shift+s e l e c t o r Shift+0x39 0xDE l i k e 0xBD b u t t o n 0xBD v i e w 0xBD m o d e l spc b u t t o n 0xDB nircmd sendkeypress a r i a 0xBD l a b e l Shift+0x38 0xBB Shift+0xDE l i k e Shift+0xDE 0xDD 0xDE Shift+0x30 0xBE c l i c k Shift+0x39 Shift+0x30 REM press enter nircmd sendkeypress 0x0D ping 127.0.0.1 -n 2 REM close dev tools nircmd sendkeypress F12

      Here's a video of it working on my laptop: https://youtu.be/p-uJ8j1__zw

    • ?

      Subscription mail

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

      RussR

      You're welcome @davboc. Thanks again for finding that Paypal bug.

    • ?

      TriggerCMD says that it can't find the computer

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

      RussR

      @buddahs808 ,

      The trick is to use a simple word for google to hear in the 'voice' field for the command.

      Does 'calculator' work?

    • M

      command ques

      General Discussion
      • • • mike cornelison
      12
      0
      Votes
      12
      Posts
      3.2k
      Views

      RussR

      @mike-cornelison, I finally figured it out. Please try "floor lamp" with Cortana again. I think it will work now.

    • ?

      Can't add triggercmd to Google Home

      General Discussion
      • • • A Former User
      12
      0
      Votes
      12
      Posts
      4.3k
      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.
    • T

      No tray icon on Ubuntu 18.04, can't add triggers

      General Discussion
      • • • Tuxer
      12
      0
      Votes
      12
      Posts
      2.7k
      Views

      Caue SantosC

      i changed the interface from GTK 3 to cinnamon and solve the problem

    • I

      Pass parameters when using bookmark URLs?

      General Discussion
      • • • Insaneoctane
      12
      0
      Votes
      12
      Posts
      5.8k
      Views

      B

      Thank you 🙂

    • Byron TranthamB

      Multiple Users (Revised)

      General Discussion
      • • • Byron Trantham
      12
      0
      Votes
      12
      Posts
      1.2k
      Views

      RussR

      @Byron-Trantham, sorry about the extra work but I'm glad you have a solution now.