<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Questions on TCMD tool and usage?]]></title><description><![CDATA[<p dir="auto">So I just found this cool tool and have several ideas for its usage.<br />
I've downloaded it and attempted to use it from my Raspi where TRIGGERCMD is install but I get the error <strong>{"error":"Computer not found."}</strong><br />
So I'm doing something wrong.<br />
Does the file need to be in a specific folder? I have it in my /home/pi/scripts folder<br />
does it have to be run from inside a script? I'm testing just from command line using <strong>sudo ./tcmd -t Panic</strong><br />
Panic is the name of my TRIGGERcmd trigger<br />
Does it need to be run from root in this case?</p>
]]></description><link>https://www.triggercmd.com/forum/topic/2019/questions-on-tcmd-tool-and-usage</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 15:22:03 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/2019.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Jan 2022 13:44:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Sat, 29 Jan 2022 15:34:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a> Ya it is so simple to use. I like the list option for showing trigger names. My memory isn't what it use to be and my spelling never was the greatest!</p>
]]></description><link>https://www.triggercmd.com/forum/post/5449</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5449</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Sat, 29 Jan 2022 15:34:36 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Sat, 29 Jan 2022 15:24:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/tuicemen" aria-label="Profile: tuicemen">@<bdi>tuicemen</bdi></a>, nice, no problem.  I'm glad it works.</p>
<p dir="auto">Isn't that a nice way to trigger your command from a command?  I think it's easier than using curl.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5447</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5447</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 29 Jan 2022 15:24:24 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Fri, 28 Jan 2022 22:57:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a> yep your right it works, guess my fat fingers got in the way.<br />
Sorry about that.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5443</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5443</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 28 Jan 2022 22:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Fri, 28 Jan 2022 21:49:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/tuicemen" aria-label="Profile: tuicemen">@<bdi>tuicemen</bdi></a>, I actually fixed it on the server side in this case.  I found that it even worked on version 1.0.3</p>
<pre><code>tcmd  -t calculator
{"message":"Trigger sent."}
tcmd -v
tcmd version 1.0.3
</code></pre>
<p dir="auto">I upgraded to 1.0.5 and it still works:</p>
<pre><code>tcmd -v
tcmd version 1.0.5
tcmd  -t calculator
{"message":"Trigger sent."}
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/post/5440</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5440</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 28 Jan 2022 21:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Fri, 28 Jan 2022 17:19:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a> I updated the tool, option -v states: tcmd version 1.0.5<br />
Can't remember what it was previously but I still have to input the computer name.<br />
Maybe the issue is only for the tcmd-linux-arm file.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5438</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5438</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 28 Jan 2022 17:19:45 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Fri, 28 Jan 2022 14:43:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a>, thanks I'll update the tool.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5437</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5437</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 28 Jan 2022 14:43:54 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Fri, 28 Jan 2022 02:37:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/tuicemen" aria-label="Profile: tuicemen">@<bdi>tuicemen</bdi></a> said in <a href="/forum/post/5429">Questions on TMCD tool and usage?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a> directions state -c option can be blank if running from default which I am I'll try adding computer name</p>
</blockquote>
<p dir="auto">You're right, that should work.  Thanks for pointing that out.  I need to fix that.</p>
<p dir="auto"><strong>EDIT:</strong>  Fixed - now if you don't specify the computer it will run on your default computer.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5431</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5431</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 28 Jan 2022 02:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Thu, 27 Jan 2022 23:57:46 GMT]]></title><description><![CDATA[<p dir="auto">Yep that did it! thanks</p>
]]></description><link>https://www.triggercmd.com/forum/post/5430</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5430</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Thu, 27 Jan 2022 23:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Thu, 27 Jan 2022 23:54:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: russ">@<bdi>russ</bdi></a> directions state -c option can be blank if running from default which I am I'll try adding computer name</p>
]]></description><link>https://www.triggercmd.com/forum/post/5429</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5429</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Thu, 27 Jan 2022 23:54:33 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Thu, 27 Jan 2022 23:48:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/tuicemen" aria-label="Profile: tuicemen">@<bdi>tuicemen</bdi></a>, it doesn't have to be in any particular folder.</p>
<p dir="auto">You're missing the computer name in your commands.  Here's an example of it working:</p>
<pre><code>tcmd -c russfam -t calculator
{"message":"Trigger sent."}
</code></pre>
<p dir="auto">You can also run this to use <strong>--list</strong> to show a list of tcmd commands - one for each of your TRIGGERcmd commands on each of your computers.</p>
<pre><code>tcmd -list
0 tcmd --computer "bedroompi" --trigger "apt update"
1 tcmd --computer "bedroompi" --trigger "Bedroom" --params "(your parameters)"
</code></pre>
<p dir="auto">Or use <strong>--help</strong> to show help:</p>
<pre><code>C:\Users\russe\.TRIGGERcmdData&gt;tcmd -h
NAME:
    tcmd - Run commands on computers in your TRIGGERcmd account
  USAGE:
    tcmd [options]

  OPTIONS:
    --trigger value, -t value   Trigger name of the command you want to run
    --computer value, -c value  Name of the computer (leave blank for your default computer)
    --params value, -p value    Any parameters you want to add to the remote command
    --list, -l                  List your commands
    --help, -h                  show help
    --version, -v               print the version
</code></pre>
<p dir="auto">FYI, it logs in using the ~/.TRIGGERcmdData/token.tkn or C:\Users\(user)\.TRIGGERcmdData\token.tkn file depending on the OS.  That token.tkn file gets written when you install the TRIGGERcmd agent.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5428</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5428</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 27 Jan 2022 23:48:39 GMT</pubDate></item><item><title><![CDATA[Reply to Questions on TCMD tool and usage? on Thu, 27 Jan 2022 22:52:06 GMT]]></title><description><![CDATA[<p dir="auto">UpDate: still no luck <img src="https://www.triggercmd.com/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=6297cc46437" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /><br />
I also tried  <strong>sudo ./tcmd -c -t Panic</strong><br />
and get "No trigger specified.  Use --help or -h for help."<br />
Running as Root makes no difference</p>
]]></description><link>https://www.triggercmd.com/forum/post/5427</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5427</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Thu, 27 Jan 2022 22:52:06 GMT</pubDate></item></channel></rss>