<?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[Triggers appearing in view runs but not actually triggering.]]></title><description><![CDATA[<p dir="auto">I've installed TRIGGERcmd on my Macbook and have created the following command:</p>
<pre><code>[
 {
  "trigger": "sleep-leron-work-laptop",
  "command": "pmset sleepnow",
  "offCommand": "",
  "ground": "foreground",
  "voice": "",
  "voiceReply": "",
  "allowParams": "false"
 }
]
</code></pre>
<p dir="auto">When I flip the switch inside of Home Assistant, the "view runs" log updates to show "Trigger sent from Home Assistant" but nothing happens after that and the "Runs" count doesn't increase from zero.</p>
<p dir="auto">Can someone explain how I bridge the final gap between the website identifying that the trigger was sent from HA and turn that into the trigger actually running on my Macbook?</p>
]]></description><link>https://www.triggercmd.com/forum/topic/3247/triggers-appearing-in-view-runs-but-not-actually-triggering</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 00:46:59 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/3247.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 May 2025 23:10:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Mon, 02 Jun 2025 20:50:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a> .</p>
]]></description><link>https://www.triggercmd.com/forum/post/8618</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8618</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 02 Jun 2025 20:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Mon, 02 Jun 2025 14:42:46 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> Sounds good. I'll leave the offline feature disabled for now, and am happy to assist in any additional testing you need me to do if you end up making changes.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8617</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8617</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Mon, 02 Jun 2025 14:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Mon, 02 Jun 2025 01:19:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, I don't know why the direct from HA path isn't working.  I'll see if I can reproduce the issue, but in the meantime I suggest disabling it so you can trigger commands from HA via the Internet.  It seems like the connection from the agent to HA isn't working.  Maybe I need to add logging to determine that.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8616</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8616</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 02 Jun 2025 01:19:02 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Sun, 01 Jun 2025 18:28:08 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> I added a different command (to close the calculator), and I'm seeing the same results as with the sleep command: It doesn't work when triggered from HA, but does work when triggered via the website or directly via the TRIGGERcmd agent.</p>
<p dir="auto">I'm not using parameters (though I have tried doing a command with parameters, but that also didn't work, and yielded the same outcome of the log recognizing that a command was sent from HA, but not actually performing the command on the Macbook)</p>
<p dir="auto">Here's the screenshot from the GUI editor as requested:<br />
<img src="/forum/assets/uploads/files/1748802269991-fc88f0af-a774-41be-aad6-358d05d6897c-image.png" alt="fc88f0af-a774-41be-aad6-358d05d6897c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/8615</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8615</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Sun, 01 Jun 2025 18:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Sat, 31 May 2025 18:31:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, I'm not sure why it's working via the Internet but not direct from HA.</p>
<p dir="auto">Can you try triggering a different command?  Like the built-in calculator command?</p>
<p dir="auto">Also, if your command has parameters enabled, please try disabling parameters.  I'm worried the "on" or "off" parameter is getting tacked on to the end of your command and messing up the command, although I'm not confident in that because if that was the problem, it should happen either way - direct from HA, or via the Internet (via the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> cloud system).</p>
<p dir="auto">FYI, that "Ignoring duplicate trigger" is saying it got a trigger via <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> but ignored it because it originally came from HA, and you have the direct HA integration enabled.</p>
<p dir="auto">Can you share your command?  Or ideally a screenshot from the GUI Editor?  I'd like to see if I can reproduce it on my Mac.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8614</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8614</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 31 May 2025 18:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Fri, 30 May 2025 14:31:24 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> I might be mixing up terminology, so I'll try to explain it more clearly:</p>
<p dir="auto">If the Home Assistant Offline Configuration is enabled in the TRIGGERcmd Agent on my Macbook,  then flipping the TRIGGERcmd switch entity in HA does not put the Macbook to sleep.</p>
<p dir="auto">From my perspective as the end user, effectively nothing happens even though the log file shows</p>
<pre><code>  |&gt;    Now connected to https://www.triggercmd.com.
\___/   For help, see: http://bit.ly/2q0QDpf
        (using sails.io.js node SDK @v1.2.1)
         Connected at: Fri May 30 2025 07:20:57 GMT-0700 (Pacific Daylight Time)



