Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
@noorm91 said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
Ready to go! Please point your browser to: http://localhost:8080
Whoops! There was an uncaught exception…
{ [Error: listen EADDRINUSE
:::
8080]This usually means that you already have a process trying to serve up web pages on port 8080. In my experience, this happens when you do not terminate your previous attempt to run the MM process and start up another one. The new one also tries to serve up pages on port 8080 and you get that error.
You can use
ps ax | grep node
to see if node is running when you attempt to start your mirror. If it is, node is already serving up pages, so you will want to stop whatever process is running first. Alternately, if you are running a web server on port 8080 already, you can switch the port of the MM process in theconfig.js
file. -
So did anyone get MM2 on a Pi Zero W with Raspian Stretch lite running?
Or is it better to stay with Jessie? -
@MarWind
I still didn’t get it to work using Midori in combination with Raspian Stretch Lite.
On this distribution, I could only get it to work using Epiphany or Chromium. However, their performance is much slower than Midori (which worked fine in Jessie Lite). I can’t tell if this is due to some general changes in Stretch or in the newer versions of Midori. -
How did you install Chromium on rpi 0 ?
-
@hawking, thanks for your answer!
I’ll do some more testing:
*So my main issue will be now the update of mm2 :-(*
I’m running an working image on the pi zero w with npm 2.14 and node 4.2.1 for month’s now.
But after updating MM2 last week with git pull && npm install it’s broken :-( -
@noorm91
I simply didsudo apt-get install chromium-browser
and the start is by
chromium-browser --incognito --kiosk http://localhost:8080
I don’t know if this is a new possibility in Stretch light or is also possible in Jessie Lite (I know that there were some issues in the past). However, as I said, the performance is slow and not stable (I see that the free amount of memory gets low and the system freezes every few hours). Therefore I would prefer to use still Midori, whoch worked fine for me in Jessie. However, using Midori with Stretch I simply get a black screen. I don’t know if this is due to an error in my installation, due to changes from Jessie to Stretch, due to changes in the Midori browser, due to changes in MM (I tried to install an older version, which didn’t help) or yet another reason.
-
This post is deleted! -
@Kobie said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
sudo npm install
Thanks. I was stuck on the 6th step.
-
@Parth-Bhandari check this thread https://forum.magicmirror.builders/post/32731
-
Couldn’t get this to work at all on the new distro:
(chromium-browser:1470): Gtk-WARNING **: cannot open display:
I’ll check if the image works for me.
@Andrius-ok would be nice if you could create and upload an image.