TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • RussR

      Run kubectl commands from inside a Kubernetes cluster

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      202
      Views

      No one has replied

    • RussR

      Schedule commands with Google Calendar and IFTTT

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      203
      Views

      No one has replied

    • A

      voice commands or cli doesn't works anymore

      Instructions
      • • • alain
      5
      0
      Votes
      5
      Posts
      458
      Views

      A

      thanks Russ,
      i'll try this method
      regards

    • RussR

      Warning: Don't have multiple computers with the same name

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      746
      Views

      No one has replied

    • TheValkyrieAshT

      Help understanding how to create new commands

      Instructions
      • • • TheValkyrieAsh
      2
      0
      Votes
      2
      Posts
      990
      Views

      RussR

      @TheValkyrieAsh, I think your best bet is to watch some of the Youtube videos.

      If you got the TRIGGERcmd agent installed, you should be able to right-click the tray icon in the lower right near your clock, and select "GUI Command Editor". You'll probably have to click the up arrow to reveal the tray icon.

      02c2118d-b37c-4681-a422-034a17591b75-image.png

      Please let me know how it goes.

    • RussR

      How to use IFTTT with TRIGGERcmd

      Instructions
      • • • Russ
      25
      0
      Votes
      25
      Posts
      27.0k
      Views

      RussR

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

    • C

      command pm2 start or stop mm

      Instructions
      • • • ccd
      6
      0
      Votes
      6
      Posts
      1.6k
      Views

      RussR

      @ccd, awesome, I'm glad you got it working. Sounds like this is the command that worked:

      su - pi -c 'pm2 start mm'
    • S

      Install TriggerCMD agent on your NAS OR Router

      Instructions
      • • • stevef9432203
      2
      0
      Votes
      2
      Posts
      1.7k
      Views

      F

      AHOY, Steve F! I'm loving your instruction set, but I had a few questions for you.

      First off, were you on an older version of OpenWRT when you wrote this? Some of the filepaths are different for me on 18.06.4.

      Next, did you intend to embed emoji in your startup script, or is that supposed to be "*)" or something as hovering over it suggests? I assume the latter and would hazard a guess that this forum converts it to an emoticon. I'm just about to finish up with that and see whether TRIGGERcmd starts at boot.

      Finally, I understand the filename suggests that S30* should start with a priority level 30, but my router running 18.06.4 is trying to run it as priority level 1. Nowadays I think OpenWRT uses symlinks to set priority according to a couple of lines within an init script itself, so using classic filenames to set priority without indicating within the file itself the priority with which the script should be executed does not work.

      Once again, thank you!

    • RussR

      Hubitat integration

      Instructions
      • • • Russ
      1
      1
      Votes
      1
      Posts
      1.2k
      Views

      No one has replied

    • G

      Unable to access to the aplication

      Instructions
      • • • gabi92a
      18
      1
      Votes
      18
      Posts
      4.4k
      Views

      RussR

      @gabi92a, I found out why Fiddler wasn't working. For NodeJS apps like the TRIGGERcmd agent, you have to set these environment variables before you run the node src\agent.js --console command:

      set https_proxy=http://127.0.0.1:8888 set http_proxy=http://127.0.0.1:8888 set NODE_TLS_REJECT_UNAUTHORIZED=0

      That tells the NodeJS app to use Fiddler as a proxy server.
      I found that here: https://weblogs.asp.net/dixin/use-fiddler-with-node-js

      Can you try that? Maybe that will give us a clue.

      Also, you could try running it after setting this variable to get a bunch of debug output:

      set NODE_DEBUG=*

      One thing you should know - the agent uses a websocket to connect to the server, and that connection doesn't use the https_proxy variable so Fiddler won't pick that up. The request that's giving us this error doesn't use websockets though, so that shouldn't matter for this troubleshooting.

    • RussR

      Twilio API - send an SMS text from your cell phone to run a command on your computer

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      707
      Views

      No one has replied

    • M

      Run an XML File located on Cloud

      Instructions
      • b b • • Muvvala G
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      RussR

      @muvvala-g, I use Jenkins too, so I can put together an example if you want, but here's some quick research I did so far:

      https://jenkins.io/doc/book/managing/cli/#common-commands

      It looks like Jenkins gives you a command-line tool that can run jobs.

      EDIT: I tried it out and it works pretty well. My command looks like this:

      java -jar jenkins-cli.jar -s http://localhost:8080 -http -auth admin:PASSWORD build MyJob -v -s

      Also, I downloaded the jenkins-cli.jar from my own Jenkins server with this command:

      wget http://localhost:8080/jnlpJars/jenkins-cli.jar

      Does that accomplish what you're trying to do?

    • RussR

      Have Alexa or Google Assistant say the result of a command

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      1.2k
      Views

      No one has replied

    • ?

      Command for full screen video

      Instructions
      • • • A Former User
      2
      0
      Votes
      2
      Posts
      912
      Views

      RussR

      @brad-schmidt, I tried using Selenium IDE and Katalon recorder, and I couldn't get either one of them to work. Theoretically it should be possible.

    • RussR

      Zapier Instructions

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      751
      Views

      No one has replied

    • M

      starting severals computers

      Instructions
      • • • mb nouvel
      4
      0
      Votes
      4
      Posts
      1.9k
      Views

      M

      i can paste it now but not with my mouse
      i signed in after pasting nut i cant creat my first computer named "bureau"

    • RussR

      TRIGGERcmd Zapier integration

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      907
      Views

      No one has replied

    • RussR

      Run a command on a computer from a button on a web page using a Bookmark URL

      Instructions
      • • • Russ
      1
      0
      Votes
      1
      Posts
      2.3k
      Views

      No one has replied

    • N

      Start Spotify Playlists with Smartthings and Trigger CMD

      Instructions
      • • • Nate Hales
      7
      0
      Votes
      7
      Posts
      6.2k
      Views

      P

      yeah some googling found it already, tnx for the quick response.

      Im very noobish at this all and most of it is just copy past and reading.

      What i want is the following, tru smartthings with a virtual button to start a playlist but also to stop the playlist if the virtual sensor switch to off.

      Ive made it so far that i can start a playlist and send the audio tru a spotify connect speaker as so

      Set WshShell = WScript.CreateObject("WScript.Shell")
      Comandline = "C:\Users\Peke\AppData\Roaming\Spotify\Spotify.exe"
      WScript.sleep 9000
      CreateObject("WScript.Shell").Run("spotify:user:1131846872:playlist:3ztoPH7GPeH9b898dIXcvc")
      WScript.sleep 5000
      WshShell.SendKeys "^{s}"
      WScript.sleep 1000
      WshShell.SendKeys "^{RIGHT}"
      WScript.sleep 1000
      WshShell.SendKeys "^{d}"
      WScript.sleep 1000
      WshShell.SendKeys "{TAB 4}", True
      WScript.sleep 1000
      WshShell.SendKeys "+{ENTER}"

      but what i really also want if the virtual button goes to off that the playlist stops and the sound out of my spotify connect speaker stops playing.

      Is this possible, if so can you point me in the right direction?

      Greetz Peke

    • ?

      Pass parameters with Zapier

      Instructions
      • • • A Former User
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      RussR

      @jgodney, I'll answer each question by number:

      Did you enable parameters on the command you ran from Zapier? Also did notepad open, or did it give you a prompt like this?
      0_1529966358771_ee0c55e1-c78b-4718-ae67-7ebc4a9ba110-image.png

      Yes - multiple parameters are separated by a space.

      No - you can send an unlimited number of parameters, separated by spaces. Actually batch files can accept more than 9 too.

      From here I see, "On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters"