<?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[Voice Assistant]]></title><description><![CDATA[<p dir="auto">I have created my own python voice assistant. Now, I would like to display the output of the voice assistant like it does for google assistant as shown below :<br />
<img src="/assets/uploads/files/1633522129664-dde657b1-97d1-4f25-89e8-69b4a504661f-image.png" alt="dde657b1-97d1-4f25-89e8-69b4a504661f-image.png" class=" img-fluid img-markdown" /><br />
How can I configure my python voice assistant to display an output like this ?</p>
]]></description><link>https://forum.magicmirror.builders/topic/15702/voice-assistant</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 18:07:37 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15702.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Oct 2021 12:09:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 13:06:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jairojosy" aria-label="Profile: jairojosy">@<bdi>jairojosy</bdi></a> as <a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a>  mentions, mm is JavaScript, so your only real choice is to execute your assistant outside mm, and collect it’s output, and pass that to a mm module that understands what the output message means.</p>
<p dir="auto">not that hard really. PythonPrint shows a simple stdout approach.</p>
<p dir="auto">getting the mic to work for input has always been the hardest. none of the good voice reco engines are free anymore,  but not expensive.   google charged me 51 cents for last months reco usage.</p>
]]></description><link>https://forum.magicmirror.builders/post/95320</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95320</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Oct 2021 13:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 13:00:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jairojosy" aria-label="Profile: jairojosy">@<bdi>jairojosy</bdi></a><br />
This would be unnecessary worrying, but I have to point these things;</p>
<ul>
<li>Implementing Google Assistant in a device doesn’t mean you can handle that device with voice commands. The two things are less related.</li>
<li>For native commanding MM with voice, you need to host <code>Custom Device Actions</code> by yourself. (Or you can depend on IFTTT, but somewhat limited features)</li>
<li>To get the benefit of native flawless conversation, you might need <code>dyanmic or local fulfillment</code>, but in that case Certificated server is needed.</li>
</ul>
<p dir="auto">However, whole the experience will probably be interesting and funny. Good luck to you.</p>
]]></description><link>https://forum.magicmirror.builders/post/95319</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95319</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Wed, 06 Oct 2021 13:00:54 GMT</pubDate></item><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 12:33:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jairojosy" aria-label="Profile: jairojosy">@<bdi>jairojosy</bdi></a><br />
Ok.<br />
I assume you are using Google Assistant Service SDK with Python library.<br />
You may get the response from Assistant Server as <code>AssistResponse</code>. You can find some member data of that response like <code>audio_out</code> or <code>screen_out</code>, or <code>DialogStateOut.supplemental_display_text</code> or whatever you need.</p>
<p dir="auto">Once you extract the data you need, the next thing you need to do is emit that data into MM. A usual way might be REST-like requesting/responsing. You need to build MM module which can handle HTTP request/response, like <code>GET http://localhost:8080/MMM-MyGoogleAssistant/message?...</code> I think you can make your python app to request your data through that REST-like URL.</p>
<p dir="auto">Another way might be using MQTT, or websocket messaging. Or if you have some experience, you can execute your python app inside your node module then get the <code>stdout</code> as an input stream.</p>
<p dir="auto">I recommend implementing with native MM module by nodeJS instead of external Python thing. but decision is yours.</p>
]]></description><link>https://forum.magicmirror.builders/post/95318</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95318</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Wed, 06 Oct 2021 12:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 12:16:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: mmrize">@<bdi>mmrize</bdi></a> I would like to use self-made assistant</p>
]]></description><link>https://forum.magicmirror.builders/post/95317</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95317</guid><dc:creator><![CDATA[jairojosy]]></dc:creator><pubDate>Wed, 06 Oct 2021 12:16:44 GMT</pubDate></item><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 12:16:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jairojosy" aria-label="Profile: jairojosy">@<bdi>jairojosy</bdi></a><br />
Use already existing module like MMM-GoogleAssistant.<br />
Your python app is not compatible with MM. At least you need to hook the output response then transmit to MM, and also you need to build a receiver module to get and display conversation. I will not say it is impossible, but not so quite simple. Why are you reinventing wheel again?</p>
]]></description><link>https://forum.magicmirror.builders/post/95316</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95316</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Wed, 06 Oct 2021 12:16:56 GMT</pubDate></item><item><title><![CDATA[Reply to Voice Assistant on Wed, 06 Oct 2021 12:16:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jairojosy" aria-label="Profile: jairojosy">@<bdi>jairojosy</bdi></a> u will have to write a module that provides content for the display</p>
<p dir="auto">you can look at/buildon my pythonPrint module that launches a python app and displays it’s stdout content<br />
<a href="https://github.com/sdetweil/MMM-PythonPrint" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-PythonPrint</a></p>
]]></description><link>https://forum.magicmirror.builders/post/95315</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/95315</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Oct 2021 12:16:22 GMT</pubDate></item></channel></rss>