Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
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.
-
Hi everyone, I did not read all 16 pages of this thread but I successfully setup my MM on a Raspberry Pie Zero W, following this answer https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/8
I decided to compile all instructions in a basic bash script since some of these steps can be quite long to execute: https://github.com/PipoloyJo/MMConfig/blob/master/setup-mirror.sh
Maybe someone else has already done the same, but I did not found it.
Only difference so far is the use of chromium over midori (I got some issues setting it up).
Thanks for this thread!
-
@lasharor did you using Raspberry Pi Zero W ?
-
@Andrius-ok Yes.
Tried the Image also. works fine after upgrading. Was not succesfull upgrading magicmirror however. Trying PipoloyJo solution now.
-
@lasharor ok tomorrow I will share the image
-
@PipoloyJo So I also tried this. Can you please specify which distro you are using? As this is not working on Jessie.
Also the script should contain apt-get upgrade in the beginning. Otherwise you’ll not be able to download most packages due to incorrect links.Trying now on stretch.
Edit: having problems with rpi-update (or upgrade), will not download the full image can’t run chrome in sandboxed mode. So tried to run MM by disabling sandboxed mode. End up with working Chrome but blank black screen.
:(
-
@lasharor I am using Raspbian Stretch. I also got issue with rpi-update, but I got MM to work without it.
-
@PipoloyJo If you don’t update you can’t launch Chromium in sandboxed mode, what are your flags for chrome?
@Andrius-ok Would be great if you could share.
-
@Andrius-ok said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
@lasharor ok tomorrow I will share the image
Have you forgotten :(?
-
Hi @lasharor , my apologies. Yes I have forgotten, very sorry was on long vacation.
So there is my MM image with Chromium for Raspberry Pi Zero Whttps://www.dropbox.com/sh/kdo5q1pxjluca49/AACvP81YjZik6R90BHZNiSZ5a?dl=0
note: you have to configure WiFi by yoursefl and also all modules to work properly in Yours language.
-
@Andrius-ok Thank You! Worked Perfectly. Setup Wifi (your SSID and PW were still in there) and your config loaded. I am in the process of converting to my config.
-
@bmarofsky said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
@Andrius-ok Thank You! Worked Perfectly. Setup Wifi (your SSID and PW were still in there) and your config loaded. I am in the process of converting to my config.
so i have all my modules in place and the system crashes: unable to handle kernel null pointer dereference at virtual address
I’ll roll back to your setup and see if it is stable. i am using calendar, weather, clock and newsfeed- very similar to yours. -
@bmarofsky nice that you trying to work your MM more “under preasure” what can Raspberry Pi Zero W :) I believe that I take the maximum from this SBC which from the forum cannot do that I did :) by the way share and show photo ;) thats nice to see.
P.s. Now checking much more with ASUS TinkerBord - follow me! ;)
-
@bmarofsky if need advice please you can ask me
-
@bmarofsky said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
so i have all my modules in place and the system crashes: unable to handle kernel null pointer dereference at virtual address
I’ll roll back to your setup and see if it is stable. i am using calendar, weather, clock and newsfeed- very similar to yours.Please report if you could stabilize your system. I also had crashes (approx twice a day) when using Chromium. I didn’t had time to investigate the exact cause (to heavy load?).
-
@Andrius-ok Thanks for the image. This works fine. Have you had any succes trying to upgrade Magic mirror? Noticed this image was running a older version.
-
@Hawking my MM with this image on Raspberry Pi Zero W working a half a year without crashing, restarting etc., what modules do you using? Did you try only with my modules? You have to know that SBC is very slow and poor on performance so my modules which is in img is taking 99% CPU always, if tou trying to add one more module I think it’s too much
-
@lasharor yes of course, no problems? Did you? Having issues?
-
@Andrius-ok said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
Hi @lasharor , my apologies. Yes I have forgotten, very sorry was on long vacation.
So there is my MM image with Chromium for Raspberry Pi Zero Whttps://www.dropbox.com/sh/kdo5q1pxjluca49/AACvP81YjZik6R90BHZNiSZ5a?dl=0
note: you have to configure WiFi by yoursefl and also all modules to work properly in Yours language.
Thanks! Worked nice, until I updated and Chromium 56 (or so) got installed.
That version can’t connect (for whatever reason) connect to http://localhost:8080/.
Because of this, I had to change the file /home/pi/startMirror.sh and replace the word localhost with the word 127.0.0.1 and reboot.
Now it’s working again :)Next thing I’m going to try is to update the MagicMirror installation.
Thanks for your image! -
I used your image and works quite well, only one issue.
The server doesn’t star till I SSH it.
What I’m saying the Pi Zero W boots and keeps on the prompt but doesn’t start the magic mirror till I ssh the Pi.
Any hints?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login