<?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[How I got my Magic Mirror working on a Raspberry Pi 0 (zero)]]></title><description><![CDATA[<p dir="auto">First of all, thank you all for being awesome and helping Michaels project become bigger then he probably ever imagined.</p>
<p dir="auto">As some of you might know, due to a different type of processor, the MagicMirror2 currently does not work out of the box on Raspberry Pi 1s and 0s. However, after I had my Pi0 sitting in it’s box for a year or so, my girlfriend decided she wanted a Magic Mirror for her birthday, with only 5 days left, I decided I would accept the challenge.</p>
<p dir="auto">In hindsight, I would have been better of with just buying some nice candles or whatever and promising her the mirror for another time, but hey, captain hindsight is a bitch ;)</p>
<p dir="auto">So my research started here on this forum, with the post from user @evos in this topic:<br />
<a href="https://forum.magicmirror.builders/topic/98/pi-zero/11">https://forum.magicmirror.builders/topic/98/pi-zero/11</a></p>
<p dir="auto">However when I did the steps he did I ended up more confused and angry then I was before. After all, I saw all the right  words flying by on my monitor, sadly all with a big red ‘Error’ message in front of it. Keep in mind that when I started this project my only experience with Linux, Raspberries and command lines was fiddling around a bit when I first got my Pi0 delivered to my house.</p>
<p dir="auto">What I started out with:<br />
-Raspberry Pi Zero<br />
-8GB micro SD card with SD adapter<br />
-Edimax WIFI donle with the N150 chipset<br />
-Mini HDMI to HDMI adapter<br />
-Mini USB to USB adapter<br />
-My phones charger<br />
-A cheap VGA monitor I got from a thrift shop for about 8 euros.<br />
-USB keyboard, USB mouse and HDMI monitor from my PC</p>
<p dir="auto">So what did I do (trying my best here to remember every step I took, my documentation is horrible to be fair):</p>
<ol>
<li>Installing Jessie Lite.<br />
Installing Jessie Lite is probably the easiest step, just download the Image from <a href="https://www.raspberrypi.org/downloads/raspbian/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/downloads/raspbian/</a>  and follow the instructions found here <a href="https://www.raspberrypi.org/documentation/installation/installing-images/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/documentation/installation/installing-images/README.md</a> .</li>
</ol>
<p dir="auto">Note: Jessie Lite is a command line based version of Jessie. In my imagination this was better to run a Magic Mirror from since it was lighter to run for the Pi since it didn’t include any unwanted programs like Minecraft. If you would like to have a ‘visual desktop’ on your Pi however, install the normal Jessie version. You might run into problems however when you follow this ‘tutorial’. Seriously, like a Pi is going to run all my mods for Minecraft ;)</p>
<ol start="2">
<li>
<p dir="auto">Setting up a WIFI connection.<br />
Although this might be common knowledge, I had to do some research to get my Pi accessible via SSH (we will talk about that later) to get the work done. Your first step will be to connect the Pi to the monitor and plug in your keyboard. When you power on your Pi a list of fancy words will appear and at some point you will be greeted with green letters and the ability to type, and so we will type like our lives depend on it!<br />
The first thing you want to type is:<br />
<em><strong>sudo nano /etc/wpa_supplicant/wpa_supplicant.conf</strong></em><br />
This opens a document called ‘wpa_supplicant.conf’, basically the place where we can tell our Pi to connect to our WIFI. In this document we want to insert the following text:<br />
<em><strong>network={<br />
ssid=“Your_wifi_name”<br />
psk=“Your_wifi_password”<br />
}</strong></em><br />
Replace ‘Your_wifi_name’ with the name of your Wifi Network and replace ‘Your_wifi_password’ with your Wifi networks password. Make sure to match both the name and password exactly, including capital letters etc. Also keep the name/password surrounded with the "s, without these it won’t work. If you have multiple networks you want your Pi to be able to connect to, you can add the inserted text multiple times. I only tested it with 2 at the moment, and that seems to work just fine.<br />
When you’re done editting the file, press crtl+x to close the file, it will ask you if you want to save the changes you made, accept this by pressing ‘y’ and finally press enter to go back to your command line. At this point you can shut down your Pi by typing ‘<em><strong>sudo shutdown</strong></em>’ and waiting a minute.</p>
</li>
<li>
<p dir="auto">Connecting from the comfort of your desktop<br />
When your Pi is shut down, you can plug your keyboard back into your pc, and plug the WIFI adapter into the Raspberry Pi. When you power up your Pi it will connect to your WIFI network if everything went alright.<br />
So now what?<br />
We want to connect and work on our Pi from our PC, so we need to connect to it via an ‘SSH connection’. To do this we need a few things:<br />
-A program to start such a connection<br />
-The IP adres of our Pi<br />
Personally I used the program ‘Advanced IP Scanner’ to scan my network for connected devices, the Raspberry was listed here. Later I learned that the IP adres of the Pi is also mentioned in one of the last lines you see when you boot the Pi with a monitor hooked up, the choice is yours!<br />
For establishing a SSH connection, I just a program called ‘Putty’. When you install it it is basically entering the IP adres of the Pi and press connect, you will now be greeted by the same command line as before.<br />
NOTE: Here is where my fuzzy brain is coming in. I firmly believe that my Pi had SSH enabled by default, but when writing this tutorial I read that as of late SSH is disabled by default on new releases. For more information and how to enable SSH in your Pi check: <a href="https://www.raspberrypi.org/documentation/remote-access/ssh/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/documentation/remote-access/ssh/</a> . It is recommended to check this before disconnecting your Pi from keyboard/monitor, just to safe you the hassle of cables.</p>
</li>
</ol>
<p dir="auto">If you’re still with me: You’re as awesome as awesomnes comes!<br />
Now lets get on with the fun stuf!</p>
<ol start="4">
<li>
<p dir="auto">The installation of Node.js<br />
As far as I can tell Node.js is basically a ‘motor’ for most of the fancy scripts Michael and others have written for the Pi. In any case it makes things work, so we want it!<br />
The way of installing mentioned in the other post worked fine for me, so again credits to user @evos !<br />
<em><strong>sudo wget <a href="http://node-arm.herokuapp.com/node_latest_armhf.deb" target="_blank" rel="noopener noreferrer nofollow ugc">http://node-arm.herokuapp.com/node_latest_armhf.deb</a><br />
sudo dpkg -i node_latest_armhf.deb</strong></em><br />
NOTE: Interesting to know is that starting a command with ‘sudo’ makes you run the command ‘as the big boss’, basically bypassing most of the permissions systems of the Pi. Whenever a command gives you slack for not having permission, try adding ‘sudo’ to it. This will become relevant later on ;)</p>
</li>
<li>
<p dir="auto">Installing NPM.<br />
What is NPM? Google tells me the following: <em>‘npm makes it easy for JavaScript developers to share and reuse code, and it makes it easy to update the code that you’re sharing.’</em>. Sounds cool, sounds handy, @evos  told us we need it so we get it! @evos told us to just type:<br />
<em><strong>sudo apt-get install npm</strong></em><br />
and watch the magic happen, and it happened!<br />
NOTE: In all seriousness, from what I’ve gathered NPM is a ‘program’ that helps you install scrips that are made by other people, like Michaels Magic Mirror.</p>
</li>
<li>
<p dir="auto">Installing the Magic Mirror with magic.<br />
As per @evos tutorial, we simple put the 3 following commands in our command line, one after each other:<br />
<em><strong>cd /home/pi/<br />
git clone <a href="https://github.com/MichMich/MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror</a><br />
sudo npm install</strong></em><br />
NOTE: The ‘cd’ command is used to go to a certain location in your files. When you simply put ‘cd’ in the command line and press enter, you will be taken to the ‘root directory’ of your file system. In easy words: ‘cd’ brings you to the stem of the tree, ‘cd /home/pi’ will walk you from the stem to the ‘home’ branch and finally to the ‘pi’ branch of the tree. In windows terms ‘cd /this pc/c/program files’ would bring you from your desktop to your ‘program files’ folder.</p>
</li>
<li>
<p dir="auto">Installing a browser.<br />
Normally installing the Magic Mirror would be a piece of cake and the command will just install everything for you. However on a Pi1 or Pi0, only the ‘server’ side of Michaels program works, the ‘browser’ will not work. Therefore we will install our own browser and take matters into our own hands!<br />
While @evos suggested that we use ‘Kweb’ as a browser, I literally couldn’t get the damn thing to work. After a few moments of intense crying, I decided to go with user <a class="plugin-mentions-user plugin-mentions-a" href="/user/darkeagl105" aria-label="Profile: darkeagl105">@<bdi>darkeagl105</bdi></a> s suggestion and go with the ‘Midori’ browser. Working this out was literally half the battle for me. Installing Midori is a piece of cake via the following command:<br />
<em><strong>sudo apt-get install midori</strong></em><br />
Now you’re the proud owner of a browser on your Raspberry Pi! Cake all around!</p>
</li>
</ol>
<p dir="auto">NOTE: ‘apt-get’ is a way to handle programs in Linux. It is basically a way for your Pi to look in a ‘phone book’ for a specific name/program and where to download it from. The ‘install’ part is so your Pi knows what to actually do with the files, in this case Install them. Other uses of ‘apt-get’ are e.g. ‘apt-get purge’ and ‘apt-get remove’. Of course you have to ‘sudo’ those commands, cause only the big bosses can install and removes programs, right?</p>
<ol start="8">
<li>Begone cursor, begone!<br />
What is worse then a non-working Magic Mirror? A non-working Magic Mirror with a silly cursor in the middle of the screen. Trust me, it was a horrible sight.<br />
Now here is where I am a bit in doubt. @evos tutorial tells us to install ‘unclutter’ via the command:<br />
<em><strong>sudo apt-get install unclutter</strong></em><br />
and while I DID install this, I’m not sure if this is needed in the end. When I tried to run my Mirror with just Unclutter, the cursor still showed up. I ended up disabling the cursor further in the installation process, which worked like a charm.If I where to make a Mirror once again, I would probably just install Unclutter again, just to be sure. Maybe someone can tell us if this is needed in the comments.</li>
</ol>
<p dir="auto">Pfew, that was a lot, wasn’t it? Now grab a drink and tell me a tale of raspberries and pies for you.<br />
When you install Jessie Lite that means there is no graphical interface AT ALL available to you. just letters, numbers and about a handful of colors is what you get. This is the world of the ‘terminal’ where all the command lines life and work. Let’s call this world the <em><strong>1.5D dimension</strong></em>. Basically it has some horizontal and vertical lines (which would make it 2D right?!) but due to the lack of color and pictures of cats, we deduct it 0.5 points and call it the <em><strong>1.5D Dimension.</strong></em></p>
<p dir="auto">Now the Magic Mirror lives in the <em><strong>2D Dimension</strong></em>, the world where pictures are the norm. Where clouds live on the right side of the screen, funky calendar icons live on the left, and the ‘Fish of the day’ module lives everywhere.</p>
<p dir="auto">So how do we get our 1.5D stuff to the 2D world? Simple, we call  superheroes to smash the barrier and create a nice piece of 2D land for our Mirror to live. In this case ‘Xinit’ is our ‘barrier smasher’, he breaks through the dimensions and opens it up for ‘Matchbox’ to claim and create our little 2D land.</p>
<p dir="auto">Now for the people who don’t like tales and just want info: We’re going to use Xinit and Matchbox to get our stuff out of the terminal and into visual stuff on our monitor.<br />
<strong>DISCLAIMER: This is roughly how my brother explained it to me. He probably said a lot more correct stuff as he made his job of Linux wizardry, but this is what I got from it. In case you read this, sorry for butchering your info Gokkie ;)</strong></p>
<ol start="9">
<li>
<p dir="auto">Installing superheroes Xinit and Matchbox<br />
Installing Xinit was rather easy to be honest. Simply use the command:<br />
<em><strong>sudo aptitude install xinit</strong></em><br />
After that it was time to install Matchbox via the following command:<br />
<em><strong>sudo apt-get install matchbox</strong></em><br />
To be fair, calling these heroes was rather easy. If only Commissioner Gordon could ‘apt-get’ Batman, would save him a lot of time in the rain I imagine.</p>
</li>
<li>
<p dir="auto">No more passwords, yay!<br />
We want our Magic Mirror to start when we boot the Pi ofcourse, so we have to tell the Pi to do so.<br />
First of all we got to log in automatically. So we type:<br />
<em><strong>sudo raspi-config</strong></em><br />
we go to <em><strong>Boot Options</strong></em> -&gt; <em><strong>B1 Desktop/CLI</strong></em> -&gt;  <em><strong>B2 Console Autologin</strong></em><br />
From now on our Pi should log in automatically, while SSHing into the Pi would still require a password.<br />
<strong>NOTE: It is always recommended to at least change the password of your Pi in the ‘raspi-config’ file, since all Pies ship with the same login/password.</strong></p>
</li>
<li>
<p dir="auto">Setting up boot scripts<br />
I personally use 2 different scripts for booting my Pi. The first one tells the Magic Mirror to start, wait for a bit, and then go on with the second script. These could probably be combined, but I’m just glad it all works ;)<br />
Let’s create script number 1:<br />
<em><strong>sudo nano /home/pi/start.sh</strong></em><br />
In this file we want the following  text:<br />
<em><strong>cd ~/MagicMirror<br />
node serveronly &amp;<br />
sleep 45<br />
sudo xinit /home/pi/startMidori.sh</strong></em><br />
So what does this script do? Go to the MagicMirror folder, start the server, wait for 45 seconds (this could probably be lowered to 30, but let’s keep it on the safe side shall we?) and finally start the Xinit process and start the next script. <strong>Now please mind that I started the Xinit process with a ‘sudo’. If I recall correctly this is not recommended to do, however, I fell into a pit of permission problems when I didn’t use the sudo, so there we go. Probably not the safest, but it works like a charm.</strong><br />
Now we make sure the script is ‘executable’ aka the Pi can run the script (thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> !) with the following command:<br />
<em><strong>chmod a+x /home/pi/start.sh</strong></em><br />
Now to make sure the Pi actually does something with this fancy script, we have to tell him/her that. The Pi has a nice ‘to-do list’ it checks everything it boots, so we can add something there, right?!<br />
<em><strong>sudo nano /home/pi/.bashrc</strong></em><br />
And add the following to it at the very bottom of the page:<br />
<em><strong>/home/pi/start.sh</strong></em><br />
We are so close now, I can almost taste the Mirror. Probably best to stop licking it.<br />
My second script is to tell Xinit and Matchbox what to do. We create it via:<br />
<em><strong>sudo nano /home/pi/startMidori</strong></em><br />
In this file I added the following:<br />
<em><strong>#!/bin/sh<br />
xset -dpms # disable DPMS (Energy Star) features.<br />
xset s off # disable screen saver<br />
xset s noblank # don’t blank the video device<br />
matchbox-window-manager &amp;<br />
midori -e Fullscreen -a <a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a></strong></em><br />
The ‘<a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a>’ can be changed to any site you want, by default this is the place to find your Magic Mirror.<br />
<strong>NOTE: In this last part we used ‘nano’ a lot in the commands, as far as I am aware this command is used to open files in a text editor!</strong><br />
(thanks to <a href="http://www.instructables.com/id/Raspberry-Pi-Digital-Signage-Exchange-Rate-Display/step13/Start-the-Midori-browser-in-full-screen-mode/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.instructables.com/id/Raspberry-Pi-Digital-Signage-Exchange-Rate-Display/step13/Start-the-Midori-browser-in-full-screen-mode/</a> for this whole last part btw)</p>
</li>
<li>
<p dir="auto">Almost there, just a few more minutes!<br />
The last thing I had to figure out was rotating the screen for my monitor and setting the right resolution.<br />
This was done in the /boot/config file:<br />
<em><strong>sudo nano /boot/config.txt</strong></em><br />
and adding the following to the bottom:<br />
<em><strong>disable_overscan=1<br />
framebuffer_width=1050<br />
framebuffer_height=1680<br />
framebuffer_depth=32<br />
framebuffer_ignore_alpha=1<br />
hdmi_pixel_encoding=1<br />
hdmi_group=2<br />
display_rotate=1</strong></em><br />
Change the ‘framebuffer_width’ and ‘framebuffer_height’ to the resolution of your monitor. After some fiddling it worked for me when I but the actual width of the screen as ‘height’ and vice versa, since the monitor is turned ofc. The ‘display_rotate=1’ makes the screen rotate 90 degrees. below are your choices for rotating (thanks to Lanewinfield in this topic: <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=108&amp;t=120793" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/forums/viewtopic.php?f=108&amp;t=120793</a>)<br />
<em><strong>display_rotate=0 Normal<br />
display_rotate=1 90 degrees<br />
display_rotate=2 180 degrees<br />
display_rotate=3 270 degrees<br />
display_rotate=0x10000 horizontal flip<br />
display_rotate=0x20000 vertical flip</strong></em></p>
</li>
</ol>
<p dir="auto">A few things to remember:<br />
-When you edit a file, always ‘crtl+x’, ‘y’, ‘enter’ to quit and save the file<br />
-I might have missed some things in this ‘guide’, since it was a 48 hr struggle for me and I hardly documented anything, but I’m pretty sure these are the base steps to get it all working.<br />
-I am in NO WAY an expert on this stuff, just an obstinate dutch student ;)<br />
-After these steps you still need to actually configure your Magic Mirror, this can easily be done by following the ‘Readme’ on the Github: <a href="https://github.com/MichMich/MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror</a><br />
-Seriously, Michael Teeuw and this community are amazeballs!</p>
<p dir="auto">For everyone who read this to the end, thanks. To everyone struggling with this project, good luck!<br />
Sadly I have no photos yet to post, since I’m waiting on a couple of cables to arrive (Damn you dutch post office!), but it all working on multiple of the screens around my house!</p>
<p dir="auto">Thanks and good luck,<br />
Wieber</p>
]]></description><link>https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 06:05:50 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1183.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Dec 2016 19:29:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 12 Sep 2018 20:00:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asaxena11" aria-label="Profile: asaxena11">@<bdi>asaxena11</bdi></a></p>
<ol>
<li>sudo wget <a href="http://node-arm.herokuapp.com/node_latest_armhf.deb" target="_blank" rel="noopener noreferrer nofollow ugc">http://node-arm.herokuapp.com/node_latest_armhf.deb</a></li>
<li>sudo dpkg -i node_latest_armhf.deb</li>
<li>sudo apt-get install npm</li>
</ol>
<p dir="auto">My problem:<br />
I made fresh installation of whole magic mirror about 2 weeks ago because I had a problem with screen size - have huge black part of screen which is “covering” right modules.<br />
I tried electronOptions, modifiyng the /boot/config.txt and without luck.<br />
I am running 2.4.1 on fresh installation of Stretch Lite</p>
]]></description><link>https://forum.magicmirror.builders/post/44365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44365</guid><dc:creator><![CDATA[Lahim]]></dc:creator><pubDate>Wed, 12 Sep 2018 20:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 07 Sep 2018 22:55:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chilln" aria-label="Profile: chilln">@<bdi>chilln</bdi></a></p>
<p dir="auto">How did you upgrade Node ?</p>
]]></description><link>https://forum.magicmirror.builders/post/44239</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44239</guid><dc:creator><![CDATA[asaxena11]]></dc:creator><pubDate>Fri, 07 Sep 2018 22:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 07 Sep 2018 22:48:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I tried running the instructions provided in the guide and I get stuck on running npm install . The error occurs when trying to download electron package. how did you all proceed.</p>
<p dir="auto">I am running rasbian Stretch lite</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/44238</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44238</guid><dc:creator><![CDATA[asaxena11]]></dc:creator><pubDate>Fri, 07 Sep 2018 22:48:51 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Thu, 30 Aug 2018 00:50:10 GMT]]></title><description><![CDATA[<p dir="auto">Anyhow, I did a fresh install and tried this both with the latest and originally mentioned software and it does not work. I think this guide is outdated.</p>
]]></description><link>https://forum.magicmirror.builders/post/43942</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43942</guid><dc:creator><![CDATA[epi]]></dc:creator><pubDate>Thu, 30 Aug 2018 00:50:10 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 29 Aug 2018 12:43:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have Pi1, beend following the guide with the exception of installing latest software.<br />
I was not installing wifi, using wired connection.</p>
<p dir="auto">So now I’m on step 6<br />
<strong>cd /home/pi/<br />
sudo apt-get install git<br />
git clone <a href="https://github.com/MichMich/MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror</a><br />
cd MagicMirror</strong></p>
<p dir="auto">all good, but on next command <strong>sudo npm install</strong> getting error message:</p>
<p dir="auto"><strong>pi@raspberrypi:~/MagicMirror $ sudo npm install<br />
/usr/bin/nodejs: relocation error: /usr/bin/nodejs: symbol , version GLIBC_2.4 not defined in file libc.so.6 with link time reference</strong></p>
]]></description><link>https://forum.magicmirror.builders/post/43929</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43929</guid><dc:creator><![CDATA[epi]]></dc:creator><pubDate>Wed, 29 Aug 2018 12:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Sun, 22 Jul 2018 20:12:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jpvalery" aria-label="Profile: jpvalery">@<bdi>jpvalery</bdi></a> I did have the same problem with black and/or white screen as you had, it seems it was related to the old v4.xx version of nodejs.</p>
<p dir="auto">Once i installed the newest armv6 version (at this time: <a href="https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-armv6l.tar.xz" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-armv6l.tar.xz</a>) it started working in Chromium but not in Midori. Good enough for me though.</p>
]]></description><link>https://forum.magicmirror.builders/post/42510</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42510</guid><dc:creator><![CDATA[chilln]]></dc:creator><pubDate>Sun, 22 Jul 2018 20:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 11 Jul 2018 14:23:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/janth" aria-label="Profile: janth">@<bdi>janth</bdi></a> - thanks I also used pm2 but your way is better.</p>
<p dir="auto">But I have other problem - I do not see right modules on the mirror. There is no problem from the local net.<br />
I checked top_right and bottom_right - same result.<br />
I moved clock module from top_left to top_right and it became invisible.<br />
Any clue?</p>
]]></description><link>https://forum.magicmirror.builders/post/42189</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42189</guid><dc:creator><![CDATA[Lahim]]></dc:creator><pubDate>Wed, 11 Jul 2018 14:23:37 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Mon, 14 May 2018 17:15:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/janth" aria-label="Profile: janth">@<bdi>janth</bdi></a> said in <a href="/post/39432">How I got my Magic Mirror working on a Raspberry Pi 0 (zero)</a>:</p>
<p dir="auto">have them under /home /pi/</p>
<pre><code>Auto Starting Chromium


