<?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[A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside)]]></title><description><![CDATA[<p dir="auto">I did a magic mirror with ReSpeaker 4 Mic Linear Array to add voice interface to a Magic Mirror. It is very interesting. Children like it so much. hahah<br />
As using a 4 Mic Linear Array, we are able to detect sound Direction of Arrial (DOA) which can be used to provide some creative functions. We can use beamforming to enhance a specific direction’s sound. It is really a good sensor to do voice related projects. The link is as below.<br />
<a href="http://bit.ly/respeaker-mic" target="_blank" rel="noopener noreferrer nofollow ugc">respeaker-mic</a></p>
<p dir="auto"><img src="https://user-images.githubusercontent.com/948283/44985871-7e230b00-afb4-11e8-860b-7b3ce3f57585.jpg" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://user-images.githubusercontent.com/948283/44985869-7d8a7480-afb4-11e8-9aed-97a93384348d.jpg" alt="Bild Text" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Material:</strong><br />
Raspberry Pi 3B<br />
ReSpeaker 4 Mic Linear Array（sound card）<br />
HDMI display<br />
two way mirror<br />
frame<br />
SD card<br />
Raspberry Pi 3B<br />
ReSpeaker 4 Mic Linear Array（sound card）<br />
HDMI display<br />
two way mirror<br />
frame<br />
SD card</p>
<p dir="auto">:grinning_face_with_smiling_eyes:</p>
<hr />
<p dir="auto">Software Tutorial for you</p>
<p dir="auto"><strong>Setup Raspberry Pi</strong></p>
<p dir="auto">Download a customized pi image， which includes the sound card’s driver and some voice related packages (Do not use the lite version for we need desktop enviroment to show GUI). We can write the image to a SD card with rufus (very tiny but only for windows) or ether.</p>
<p dir="auto">If you don’t have any extra keyboard to access and configure the Raspberry Pi， you can setup WiFi configuratio and enable SSH before first time boot. To do that, Juse add a file named ssh to the boot partition of the SD card, which enables SSH, and then create a file named wpa_supplicant.conf with the following content, replace ssid and psk with yours</p>
<pre><code>country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
     ssid="WiFi SSID"
     psk="password"
}
</code></pre>
<p dir="auto">Power on your Pi， use Pi’s IP or raspberry.local（requires mDNS support， need to install Bonjour on Windows） to login via ssh (On Windows, putty is a handy ssh client).</p>
<p dir="auto"><img src="https://user-images.githubusercontent.com/948283/44985871-7e230b00-afb4-11e8-860b-7b3ce3f57585.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
<strong>Install Magic Mirror</strong></p>
<p dir="auto">To install Magic Mirror software package， just run：</p>
<p dir="auto"><code>bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"</code><br />
This command will clone MagicMirror repository from github to ~/MagicMirror， install node, npm and other dependencies.</p>
<p dir="auto">Note: Do not use apt install to install node and npm, node and npm in the deb repository is kind of outdated. Remove them if already installed.<br />
<strong>Install Magic Mirror modules: MMM-Remote-Control and MMM-kalliope</strong></p>
<pre><code>cd ~/MagicMirror/modules
git clone https://github.com/kalliope-project/MMM-kalliope.git
git clone https://github.com/Jopyth/MMM-Remote-Control.git
cd MMM-Remote-Control
npm install
</code></pre>
<p dir="auto">and then add the configuration of MMM-Remote-Control and MMM-kalliope to moddules of <code>~/MagicMirror/config/config.js</code></p>
<pre><code>{
    module: "MMM-kalliope",
    position: "upper_third",
    config: {
        title: "",
        max: 1
    }
},
{
    module: 'MMM-Remote-Control'
    // uncomment the following line to show the URL of the remote control on the mirror
    // , position: 'bottom_left'
    // you can hide this module afterwards from the remote control itself
},
</code></pre>
<p dir="auto">restart MagicMirror to enable the new configuration. Use the following command to test if we can send a message to MagicMirror</p>
<p dir="auto"><code>curl -H "Content-Type: application/json" -X POST -d '{"notification":"KALLIOPE", "payload": "my message"}' http://localhost:8080/kalliope</code><br />
<strong>Configure Weather module</strong></p>
<p dir="auto">By default, a weather module using OpenWeatherMap is included， we need sign up OpenWeatherMap to get a API key and fill the key to <code>~/MagicMirror/config/config.js</code></p>
<p dir="auto"><strong>Set Google Assistant</strong></p>
<p dir="auto">Go to Introduction to the Google Assistant Library to install and setup Google Assistant Library</p>
<p dir="auto">After authorization, we can just run <code>mirror_with_google_assistant.py</code> to start the Google Assistant for the Mirror.</p>
]]></description><link>https://forum.magicmirror.builders/topic/8939/a-magic-mirror-based-on-raspberry-pi3b-respeaker-sensor-and-google-assistant-tutorial-inside</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 08:30:39 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/8939.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Oct 2018 08:47:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside) on Mon, 03 Dec 2018 01:04:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/canadrian" aria-label="Profile: canadrian">@<bdi>canadrian</bdi></a> Just download it from Raspberry Pi official website. It is convenient.</p>
]]></description><link>https://forum.magicmirror.builders/post/47611</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47611</guid><dc:creator><![CDATA[Rosley GE]]></dc:creator><pubDate>Mon, 03 Dec 2018 01:04:27 GMT</pubDate></item><item><title><![CDATA[Reply to A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside) on Thu, 08 Nov 2018 18:17:44 GMT]]></title><description><![CDATA[<p dir="auto">Interesting!<br />
Are MM and GA independend or can you influence MM with GA (like showing or hiding modules)?<br />
I think I made my mirror in the same way.<br />
I have the original Google AIY kit in my MM.<br />
They work independend: I can ask Google any kind of questions, set timers and turn on the gardenlights and the fountain in the pond with my voice.<br />
But I cannot hide or show modules with voice.<br />
I am very interested in integrating MM and GA, but I do not know how.<br />
Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/46525</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46525</guid><dc:creator><![CDATA[Peter]]></dc:creator><pubDate>Thu, 08 Nov 2018 18:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside) on Thu, 08 Nov 2018 16:17:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Looks beautiful.<br />
Where I can download the image from? Thanks.</p>
]]></description><link>https://forum.magicmirror.builders/post/46517</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46517</guid><dc:creator><![CDATA[canadrian]]></dc:creator><pubDate>Thu, 08 Nov 2018 16:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside) on Mon, 22 Oct 2018 02:01:49 GMT]]></title><description><![CDATA[<p dir="auto">Zdenek,<br />
Don’t worry. It is very easy. The respeaker mic sensor has many detailed connection guidance. You can visit respeaker wiki first.<br />
<a href="http://bit.ly/Respeaker-wiki" target="_blank" rel="noopener noreferrer nofollow ugc">Respeaker-wiki</a><br />
If you have any question, I am happy to share my experience.</p>
]]></description><link>https://forum.magicmirror.builders/post/45723</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45723</guid><dc:creator><![CDATA[Rosley GE]]></dc:creator><pubDate>Mon, 22 Oct 2018 02:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to A magic mirror based on Raspberry Pi3B, Respeaker sensor and google assistant (Tutorial Inside) on Fri, 19 Oct 2018 16:14:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rosley-ge" aria-label="Profile: rosley-ge">@<bdi>rosley-ge</bdi></a> said in <a href="/post/45605">A magic mirror based on Raspberrt Pi3B, Respeaker sensor and google assistant (Tutorial Inside)</a>:</p>
<blockquote>
<p dir="auto">respeaker-mic</p>
</blockquote>
<p dir="auto">wow, looks great. I’ve no expirience connecting any HW to RPi. Can u plese give StepByStep how to connect Mic+Repro?</p>
<p dir="auto">thanks, Zdeněk</p>
]]></description><link>https://forum.magicmirror.builders/post/45652</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45652</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Fri, 19 Oct 2018 16:14:18 GMT</pubDate></item></channel></rss>