• 0 Votes
    2 Posts
    537 Views
    I
    can anyone help with this?
  • Run your commands without the Internet

    1
    0 Votes
    1 Posts
    528 Views
    No one has replied
  • How to make triggers on Android

    3
    0 Votes
    3 Posts
    2k Views
    S
    @345676543 there are a few ways of doing this. I assume you’re sitting at your pc when you want to do this. 1 - The simplest and easiest method doesn’t involve triggercmd. It would be to download the Android subsystem or bluestacks and have the Google home app right on your pc. 2 - use triggercmd with a browser automation bot on home.google.com. This can only run routines. 3 - use ifttt but with the smart plug brand since google home doesn’t work with ifttt. Recipe would be triggercmd to Wemo or Smarthings instead of google home. You would create commands that don’t really do anything besides let ifttt know they’ve been fired off.
  • Questions

    3
    0 Votes
    3 Posts
    2k Views
    XanderX
    @Russ I'm trying to get this to work on an old (out of date) Win10 micro-PC that's x86. {"trigger":"Users","command":"schtasks.exe /run /tn users","ground":"background","voice":"users"}, Here's the command in the JSON file. If I run the schtasks from a command prompt, it works. If I try to trigger this, it doesn't. Am I missing some syntax? (The goal is to run a batch file at c:\ which deletes a file in Program Files and replaces it with a backup.) EDIT: Just needed to change it to Foreground ‍️
  • Encender pc de mi celular

    2
    0 Votes
    2 Posts
    896 Views
    RussR
    @Christian-Paul-Robalino-Villa , on Windows you can use this program to send the magic packet to the other computer on your network that you want to turn on: https://www.nirsoft.net/utils/wake_on_lan.html On Mac and or Raspberry Pi you can use the wakeonlan command. https://www.triggercmd.com/forum/topic/359/wol-from-mac/2
  • charged too many times..

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    steve gardinier 0S
    @Russ thanks got it running
  • Can't access machine list/login page

    3
    0 Votes
    3 Posts
    618 Views
    RussR
    @bitbash, you can check the status of the servers now using this page: https://status.triggercmd.com
  • Zapier + triggercmd + Alexa workflow help

    2
    0 Votes
    2 Posts
    918 Views
    RussR
    @Gary-Luk, this should be doable. The first step I would tackle, if you haven't already, is to create an "on" Alexa routine that turns your Kasa plug on when you trigger a command, then do the same for "off". This Youtube video shows how to connect Alexa routines to TRIGGERcmd triggers. It requires the TRIGGERcmd Smart Home Alexa skill to be enabled first. For the script, I asked the TRIGGERcmd AI Script Assistant this: [image: 1705536444898-1583834d-6ba4-4772-b402-a464b3ce60c9-image.png] This was the response: import gspread from oauth2client.service_account import ServiceAccountCredentials import requests import time # Set up credentials to access Google Sheets API scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive'] creds = ServiceAccountCredentials.from_json_keyfile_name('path/to/credentials.json', scope) client = gspread.authorize(creds) # Open the Google Sheet with the schedule sheet = client.open('Schedule').sheet1 # Loop through the rows of the schedule while True: for row in sheet.get_all_records(): # Get the current time current_time = time.strftime('%H:%M') # Check if it's time to turn something on if current_time == row['On Time']: # Call the HTTPS API to turn something on response = requests.post('https://api.example.com/turn-on') # Check if it's time to turn something off if current_time == row['Off Time']: # Call the HTTPS API to turn something off response = requests.post('https://api.example.com/turn-off') # Wait for 1 minute before checking the schedule again time.sleep(60) You'll need to replace that generic API example with one that calls the trigger command API instead.
  • Passing multi-word parameters.

    4
    0 Votes
    4 Posts
    1k Views
    RussR
    @Trey-Chance, this is the basic speech formula to use the TC conversational Alexa skill: Alexa, ask TC to run notepad with parameter X. So in your case it would be something like this: Alexa, ask TC to run Play Media with parameter Seinfeld on Shield. BUT, I want to caution you that the conversational skills don't match your words to your commands as well as the Smart Home skill, so if you can somehow do what you want using the TRIGGERcmd Smart Home skill, I recommend it. The Smart Home skill can pass on or off but it can also pass number from 1 to 100, so in your case you could create a command with voice word "Livingroom," and enable parameters, then say, "Alexa, Livingroom 10" or "Alexa, Livingroom 20" and script would use a numbered list of media to play the right media on your Livingroom shield device.
  • 0 Votes
    2 Posts
    1k Views
    RussR
    @Arturo-Martínez, your error tells me you're using the Windows version of package.json. Please try copying ubuntupackage.json to package.json and re-run npm install. You can see here there's a package.json file for Ubuntu, Mac, and Windows. The Ubuntu one is for Linux in general, but I use Ubuntu to build the deb and rpm file so I named it ubuntupackage.json. You got further than I did. I tried installing nodejs on termux on my phone and it errored because it couldn't access the built-in mirrors. I'm curious what commands you plan to run on your phone via the triggercmd agent if you get it working.
  • Monitors wont turn off

    2
    0 Votes
    2 Posts
    1k Views
    XanderX
    @Contamiply You need a space after the .exe C:\Windows\MultiMonitorTool.exe /TurnOff 0 Every program/parameter works that way - Windows has to know where the program name ends and the parameters begin.
  • Is there a way to open more than one program with a single command?

    9
    0 Votes
    9 Posts
    2k Views
    RussR
    @Gabriel, great. You're welcome.
  • your bill

    2
    0 Votes
    2 Posts
    503 Views
    RussR
    @steve-gardinier-0 , you can see your subscription details in your PayPal account. It will automatically renew unless you cancel.
  • Bookmark URls changing?

    2
    0 Votes
    2 Posts
    990 Views
    RussR
    @Smart-Communities, good question. The normal/original bookmarks never expire unless you configure them to. Also yes, it has always changed when view the bookmark page because the normal bookmark URL's use a JWT, and the "iat" (issued at) timestamp value changes every time you view the page. If you copy/paste the JWT into the JWT reader jwt.io, it will show you the payload data like this: [image: 1702940691600-2347df88-c5a5-480c-8aa8-7d9cfb843445-image.png] If you want a consistent bookmark URL that never changes, you should create a "Short Bookmark" using the "Create Short Bookmark" button at the bottom of the bookmark page. [image: 1702941288190-12fdaab8-e567-4487-b6db-518157bd771c-image.png] Short bookmarks look like this: https://triggercmd.com/sb?b=po3gTwiVag0pkcZ1 To view and delete your short bookmarks, click the "Your Short Bookmarks" link on the left: [image: 1702941028868-eb0e7a32-a75a-4f11-b2c0-8bfad0b30296-image.png] One nice thing about short bookmarks is they continue to work even if you delete and re-create the command because it specifies a computer name and trigger name. [image: 1702941569011-006e4dfb-e033-49d4-8b97-37a2cd37f95a-image.png]
  • Homey APP doesn’t find any trigger

    2
    1
    0 Votes
    2 Posts
    566 Views
    RussR
    @Arne-Grolik, thank you for asking! Please try it again. I think it will work now. I recently broke it when I disabled the old SmartThings API. I forgot the Homey app still uses it. Sorry about that. I made comments in my code so I won't forget again.
  • Looking for customer support

    5
    0 Votes
    5 Posts
    962 Views
    J
    @Russ Thanks a lot, I received the refund!
  • This topic is deleted!

    1
    4
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Hi i live in brazil

    2
    0 Votes
    2 Posts
    532 Views
    RussR
    @marciosenaf, for the TRIGGERcmd Smart Home skill to create devices, your commands need the voice field filled in, and the computer needs the voice field field in unless it's your default computer. I suspect your first computer was the default computer but your new one is not. If so, you could fix this by setting your new computer as your default computer in your profile. Click your name in the upper-right, and click Profile, then use the Default Computer pulldown to select your computer. [image: 1700484811205-6bac0cd6-45e0-472c-af6a-4da8221a0f99-image.png]
  • Cannot subscribe: Stripe link down

    3
    0 Votes
    3 Posts
    703 Views
    RussR
    @ayoubshadi, what country are you from? And what payment methods do people use there? I'd like to start working on a plan B in case my Stripe appeal doesn't work out.
  • Win11 - I put token nothing happened

    3
    0 Votes
    3 Posts
    575 Views
    V
    It worked, @Russ !!!!!!