sudo nano /home/pi/startChromium.sh

#!/bin/sh
unclutter &amp;
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don’t blank the video device
chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080

	Control + X &gt; Y &gt; Return

sudo chmod a+x /home/pi/startChromium.sh
	
------------------------------------------------------------------------------------------------	
	
Auto Starting Mirror


sudo nano /home/pi/startMirror.sh

#! /bin/bash
cd /home/pi/MagicMirror
node serveronly

	Control + X &gt; Y &gt; Return

sudo chmod a+x /home/pi/startMirror.sh

sudo nano /etc/rc.local
	Add the following lines before exit 0:
/home/pi/startMirror.sh &amp;
(/bin/sleep 30 &amp;&amp; sudo xinit /home/pi/startChromium.sh) &amp;

	Control + X &gt; Y &gt; Return
	
		sudo reboot
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/39471</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39471</guid><dc:creator><![CDATA[NoNameRo]]></dc:creator><pubDate>Mon, 14 May 2018 17:15:14 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Sun, 13 May 2018 15:08:19 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/nonamero" aria-label="Profile: NoNameRo">@<bdi>NoNameRo</bdi></a> !! It works now on Stretch. I can’t use localhost:8080 but <a href="http://xxx.xxx.xxx.xxx:8080" target="_blank" rel="noopener noreferrer nofollow ugc">xxx.xxx.xxx.xxx:8080</a> works fine.</p>
<p dir="auto">Since initd is replaced by systemd, how do I run a script at boot up? For the last couple of days, I’ve been using a solution using pm2, but it seems to run the “node serveronly/” process multiple times so that my pi’s cpu has been at 100 % all the time.</p>
<p dir="auto">Where do I have to place the script with<br />
<strong>cd ~/MagicMirror<br />
node serveronly &amp;<br />
sleep 45<br />
sudo xinit /home/pi/chromium_start.sh</strong><br />
and how do I activate it for boot up?</p>
]]></description><link>https://forum.magicmirror.builders/post/39432</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39432</guid><dc:creator><![CDATA[janth]]></dc:creator><pubDate>Sun, 13 May 2018 15:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Thu, 10 May 2018 18:28:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/janth" aria-label="Profile: janth">@<bdi>janth</bdi></a> said in <a href="/post/39336">How I got my Magic Mirror working on a Raspberry Pi 0 (zero)</a>:<br />
Chromium only shows a line at the top of the screen saying it can’t be run as sudo.</p>
<blockquote>
<p dir="auto">Any idea on how to fix this? Or how to get midori to work?</p>
<p dir="auto">Thanks in advance :)</p>
</blockquote>
<p dir="auto">add --no-sandbox<br />
for example - chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito <a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a></p>
]]></description><link>https://forum.magicmirror.builders/post/39369</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39369</guid><dc:creator><![CDATA[NoNameRo]]></dc:creator><pubDate>Thu, 10 May 2018 18:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Thu, 10 May 2018 16:52:54 GMT]]></title><description><![CDATA[<p dir="auto">Sorry for a stupid question, I’m all new to this.</p>
<p dir="auto">When I ran the git clone command, I got this:</p>
<p dir="auto">fatal: unable to access ‘<a href="https://github.com/MichMich/MagicMirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/</a>’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none</p>
<p dir="auto">Am I missing something?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Edit: NM, found the problem. Date/time on the pi was wrong.</p>
]]></description><link>https://forum.magicmirror.builders/post/39365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39365</guid><dc:creator><![CDATA[eviljin]]></dc:creator><pubDate>Thu, 10 May 2018 16:52:54 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 09 May 2018 20:01:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello :) since my Zero’s USB port is broken, I have to run everything from ssh and scripts.</p>
<p dir="auto">I experienced the same as <a class="plugin-mentions-user plugin-mentions-a" href="/user/hawking" aria-label="Profile: Hawking">@<bdi>Hawking</bdi></a>: when starting midori, the screen would either turn black or white. I installed chromium and replaced the line “midori -e Fullscreen -a <a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a>” by “chromium-browser --incognito --kiosk <a href="http://localhost:8080" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:8080</a>”. Chromium only shows a line at the top of the screen saying it can’t be run as sudo.</p>
<p dir="auto">Any idea on how to fix this? Or how to get midori to work?</p>
<p dir="auto">Thanks in advance :)</p>
]]></description><link>https://forum.magicmirror.builders/post/39336</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39336</guid><dc:creator><![CDATA[janth]]></dc:creator><pubDate>Wed, 09 May 2018 20:01:57 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 09 May 2018 18:35:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/baldrick" aria-label="Profile: baldrick">@<bdi>baldrick</bdi></a><br />
After a fresh reboot and just after starting MM and getting a black screen.<br />
Run with:<br />
<code>'cd $HOME/MagicMirror/installers/; pm2 flush &amp;&amp; rm ~/.pm2/logs/mm-* ; pm2 start mm.sh</code></p>
<p dir="auto">And make sure that your <code>mm.sh</code> reads:</p>
<pre><code class="language-bash">cd ~/MagicMirror
DISPLAY=:0 npm start
</code></pre>
<p dir="auto">Can you please (open a new issue on Github) and post the output of:</p>
<ol>
<li><code>uname -a</code></li>
<li><code>dmesg -x -d -T</code></li>
<li><code>journalctl -b</code></li>
<li><code>sudo cat /var/log/Xorg.0.log</code></li>
<li><code>sudo cat /var/log/lightdm/lightdm.log</code></li>
<li><code>systemctl list-unit-files -t service -all</code></li>
<li><code>cat ~/.xsession-errors</code></li>
<li><code> cat ~/.pm2/logs/mm-error-0.log</code></li>
<li><code> cat ~/.pm2/logs/mm-out-0.log</code></li>
</ol>
]]></description><link>https://forum.magicmirror.builders/post/39335</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39335</guid><dc:creator><![CDATA[E3V3A]]></dc:creator><pubDate>Wed, 09 May 2018 18:35:51 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Wed, 09 May 2018 14:57:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Followed the instructions and could get it working neither with Midori nor Chromium.</p>
<p dir="auto">I got error messages for chromium like this</p>
<pre><code>bootstrap_helper: /usr/lib/chromium-browser/nacl_helper: Cannot open ELF file!  errno=2
[1:1:0509/144633.366460:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
[776:776:0509/144633.386035:ERROR:browser_main_loop.cc(495)] Failed to put Xlib into threaded mode.
[776:776:0509/144633.407424:ERROR:browser_main_loop.cc(272)] Gtk: cannot open display: 
</code></pre>
<p dir="auto">and i had also npm errors that I ignored</p>
<pre><code>npm WARN package.json magicmirror-fonts@ No README data
npm ERR! Linux 4.9.35+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--unsafe-perm"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package stylelint@8.4.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer stylelint-config-standard@18.2.0 wants stylelint@^8.3.0 || ^9.0.0
npm ERR! peerinvalid Peer grunt-stylelint@0.10.0 wants stylelint@^9.0.0

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/MagicMirror/npm-debug.log
</code></pre>
<p dir="auto">So I guess, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/baldrick" aria-label="Profile: Baldrick">@<bdi>Baldrick</bdi></a> mentioned, that this is not working anymore :(</p>
<p dir="auto">Will probably just get a R3B+ for that and keep the 0w for experiments.</p>
]]></description><link>https://forum.magicmirror.builders/post/39327</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39327</guid><dc:creator><![CDATA[jpvalery]]></dc:creator><pubDate>Wed, 09 May 2018 14:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Tue, 08 May 2018 15:46:08 GMT]]></title><description><![CDATA[<p dir="auto">“How I <strong>didn’t</strong> got my Magic Mirror working on a Raspberry Pi 0 (zero) w”</p>
<pre><code>tl;dr: My findings are that latest MM doesn't work on ARM 6 (Pi 0/1).
</code></pre>
<p dir="auto">Hi all, I’m a Pi noob and I wanted to use my RPi 0w to put the magic in my mirror. I followed this guide but despite everything ‘apparently’ working, I only ever got a blank screen.</p>
<ul>
<li>I followed this guide line by line (keeping same, out of date versions) I got warnings when installing MM but it installed however when Midori launched I only got a blank screen.</li>
<li>I followed this guide using Jessie lite but the latest l6 node version. Blank screen.</li>
<li>I tried on Stretch Lite with the latest l6 node… same problem. I even tried numerous browsers on Stretch as I read Midori had issues on Stretch. Blank screen.</li>
<li>I tested all the above by launching Midori with Google and that worked each time, the blank screen was only with MM.</li>
</ul>
<p dir="auto">I used SebTota’s image (link p9) and also had issues connecting to the internet. After bit of investigation I realised for me this wasn’t a WiFi issue (as others reported) but a Gateway issue even though it was set correctly in /etc/dhcpcd.conf</p>
<p dir="auto">For those struggling with internet access, and if you can ping the LAN but not the internet, try this:</p>
<pre><code>$ route -n
</code></pre>
<p dir="auto">If the Gateway entry is 0.0.0.0 you have the same issue I did, correct it with:</p>
<pre><code>$ sudo route add default gw 10.0.0.1
</code></pre>
<p dir="auto">*(change the IP to your own router IP) then you should be able to reach the outside world.</p>
<p dir="auto">This worked!!! However… SebTota’s image is now old and as soon as I connected to the internet, MM complains it’s out of date. As soon as you update MM, I got the same blank screen issue.</p>
<p dir="auto">After hours of investigating and trying and trying again, I can only surmise that the issue is with the latest MM build<br />
and that it’s just not designed for ARM6 architecture. It does however work just fine on my PRi 3B+ so there is definitely not an issue with MM!! It’s just a shame I can’t use the ultra small 0w to drive the mirror.</p>
<p dir="auto">I’m no expert and this could be just me but I just thought I might share my findings in case it helps anyone else.</p>
]]></description><link>https://forum.magicmirror.builders/post/39313</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39313</guid><dc:creator><![CDATA[Baldrick]]></dc:creator><pubDate>Tue, 08 May 2018 15:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Sat, 05 May 2018 15:42:53 GMT]]></title><description><![CDATA[<p dir="auto">I can’t get Magic Mirror to launch. Is this a problem with the scripts?</p>
<p dir="auto"><img src="/assets/uploads/files/1525534864214-fullsizeinput_40e.jpeg" alt="0_1525534860772_fullsizeinput_40e.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/39222</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/39222</guid><dc:creator><![CDATA[greenwaydev]]></dc:creator><pubDate>Sat, 05 May 2018 15:42:53 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Mon, 16 Apr 2018 12:57:22 GMT]]></title><description><![CDATA[<p dir="auto">OK, so I haven’t confirmed it on this package but was having the SAME EXACT issue with an octoprint setup for my printer. Anyhow I ran <code>sudo iwlist wlan0 scan</code> and it sees my network. Here is the kicker though. My network shows up like "MyNetworkHere ". There is a space between MyNetworkHere and the ". I added the space, saved and rebooted and it immediately connected. Hope this helps someone.</p>
]]></description><link>https://forum.magicmirror.builders/post/38489</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38489</guid><dc:creator><![CDATA[justindp2006]]></dc:creator><pubDate>Mon, 16 Apr 2018 12:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 15:43:12 GMT]]></title><description><![CDATA[<p dir="auto">Tried. Think it’s time to toss in the towel. Hours lost to this project. It would be one thing if I was new to all of this or ignorant to programming or pis in general. I just don’t understand and there are no clues. Thanks for the replies.</p>
]]></description><link>https://forum.magicmirror.builders/post/38363</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38363</guid><dc:creator><![CDATA[justindp2006]]></dc:creator><pubDate>Fri, 13 Apr 2018 15:43:12 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 14:59:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justindp2006" aria-label="Profile: justindp2006">@<bdi>justindp2006</bdi></a> try this out<br />
<a href="https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet" target="_blank" rel="noopener noreferrer nofollow ugc">https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet</a></p>
]]></description><link>https://forum.magicmirror.builders/post/38360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38360</guid><dc:creator><![CDATA[Mikgabo]]></dc:creator><pubDate>Fri, 13 Apr 2018 14:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 14:13:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mikgabo" aria-label="Profile: Mikgabo">@<bdi>Mikgabo</bdi></a> said in <a href="/post/38357">How I got my Magic Mirror working on a Raspberry Pi 0 (zero)</a>:</p>
<blockquote>
<p dir="auto">wed as I made it o</p>
</blockquote>
<p dir="auto">I understood :) I tried that earlier and again and there is no networking options under it?</p>
]]></description><link>https://forum.magicmirror.builders/post/38358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38358</guid><dc:creator><![CDATA[justindp2006]]></dc:creator><pubDate>Fri, 13 Apr 2018 14:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 14:08:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/greenwaydev" aria-label="Profile: greenwaydev">@<bdi>greenwaydev</bdi></a> sorry that post was kinda screwed as I made it on my phone the command was</p>
<pre><code>sudo raspi-config
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/38357</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38357</guid><dc:creator><![CDATA[Mikgabo]]></dc:creator><pubDate>Fri, 13 Apr 2018 14:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 14:59:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justindp2006" aria-label="Profile: justindp2006">@<bdi>justindp2006</bdi></a> so you followed the guide and entered you ssid and password?<br />
You could try the terminal command</p>
<pre><code>sudo raspi-config
</code></pre>
<p dir="auto">And set up wifi via the on screen menu.</p>
<p dir="auto">Failing that u could set up a wpa supplicant file and insert it in your sd card<br />
<a href="https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet" target="_blank" rel="noopener noreferrer nofollow ugc">https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet</a></p>
<p dir="auto">Hope this helps</p>
]]></description><link>https://forum.magicmirror.builders/post/38355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38355</guid><dc:creator><![CDATA[Mikgabo]]></dc:creator><pubDate>Fri, 13 Apr 2018 14:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 13:45:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justindp2006" aria-label="Profile: justindp2006">@<bdi>justindp2006</bdi></a> Had the same issue. Couldnt find the fix anywhere</p>
]]></description><link>https://forum.magicmirror.builders/post/38354</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38354</guid><dc:creator><![CDATA[greenwaydev]]></dc:creator><pubDate>Fri, 13 Apr 2018 13:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to How I got my Magic Mirror working on a Raspberry Pi 0 (zero) on Fri, 13 Apr 2018 13:41:30 GMT]]></title><description><![CDATA[<p dir="auto">I used the image that was posted a few comments back. I can NOT for the life of me get the wireless to connect. I have followed every guide I can find and it will not connect. I have tried DHCP and static. I’m out of ideas.</p>
]]></description><link>https://forum.magicmirror.builders/post/38352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/38352</guid><dc:creator><![CDATA[justindp2006]]></dc:creator><pubDate>Fri, 13 Apr 2018 13:41:30 GMT</pubDate></item></channel></rss>