Navigation

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

      Open Specific Netflix Movie with Alexa
      Windows • • dlaugh14

      40
      0
      Votes
      40
      Posts
      5417
      Views

      Russ

      @Nico-Ramirez, Google Translate translated what you said to this:
      Question, I use python, when I make sure that the argument is empty, could you help me with what serious or problem, please

      I'm not sure what the problem is. Please clarify.

    • ?

      Google home and TriggerCMD stop working when Google home is set to French
      General Discussion • • A Former User

      39
      0
      Votes
      39
      Posts
      8479
      Views

      Russ

      @buaamm, so far I've added Japanese support for TRIGGERcmd Smart Home - both Alexa and Google Assistant.

      Would you mind testing? Please tell me if I got anything wrong.

    • Russ

      Press the Down Arrow key (or any other key)
      Windows • • Russ

      36
      1
      Votes
      36
      Posts
      5423
      Views

      R

      @russ Would it be possible to press FN key? Cant find information about it, since its not a key present in every keyboard, but mine actually have 2 FN keys and most of my shortcuts needs both of them to be pressed on first. Any thoughts?

    • Matt Packwood

      Freezing in Monterey
      Mac • • Matt Packwood

      35
      0
      Votes
      35
      Posts
      448
      Views

      Matt Packwood

      @russ I saw that, many thanks!

    • Russ

      Autohotkey script for Play, Pause, Volume Up/Down, Next/Previous
      Windows • • Russ

      34
      2
      Votes
      34
      Posts
      14931
      Views

      Russ

      @William-Santiago-Ortiz-Trejos, for some reason your files with a .ahk extension aren't associated with AutoHotkey. That's supposed to happen when you install it, but maybe an antivirus program blocked it?

      To fix it you could try running the batch file in this article from your C:\Program Files\AutoHotkey folder:
      https://www.autohotkey.com/board/topic/13627-no-ahk-file-association/

    • J

      Linux VM - TriggerCMD shows messages like it's working, but commands don't actually execute
      General Discussion • • Joe

      33
      0
      Votes
      33
      Posts
      997
      Views

      Russ

      @Joe,

      1 - Only Foreground Triggers work in a user's regular account - because the background service only runs as root and uses /root/.TRIGGERcmdData.

      2 - Root can support both Foreground and Background Triggers - because you can install the background service (see #1), and because you can login as root and run the agent in foreground mode.

      3 - But running Triggers as Root will mask/override all the Triggers in your regular account - I wouldn't say mask/override, it's just separate as you covered in #4. Running the agent as root will create another separate computer entry in your account associated with /root/.TRIGGERcmdData. That computer will be named the same initially, but you could rename it.

      4 - The exception to (3) is if you can instantiate two "Computers" -- one pointing to Root for the "Background", and a separate "Computer" pointing to your normal Linux account to support the "Foreground" - correct, although as you pointed out in #2, you could also run the foreground agent as root.

      You create a separate computer just by running the agent as the other user. If the ~/.TRIGGERcmdData directory doesn't exist, the agent will prompt you for a token, create a computer record in your account, and store the ID for that computer in the computerid.cfg file.

      Different Linux accounts could setup different computer records, or you could give everyone sudo access to be able to edit /root/.TRIGGERcmdData/commands.json to run background command via the background agent.

      The agent stores the .TRIGGERcmdData directory in the home folder of the user running the agent. The files in that directory are the key point of connection to the mother ship.

      Good questions @Joe.

    • ?

      TRIGGERcmd not starting at boot
      General Discussion • • A Former User

      33
      1
      Votes
      33
      Posts
      592
      Views

      ?

      @Paulo-Filho You can use any exe-bat converter. But Russ updated the software, now it should work even without the bat fix

    • Steve Porter

      Command format on Raspi
      Raspberry Pi • • Steve Porter

      32
      0
      Votes
      32
      Posts
      266
      Views

      tuicemen

      @steve-porter yep that will mess things up. I remember reading another post about that so that isn't something that you alone have experienced. I found a couple times the file didn't update for me for different errors in command lines.
      I've gotten into the habit of double checking if it saves.

    • Russ

      Raspberry Pi setup
      Raspberry Pi • raspberry pi • • Russ

      31
      0
      Votes
      31
      Posts
      11661
      Views

      Russ

      @George-Hatzisymeon, sorry I never responded to this. I just noticed it because someone upvoted it.

      I just verified that the offCommand commands.json value is supported in the current version of the Raspberry Pi agent. If you were using that version and it didn't work, then maybe you were missing this part:

      "allowParams":"true"

      Here's an example entry I just tested. It turns my led strip off if the parameter was off, and if the parameter was on, it turns the strip on and makes the leds green.

      { "trigger":"Green", "command":"\/root\/killrun.sh leds.py green", "offCommand": "\/root\/killrun.sh leds.py off", "ground":"background", "voice":"green", "allowParams":"true" },
    • Russ

      SmartThings integration - flip a virtual switch to run a command
      Instructions • • Russ

      30
      0
      Votes
      30
      Posts
      13861
      Views

      ipaivaip

      @Russ said in SmartThings integration - flip a virtual switch to run a command:

      Handler

      It works like a charm!
      I have just follow the instructions, and had it immediately working. Still good at 2021

    • F

      No puedo conectar a triggercmd desde google homa
      General Discussion • • Fernando Mateos

      29
      0
      Votes
      29
      Posts
      4542
      Views

      Roberto Otero

      @Russ Thank u Ross.

    • N

      ahcmd.exe problem
      General Discussion • • newstuffoldstuff

      28
      0
      Votes
      28
      Posts
      176
      Views

      Russ

      @newstuffoldstuff, I see. If you want to avoid reducing your User Access Control setting, you could try installing the background service and running it as a background command. It will run as Local System.

    • Tiago Mártires

      Boot on Arch
      General Discussion • • Tiago Mártires

      27
      0
      Votes
      27
      Posts
      653
      Views

      Gustavo Soares

      @Russ, very good. I think applying a decode('utf-8') should solve this problem. I really hadn't tried using special characters yet.

    • Russ

      How to use IFTTT with TRIGGERcmd
      Instructions • • Russ

      25
      0
      Votes
      25
      Posts
      19998
      Views

      Russ

      @Mittal-Makwana, nice, what command does that?

    • N

      Google Home
      General Discussion • feature request • • nathan7

      25
      0
      Votes
      25
      Posts
      4373
      Views

      P

      @Russ Thanks for the clarification. That was my understanding as well - to share TRIGGERcmd for all, either everybody has to use Voice Match or nobody can use it. Unfortunately, the children really want to use the Voice Match (required to teach Google Home important things such as names of our cats etc) while both me and my wife are strictly against Voice Match for us. That means that the children could share TriggerCMD but no solution for the adults. And we'd need TriggerCNS exactly mainly for the adults...

      I understand it's a relatively specific situation though, so probably no solution will be available. I was hoping for something similar to Spotify (that works also for non-VoiceMatch members of the household) but I understand it may be difficult to achieve. Thanks for your efforts anyway!

    • Xander

      Never used parameters before...
      Windows • • Xander

      25
      0
      Votes
      25
      Posts
      825
      Views

      Royher Figuera

      @Russ said in Never used parameters before...:

      @Royher-Figuera, in a .bat file, the syntax for a parameter is %1 for the first parameter, and %2 for the second parameter, etc.

      So you could make a simple batch file that google's something like this:

      start https://www.google.com/search?q=%1

      @Russ Yes, my mistake.

      I have a error in my .bat file with a "$" and "%". I compare with my google.bat and this is ok and modified the another files.

      Thank You

    • C

      Feature request: Leave off computer name when issuing an Alexa command
      General Discussion • • Christian Robinson

      24
      0
      Votes
      24
      Posts
      8254
      Views

      ?

      @russ
      Got it. Looks like you already set that up for me .. as I could see my laptop on the default computer field .. and it is working ! Thank you!

      P.S: Is there a location on this forum or site for "How-to's" / Knowledge base - for people to find such information there .. if yes, please direct me to the same, if not, might be a good idea to create one 🙂

    • MAX MAGALHAES

      Start netflix app
      Windows • • MAX MAGALHAES

      24
      2
      Votes
      24
      Posts
      2496
      Views

      Rodolfo Lincango

      @Russ , es mi mismo caso, si esta instalado pero me sale el anuncio, me podrias ayudar por favor.

    • S

      Install from github repo?
      General Discussion • • stevef9432203

      23
      0
      Votes
      23
      Posts
      2935
      Views

      Russ

      @stevef9432203, no, but you could change this line to set your "homedir" to something else.

      homedir = (process.platform === 'win32') ? process.env.HOMEPATH : process.env.HOME;

      Or maybe you could symlink your ~/.TRIGGERcmdData folder to a path on your hard drive.

    • ?

      Mac app issues
      General Discussion • • A Former User

      22
      0
      Votes
      22
      Posts
      4875
      Views

      Russ

      @pico, that's interesting. I'll experiment with that. I hope it works. Thanks for the suggestion.

      EDIT: I worked on it for a while and didn't get it working. I couldn't get it to add the Login item while it's quarantined. I think that's a mac security feature for apps downloaded outside of the app store.