<?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[Google assistant say the Raspberry Pi temperature]]></title><description><![CDATA[<p dir="auto">I put my Rasberry Pi in a handmade box and I am concerned about it's temperature. So I created this trigger to be able to check the Pi temperature using google assistant.</p>
<pre><code>{"trigger":"Pi temperature","command":"python3 /home/pi/temperature.py","ground":"background","voice":"system temperature","voiceReply":"The pi temperature is {{result}} degrees","allowParams": "false"}
</code></pre>
<p dir="auto">The Python3 script</p>
<pre><code>#!/usr/bin/env python3

import subprocess
import os

reply = str(subprocess.check_output(['vcgencmd', 'measure_temp']))
result = reply[reply.find('=') + 1: reply.find('C')- 1]
os.system('~/.TRIGGERcmdData/sendresult.sh ' + result)
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/topic/609/google-assistant-say-the-raspberry-pi-temperature</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 06:55:46 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/609.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Feb 2020 09:35:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Google assistant say the Raspberry Pi temperature on Wed, 12 Jan 2022 12:26:20 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 for that suggestion though I may wait to see what you come up with.<br />
The TRIGGERcmd Command does work, even if a bit clunky but maybe I'm just not using it correctly.<br />
In any case I don't plan to use this temperature call often as I do have the read out in HomeGenie.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5212</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5212</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Wed, 12 Jan 2022 12:26:20 GMT</pubDate></item><item><title><![CDATA[Reply to Google assistant say the Raspberry Pi temperature on Wed, 12 Jan 2022 02:52:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a>, I agree.  The TRIGGERcmd Smart Home skill recognizes your words the best, but it doesn't have this feature to have your Alexa say things that your command outputs.</p>
<p dir="auto">Your question gave me an idea of how I might be able to make that work though.  I'm thinking I could do something similar to what Voice Monkey did.</p>
<p dir="auto">In the meantime you could use <a href="https://voicemonkey.io/" rel="nofollow ugc">Voice Monkey</a>.  You can call their API with a curl command and provide what you want your Alexa to say, like this:</p>
<pre><code>curl "https://api.voicemonkey.io/trigger?access_token=(voice_monkey_token)&amp;monkey=(your_monkey_name)&amp;announcement=The temp is 60 degrees"
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/post/5208</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5208</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Wed, 12 Jan 2022 02:52:49 GMT</pubDate></item><item><title><![CDATA[Reply to Google assistant say the Raspberry Pi temperature on Tue, 11 Jan 2022 18:22:34 GMT]]></title><description><![CDATA[<p dir="auto">I think figured it out was trying with the smarthome skill verses Trigger command. Glad it works with Alexa too. To bad all TRIGGERcmd actions couldn't all be combined into 1 skill.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5201</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5201</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Tue, 11 Jan 2022 18:22:34 GMT</pubDate></item><item><title><![CDATA[Reply to Google assistant say the Raspberry Pi temperature on Tue, 11 Jan 2022 14:35:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/2856">@hm123</a>, I love this idea!<br />
I have a pi zero with extra USB hat mounted inside a X10 CM15 controller.<img src="/forum/assets/uploads/files/1641911135752-zwave_cm15.jpg" alt="zwave_cm15.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have a script to display several system stats (including CPU temperature) in my HomeGenie server.<br />
<img src="/forum/assets/uploads/files/1641910876316-rpi-tools.png" alt="RPi Tools.png" class=" img-fluid img-markdown" /><br />
Although this has been running fine, monitoring temperature for this PI via voice would be a welcome addition.</p>
<p dir="auto">I'm having a problem testing this and that may be due to the fact that I've not subscribed yet. perhaps <a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> could confirm.<br />
I don't get a reply back from my Google mini so I assume it counts as two calls in under a min.<br />
Would this work with Alexa as well?</p>
]]></description><link>https://www.triggercmd.com/forum/post/5200</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5200</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Tue, 11 Jan 2022 14:35:38 GMT</pubDate></item><item><title><![CDATA[Reply to Google assistant say the Raspberry Pi temperature on Sun, 02 Feb 2020 16:02:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/2856">@hm123</a>, that is awesome.  Thanks for sharing it.</p>
]]></description><link>https://www.triggercmd.com/forum/post/1879</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/1879</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 02 Feb 2020 16:02:03 GMT</pubDate></item></channel></rss>