<?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[Open&#x2F;Close .exe +Lights on Google Home routines]]></title><description><![CDATA[<p dir="auto">Hello!<br />
I have a routine integrated with TriggerCMD but it only works from my phone (google home) and not from my pc.<br />
What i made successfully is create a Routine on the Google Script editor that whenever i start my command/trigger, it opens steam.exe, this triggers my led strip on or off, depending on the parameter sent (both starters on the same code)</p>
<pre><code># Visit g.co/home/script-editor-docs for full documentation.
# ------------------------------------------------------------------------------------------ #

metadata:
  name: test steam + light rgb escritorio
  description: Scripted automation

automations:
  - starters:
      - type: device.state.OnOff
        state: on
        is: true
        device: Iniciar Steam - Oficina

    condition:
      type: device.state.OnOff
      state: on
      is: false
      device: Led escritorio - Oficina

    actions:
      - type: device.command.OnOff
        on: true
        devices: Led escritorio - Oficina

    # SECOND STARTER #

  - starters:
      - type: device.state.OnOff
        state: on
        is: false
        device: Iniciar Steam - Oficina

    actions:
      - type: device.command.OnOff
        on: false
        devices: Led escritorio - Oficina

</code></pre>
<p dir="auto"><img src="/forum/assets/uploads/files/1724276666959-19fbe5b8-1b72-4200-b246-7aeab3426a64-image.png" alt="19fbe5b8-1b72-4200-b246-7aeab3426a64-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">this is on the .bat file:</p>
<pre><code>taskkill /F /IM Steam.exe
</code></pre>
<p dir="auto">I added on the triggercmd <em>Command</em> and <em>off command</em> on and off text to the end, i dont know if that sends the parameter but at least is working (maybe if i delete that it works anyway)</p>
<p dir="auto"><strong>But what is not working</strong> is the automation triggering when i open the shortcut from my pc or the .exe, is it possible to make it work like my phone? i want to open Steam from my desktop and this triggers my routine, therefore turning on my strip lights and also when i stop/kill/close the .exe it turns off my light, i cant make it work like that</p>
<p dir="auto">thanks!</p>
]]></description><link>https://www.triggercmd.com/forum/topic/3065/open-close-exe-lights-on-google-home-routines</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 15:10:31 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/3065.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Aug 2024 21:53:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Open&#x2F;Close .exe +Lights on Google Home routines on Fri, 23 Aug 2024 00:54:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/23540">@john-lagos-ramirez</a>, awesome.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8143</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8143</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 23 Aug 2024 00:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to Open&#x2F;Close .exe +Lights on Google Home routines on Thu, 22 Aug 2024 23:58:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a><br />
I followed your instructions and it is working excellent now <img src="https://www.triggercmd.com/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44c.png?v=6sa9akdcpc2" class="not-responsive emoji emoji-android emoji--ok_hand" style="height:23px;width:auto;vertical-align:middle" title=":ok_hand:" alt="👌" /><br />
Thank you so much!</p>
]]></description><link>https://www.triggercmd.com/forum/post/8142</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8142</guid><dc:creator><![CDATA[john lagos ramirez]]></dc:creator><pubDate>Thu, 22 Aug 2024 23:58:57 GMT</pubDate></item><item><title><![CDATA[Reply to Open&#x2F;Close .exe +Lights on Google Home routines on Thu, 22 Aug 2024 22:33:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/23540">@john-lagos-ramirez</a>, if you open and close steam from your PC via TRIGGERcmd it should trigger your Google Home routines that turn your lights on/off.</p>
<p dir="auto">Please try this:</p>
<ol>
<li>
<p dir="auto">Download the <a href="https://www.triggercmd.com/forum/topic/196/tcmd-go-command-line-tool-is-available-now">tcmd tool</a></p>
</li>
<li>
<p dir="auto">Rename it to tcmd.exe</p>
</li>
<li>
<p dir="auto">Move it in your c:\windows folder so it's in your PATH.</p>
</li>
<li>
<p dir="auto">Right-click your desktop and create 2 shortcuts that run these two commands:</p>
<p dir="auto">tcmd -t "Open/close steam"-c "PC John"-p on</p>
<p dir="auto">tcmd -t "Open/close steam"-c "PC John"-p off</p>
</li>
</ol>
<p dir="auto">For example:<br />
<img src="/forum/assets/uploads/files/1724365826896-050769c0-ed6b-47f6-b65c-8afc6b7e2277-image.png" alt="050769c0-ed6b-47f6-b65c-8afc6b7e2277-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I created similar shortcuts to open/close calculator via TRIGGERcmd:<br />
<img src="/forum/assets/uploads/files/1724365359157-ac377a6f-a0cf-4c26-b8b4-630e33c30fdd-image.png" alt="ac377a6f-a0cf-4c26-b8b4-630e33c30fdd-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can customize the shortcut icon if you want.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8141</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8141</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 22 Aug 2024 22:33:35 GMT</pubDate></item></channel></rss>