{ message: 'Subscribed to [alphanumeric_id_omitted]!' }
triggercmd.com data:
{
  trigger: 'sleep-leron-work-laptop',
  id: '[string_of_digits_omitted]',
  sender: 'Home Assistant'
}
Ignored duplicate trigger
</code></pre>
<p dir="auto">So my understanding is that if there's a check in TRIGGERcmd Agent's "Home Assistant Offline Config"'s <strong>Enabled</strong> checkbox, then the "Ignored duplicate trigger" event gets logged but nothing happens to the Macbook. But if I uncheck the <strong>Enabled</strong> box, then the trigger actually goes through completely and puts the Macbook to sleep.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8610</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8610</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Fri, 30 May 2025 14:31:24 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Fri, 30 May 2025 02:42:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>,<br />
I just realized you're not saying the command doesn't run.  So please confirm:  the command runs when you trigger it from HA, but it doesn't log "Command ran" in the runs list, correct?</p>
<p dir="auto">If so, that's a known issue with sending triggers direct from HA to the agent.  The agent doesn't report that the command ran if the trigger came from HA.  There wasn't an efficient way to report it because the ID of the command isn't available in this direct local LAN offline context.  If you need to see Command ran logged, you should disable the offline HA integration in the agent config.</p>
<p dir="auto">HA does still send the trigger to <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> though (which is logged in the Runs list) so cloud integrations (Zapier, Alexa routines, IFTTT, Make, etc) will still trigger if HA can access <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> when the command is triggered.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8605</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8605</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 30 May 2025 02:42:25 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Fri, 30 May 2025 01:07:19 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> I currently do not have the parameters enabled, but before creating this post, I did try out exactly what you'd suggested (I enabled parameters and set the off-command to be identical to the command), but the behavior was the same, the "view runs" logged the command being sent from HA, but the "Runs" count didn't increment.</p>
<p dir="auto">Feel free to let me know if we should just give up on troubleshooting this. I'm sure you have more important things to do and I now know that I can disable the offline component as a functional workaround.</p>
<p dir="auto">Otherwise, I'm happy to keep digging and will perform any troubleshooting steps/provide any logs or screenshots you request</p>
]]></description><link>https://www.triggercmd.com/forum/post/8604</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8604</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Fri, 30 May 2025 01:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Fri, 30 May 2025 00:11:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, if you have parameters enabled, please try turning that off because that might explain why it works when you click the green Trigger button on the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> website and it doesn't when you run the command via Home Assistant locally.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1748563631858-631a206f-abb9-49c6-8cb8-1990e459c8a6-image.png" alt="631a206f-abb9-49c6-8cb8-1990e459c8a6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If parameters are enabled, Home Assistant will send <strong>on</strong> or <strong>off</strong> as the parameter, so " on" or " off" will be appended to the end of your command, which could be producing an invalid command.</p>
<p dir="auto">Alternatively you could fill in the Off Command field, and that command will run when you toggle the HA switch off.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8602</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8602</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 30 May 2025 00:11:01 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 22:33:46 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> I had done it before, but just in case I made a mistake when copy/pasting I just deleted the old token, generated a new one and configured it in the TRIGGERcmd agent for Mac.</p>
<p dir="auto">My log shows the following (with individual IDs omitted) when I attempted to flip the switch in HA (which didn't put the mac to sleep)</p>
<pre><code>  |&gt;    Now connected to https://www.triggercmd.com.
\___/   For help, see: http://bit.ly/2q0QDpf
        (using sails.io.js node SDK @v1.2.1)
         Connected at: Thu May 29 2025 14:56:10 GMT-0700 (Pacific Daylight Time)



{ message: 'Subscribed to [alphanumeric_id_omitted]!' }
Opening Home Assisant Config
Configuration saved:
Connected to Local Home Assistant WebSocket API
Local Home Assistant Authentication successful!
Computer name for Local Home Assistant listener: Leron-SL
triggercmd.com data:
{
  trigger: 'sleep-leron-work-laptop',
  id: '[string_of_digits_omitted]',
  sender: 'Home Assistant'
}
Ignored duplicate trigger

</code></pre>
]]></description><link>https://www.triggercmd.com/forum/post/8601</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8601</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Thu, 29 May 2025 22:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 21:48:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, awesome.  Thank you for confirming that works.</p>
<p dir="auto">For the offline config, did you generate a long-lived access token from this page?<br />
<a href="http://homeassistant.local:8123/profile/security" rel="nofollow ugc">http://homeassistant.local:8123/profile/security</a></p>
<p dir="auto">And you pasted that into the that Home Assistant Token field in your Home Assistant Offline Configuration page?</p>
<p dir="auto">Also, you can check your ~/.TRIGGERcmdData/debug.log file for clues.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8600</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8600</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 29 May 2025 21:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 21:35:28 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> I unchecked the enable box and then quit &amp; re-launched the agent like you suggested. I then tried triggering the switch in Home Assistant and it successfully turned off the device.</p>
<p dir="auto">As for the online vs offline functionality, my HA instance is accessible from  <a href="http://homeassistant.local:8123" rel="nofollow ugc">http://homeassistant.local:8123</a></p>
<p dir="auto">If it matters, my Macbook is connected to the internet via an Ethernet cable and only falls back on the Wireless network if that cable gets unplugged.</p>
<p dir="auto">Any guesses as to how to make the command work directly from HA via that offline option? It sounds realiy nice for not needing to rely on the external network</p>
]]></description><link>https://www.triggercmd.com/forum/post/8599</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8599</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Thu, 29 May 2025 21:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 21:23:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, good, thank you for confirming that's working.</p>
<p dir="auto">If you've enabled the Home Assistant Offline Configuration, please try disabling it, then restart the agent.  That should allow the agent to run your commands via the Internet (HA -&gt; <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> -&gt; agent).</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1748553258278-d2be9cb0-bd1b-4ae8-977b-ff399a7387e9-image.png" alt="d2be9cb0-bd1b-4ae8-977b-ff399a7387e9-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I'm thinking maybe the agent is ignoring the commands from the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> server because the offline configuration is enabled but not working yet.  It does that to avoid running your command twice - once directly from HA, and again from <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a>.</p>
<p dir="auto">If you want to get HA offline to work, please confirm your Home Assistant server is accessible at <a href="http://homeassistant.local:8123" rel="nofollow ugc">http://homeassistant.local:8123</a> from your laptop.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8598</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8598</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 29 May 2025 21:23:59 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 17:32:23 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> Gotcha, sorry if I misinterpreted your ask. The button you indicated from the website does work, both when used on the Macbook itself and when pressed on my smartphone.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8595</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8595</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Thu, 29 May 2025 17:32:23 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 16:23:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, I'm still not sure whether it works when you click the green Trigger button on the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> website.  It looks like this:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1748535513910-00779bb1-c7a0-431d-a039-95a8841fe02f-image.png" alt="00779bb1-c7a0-431d-a039-95a8841fe02f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">We need to make sure that works before moving on to <a href="https://www.triggercmd.com/forum/topic/193/how-to-run-commands-from-home-assistant">HA config</a>.</p>
<p dir="auto">When you click that green play button in the GUI Editor, that only tests running the command locally, not via the TRIGGERcmd cloud service.</p>
]]></description><link>https://www.triggercmd.com/forum/post/8594</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8594</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 29 May 2025 16:23:28 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 14:23:14 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>, yes I've installed the TriggerCMD agent version 1.0.45, the Icon is present in my menu bar (kinda wish it were monochrome to match the others but that's a very small gripe), and when I click the green <img src="https://www.triggercmd.com/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/25b6.png?v=6sa9akdcpc2" class="not-responsive emoji emoji-android emoji--arrow_forward" style="height:23px;width:auto;vertical-align:middle" title=":arrow_forward:" alt="▶" />️ button the mac goes to sleep as expected, but for some reason i can't get the same behavior to occur when triggering via HA</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1748528524867-81424522-a3dd-40e6-9a4e-4322b4ffe0d3-image.png" alt="81424522-a3dd-40e6-9a4e-4322b4ffe0d3-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/8593</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8593</guid><dc:creator><![CDATA[Leron Tolmachev]]></dc:creator><pubDate>Thu, 29 May 2025 14:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to Triggers appearing in view runs but not actually triggering. on Thu, 29 May 2025 01:40:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/24999">@Leron-Tolmachev</a>, did you install the TRIGGERcmd agent on your Macbook?<br />
You can download it from the bottom of the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> home page.</p>
<p dir="auto">If so, are you able to run the command with the green Trigger button from your account on the <a href="http://triggercmd.com" rel="nofollow ugc">triggercmd.com</a> website?</p>
]]></description><link>https://www.triggercmd.com/forum/post/8592</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/8592</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 29 May 2025 01:40:10 GMT</pubDate></item></channel></rss>