<?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[Can you feed back information to Alexa]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Can you feed back information to Alexa?</p>
<p dir="auto">For excample I could pick up a value from my linux box and I want Alexa to tell me.</p>
<p dir="auto">for excample:</p>
<ol>
<li>Alexa - what is the Temo</li>
<li>run script which retrieves a sensor value</li>
<li>Alexa tell me the value</li>
</ol>
<p dir="auto">Best regards<br />
Stefan</p>
]]></description><link>https://www.triggercmd.com/forum/topic/352/can-you-feed-back-information-to-alexa</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 01:41:18 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/352.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Jan 2019 04:40:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can you feed back information to Alexa on Thu, 31 Jan 2019 23:42:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1508">@gnetdevelopment</a>, so far I've only implemented the ability to send feedback to the Runs history for each command.</p>
<p dir="auto">Now that that's done, I'm planning to add the ability to have Alexa or Google Assistant wait a few seconds for a result to be sent back, then say the result.</p>
<p dir="auto">Let's say you wanted to know how many packages can be upgraded on your Raspberry Pi.  You could add a command that would run this script:</p>
<pre><code>#!/bin/bash
export UPGRADABLE_COUNT=$(apt list --upgradable | grep upgradable | wc | cut -f 6 -d " ")
sh ~/.TRIGGERcmdData/sendresult.sh "${UPGRADABLE_COUNT} packages could be upgraded."
</code></pre>
<p dir="auto">It would look like this in the website, and when I get the Alexa and Google Assistant work done, you could have the result spoken when you run it by voice.<br />
<img src="https://s3.amazonaws.com/triggercmdagents/Pics/Forum/UpgradeCheckResult.PNG" alt="Upgrade Check Result" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/1192</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1192</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 31 Jan 2019 23:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to Can you feed back information to Alexa on Thu, 31 Jan 2019 21:39:42 GMT]]></title><description><![CDATA[<p dir="auto">Still learning when it comes to using TriggerCMD and this trigger sounds like a great idea as I've been wanting to find ways to have Alexa provide me information about different things - mostly all pertaining to status and data for home automation system.  Can anyone provide any examples of what they're doing with this and what feedback they're using.  What feedback can be given anyway?  For example could you run an sudo apt update command and have Alexa tell you how many packages were updated?</p>
]]></description><link>https://www.triggercmd.com/forum/post/1191</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1191</guid><dc:creator><![CDATA[GNetDevelopment]]></dc:creator><pubDate>Thu, 31 Jan 2019 21:39:42 GMT</pubDate></item><item><title><![CDATA[Reply to Can you feed back information to Alexa on Sun, 06 Jan 2019 23:48:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1780">@snantz</a>, I haven't added that voice response feature yet, but when I do, this is how it will work:</p>
<p dir="auto">If you put {{result}} in the Voice Reply field of your command (<a href="https://www.triggercmd.com/forum/topic/341/voice-reply-field-now-allows-placeholders-for-trigger-computer-and-params">like this</a>), Alexa or Google Assistant will wait up to 5 seconds for a result to be sent from the computer, and include it in the voice response.</p>
<p dir="auto">If you upgrade to the latest version of the agent (as of 1/6/19), you'll now find a new sendresult.bat or <a href="http://sendresult.sh" rel="nofollow ugc">sendresult.sh</a> file depending on your computer's operating system.  You can send the result of your triggered script by adding this to the end of it:</p>
<p dir="auto">Windows:</p>
<pre><code>%USERPROFILE%\.TRIGGERcmdData\sendresult.bat "My command result"
</code></pre>
<p dir="auto">Linux or Mac:</p>
<pre><code>sh ~\.TRIGGERcmdData\sendresult.sh "My command result"
</code></pre>
<p dir="auto">Today the sendresult script just logs your result in the command's Runs list, but this is the ground-work for this voice feed back feature you asked for.</p>
]]></description><link>https://www.triggercmd.com/forum/post/1137</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1137</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 06 Jan 2019 23:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to Can you feed back information to Alexa on Sun, 06 Jan 2019 23:03:41 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>,  How would I tell alexa to wait for and out put? Or does it by itself?</p>
]]></description><link>https://www.triggercmd.com/forum/post/1136</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1136</guid><dc:creator><![CDATA[snantz]]></dc:creator><pubDate>Sun, 06 Jan 2019 23:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to Can you feed back information to Alexa on Thu, 03 Jan 2019 22:57:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1780">@snantz</a>, this is the second request for something like this.  I've been thinking about how I would implement that.</p>
<p dir="auto">I'm thinking I could give an option you could enable on each command to tell Alexa or Google Assistant to wait a few seconds for a response from the computer.  If the computer sends a response, then Alexa or Google Assistant would speak the text in the response.  I'm thinking the response could be sent with a curl or tcmd command.</p>
<p dir="auto">What do you think?</p>
]]></description><link>https://www.triggercmd.com/forum/post/1132</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1132</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 03 Jan 2019 22:57:35 GMT</pubDate></item></channel></rss>