<?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[Samsung SmartThings can trigger commands via TRIGGERcmd]]></title><description><![CDATA[<p dir="auto"><strong>This post is obsolete.  Please go <a href="https://www.triggercmd.com/forum/topic/2494/new-smartthings-integration-2023">here</a> for the new SmartThings information.</strong></p>
<p dir="auto">Now you can run commands by flipping a virtual SmartThings switch.</p>
<p dir="auto">I submitted this to be published in the SmartThings app, but in the meantime, use <a href="https://www.triggercmd.com/forum/topic/29/smartthings-integration">these instructions</a> to set it up.</p>
<p dir="auto">You can also watch this video: <a href="https://www.youtube.com/watch?v=dq-loAiKAgo" rel="nofollow ugc">https://www.youtube.com/watch?v=dq-loAiKAgo</a></p>
<p dir="auto"><a href="https://www.smartthings.com" rel="nofollow ugc">SmartThings</a> is the leading IoT system.</p>
<p dir="auto">With this integration you could have your computer play an MP3 saying, "Hey, get out of here!" when your motion sensor detects motion and your SmartThings security system is armed.</p>
<p dir="auto">Or you could have it lock your computer when you leave the house, or when your motion sensor stops detecting motion, or when you flip a switch.</p>
<p dir="auto">If you want to pass parameters to your commands from SmartThings, I recommend using Stringify like in <a href="https://www.triggercmd.com/forum/topic/74/use-smartthings-stringify-and-triggercmd-to-log-when-your-doors-open">this example</a>.</p>
<p dir="auto">NOTE:  If you delete a command from your TRIGGERcmd account before removing it via the TRIGGERcmd Smartthings device handler (under Smartapps), you'll get errors trying to update your list of TRIGGERcmd virtual switches until you delete the virtual switch associated with that command from the Things list.</p>
]]></description><link>https://www.triggercmd.com/forum/topic/21/samsung-smartthings-can-trigger-commands-via-triggercmd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 01:36:32 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/21.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Apr 2017 23:11:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Mon, 13 Feb 2023 09:56:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> 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.<br />
However, I checked now and it's all working fine with no issues with the on/off status.<br />
Thanks for your excellent work !</p>
]]></description><link>https://www.triggercmd.com/forum/post/6754</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6754</guid><dc:creator><![CDATA[regfixit]]></dc:creator><pubDate>Mon, 13 Feb 2023 09:56:42 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Mon, 06 Feb 2023 00:59:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18897">@regfixit</a> interesting.  I have nothing in my code that would do that, so I'm thinking Samsung's system is doing it.  I'll look into it though.</p>
<p dir="auto">I imagine that could be a problem if you're using it to turn a light on/off via X10 or something.  Ideally you'd see the correct status in SmartThings.</p>
<p dir="auto">Thanks for reporting the problem.</p>
<p dir="auto">EDIT:  I see the problem in my code.  I'm working on it.</p>
<p dir="auto">EDIT2:  It should work now.  Please let me know if you still see the problem, but I think the on/off status should persist now.</p>
]]></description><link>https://www.triggercmd.com/forum/post/6715</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6715</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 06 Feb 2023 00:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Thu, 02 Feb 2023 19:46:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> One other strange thing I've noticed is that at about 1215 AM the smarthings devices turn on by themselves. It doesn't actually trigger the command, but the device status changes to On in Smartthings.</p>
]]></description><link>https://www.triggercmd.com/forum/post/6714</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6714</guid><dc:creator><![CDATA[regfixit]]></dc:creator><pubDate>Thu, 02 Feb 2023 19:46:04 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Tue, 31 Jan 2023 22:44:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18897">@regfixit</a>, thank you!  I forgot I had done that.  I'll add that step to the instructions.</p>
]]></description><link>https://www.triggercmd.com/forum/post/6700</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6700</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 31 Jan 2023 22:44:55 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Tue, 31 Jan 2023 10:21:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> Thanks Russ, this is brilliant. I've got it all up and running. There was one thing that took a long time to work out - in order to install the app in the smartthings app, you have to enable developer mode in the app. This is really hidden - you have to go into the settings and hold down the "about smartthings" button for 5 seconds, and then there is an option at the bottom of the settings screen (not inside the about smartthings page" to turn on developer mode. Only after doing that can you see your test devices.<br />
Maybe worth to add to your otherwise extremely comprehensive setup guide.</p>
]]></description><link>https://www.triggercmd.com/forum/post/6695</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6695</guid><dc:creator><![CDATA[regfixit]]></dc:creator><pubDate>Tue, 31 Jan 2023 10:21:51 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Sat, 14 Jan 2023 01:19:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18897">@regfixit</a>, I'm working on an alternative.  I just posted about it here:</p>
<p dir="auto"><a href="https://www.triggercmd.com/forum/topic/29/smartthings-integration-flip-a-virtual-switch-to-run-a-command/33">https://www.triggercmd.com/forum/topic/29/smartthings-integration-flip-a-virtual-switch-to-run-a-command/33</a></p>
<p dir="auto">EDIT:  I finished the new <a href="https://www.triggercmd.com/forum/topic/2494/new-smartthings-integration-2023">SmartThings integration</a>.  Please try it and let me know if it works for you.</p>
]]></description><link>https://www.triggercmd.com/forum/post/6614</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6614</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 14 Jan 2023 01:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Thu, 12 Jan 2023 17:29:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> Hi Russ. I was using this but today it seems to have stopped working. I think maybe linked to Smarthings discontinuing the Groovy support. Is there any alternative to run Triggercmd from Smarthings  ?</p>
]]></description><link>https://www.triggercmd.com/forum/post/6610</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6610</guid><dc:creator><![CDATA[regfixit]]></dc:creator><pubDate>Thu, 12 Jan 2023 17:29:36 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Mon, 29 Oct 2018 23:34:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/518">@jim-robertson</a>, that's interesting.  Good job figuring that out.  I wouldn't have thought of that.</p>
]]></description><link>https://www.triggercmd.com/forum/post/719</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/719</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 29 Oct 2018 23:34:52 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Fri, 27 Apr 2018 20:39:35 GMT]]></title><description><![CDATA[<p dir="auto">Rus, found the issue.  Appears that TriggerCMD's parameters do not play well with cURL 64 bit versions.  I dropped down to the cURL 32 bit version without Administrator Privledges, and now can toggle smartthings virtual switches on/off and turn my x10 devices on/off through TriggerCMD.  Subscribing today!  Thank you very much!</p>
]]></description><link>https://www.triggercmd.com/forum/post/718</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/718</guid><dc:creator><![CDATA[Jim Robertson]]></dc:creator><pubDate>Fri, 27 Apr 2018 20:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Fri, 27 Apr 2018 03:18:45 GMT]]></title><description><![CDATA[<p dir="auto">Russ, I tried the command both alone 'saltlamp.bat, 'saltlamp' and with path 'C:\Scripts\saltlamp.bat'.  the Scripts folder is in path as well.  I am able to trigger the script at a command prompt ('saltlamp on' or 'saltlamp off' when in a different directory and it fires fine.  Here's the contents of the bat file:</p>
<p dir="auto">if "%1"=="on" curl <a href="http://192.168.1.101:8086/?x10command=DEVICE~sendrf~%25%22C1%25%20on%25%22" rel="nofollow ugc">http://192.168.1.101:8086/?x10command=DEVICE~sendrf~%"C1% on%"</a><br />
if "%1"=="off" curl <a href="http://192.168.1.101:8086/?x10command=DEVICE~sendrf~%25%22C1%25%20off%25%22" rel="nofollow ugc">http://192.168.1.101:8086/?x10command=DEVICE~sendrf~%"C1% off%"</a></p>
<p dir="auto">(I am using double percent signs, the display above converts one set to double quotes)</p>
]]></description><link>https://www.triggercmd.com/forum/post/717</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/717</guid><dc:creator><![CDATA[Jim Robertson]]></dc:creator><pubDate>Fri, 27 Apr 2018 03:18:45 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Thu, 26 Apr 2018 22:17:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/518">@jim-robertson</a>, can you send your script and a screenshot of how you've got the command configured?</p>
<p dir="auto">My initial suspicion is you might have your <strong>command</strong> field set to the name of your batch file without the path like this:</p>
<pre><code>myscript.bat
</code></pre>
<p dir="auto">That will only work if your script is in a folder that's included in your <strong>PATH</strong> environment variable.  Nate has a video about how to add the folder <a href="https://youtu.be/SQKW3BRDBtw?t=2m24s" rel="nofollow ugc">here</a>, but what some people do is put their batch files in c:\windows because c:\windows is included in the <strong>PATH</strong> environment variable by default.</p>
]]></description><link>https://www.triggercmd.com/forum/post/716</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/716</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 26 Apr 2018 22:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Samsung SmartThings can trigger commands via TRIGGERcmd on Wed, 25 Apr 2018 21:54:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello Russ,</p>
<p dir="auto">New TriggerCMD user here.  I am currently trying to implement a Smarthings to X10 integration ala Bubba (Nate Hale).  I have TriggerCMD working with a command line argument without parameters using cURL, but when I try to create a virtual switch through TriggerCMD and have it pass on or off parameters to a bat file in response to smarthings clicking the switch on or off, nothing happens other than triggerCMD incrementing the runs counter for the Trigger.  Not sure where I am going wrong, the bat files work from a command prompt when I manually  enter the on or off parameter.  Any thoughts?</p>
]]></description><link>https://www.triggercmd.com/forum/post/715</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/715</guid><dc:creator><![CDATA[Jim Robertson]]></dc:creator><pubDate>Wed, 25 Apr 2018 21:54:18 GMT</pubDate></item></channel></rss>