Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
@Mar compared to the Pi3 the processing power is way lower, so from that point of view some modules wouldnt work properly. That said, for the ‘stock’ modules and API driven modules it should all work fine. Besides that the installing process is a bit more difficult as you can read above ;)
-
@Wieber Thanks, I would be using the Button module, PIR sensor module, Wunderlist module, and I want to try adding the Alexa module once i transfer it over to the Pi?
Another thing I was thinking would be to integrate this into my openhab setup to bring in the status of various sensors.
-
I have another question. How could i get into the terminal when the pi goes right into the browser? I cant ssh into it for some reason so is there anyway to exit the browser and go into the terminal?
-
@SebTota Try
CTRL+ALT+F2(note: I have not tried this myself, but it works on other systems I use) -
Yet another question. I tried all other forums but i cant find my answer so I figured id ask here. If i have jessie lite with just the terminal, can I open up a file explorer to copy and paste a folder. I need to copy two folders over but I cant figure out how to do it.
-
@SebTota
cp -r source destination -
Did anyone get
https://github.com/HackerHouseYT/AI-Smart-Mirror
working on a pi zero. I know its made for a Mac but I`ve been trying somethings and cant succeed to replicate it on the Pi 0. People claim they got it working by following those instructions but im lost on how to install ffmpeg. If anyone got it working on the Pi 0 please share how.
-
If i don’t currently have a monitor is there a way for me to test the output of the MM when running on the zero with Raspbian lite via VNC ?
-
@Mar if your running Jessie full you can SSH into the RPI and enable vnc
-
@SebTota yeah i realized that, but have a pi zero running lite as i dont require full. was hoping that if i did install vnc and all the dependencies if it would be possible to vnc in and see the mirror as it would in a monitor?
-
@Mar I have tried myself with no success. Let me know if you figure it out.
-
-
@Mar you can’t just copy and paste the drive. Download win32diskimager and read the SD card to a new .ISO file on your pc
-
This post is deleted! -
So I had a few errors along the way and had to install some libraries etc and managed to get past a bunch of errors. (libgconf-2-4 and libxss1 for anyone who ends up here!)
But now im at the point where midori loads but has a connection refused page. When I ssh in i can put the command “node serveronly” and it starts up and has a nice log going, or I can use the “DISPLAY=:0 npm start” and it seems all fine with the following lines and no more errors:
magicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.jsjust not sure whats happening as midori is showing connection refused…maybe the startup script “startMagicMirror” is not actually executing the node serveronly command???
Any help would be appreciated.
Update: Ok so running the “node serveronly” command from ssh and then pointing my laptop browser to the rpi:8080 loads up the MM. But Midori on the Pi is still showing that connection refused. Also…i followed the guide fully so why is the serveronly command not executed by the startup script we put in init.d?
Also is there a way for me to see this node serveronly log on the MM screen (say i dont start midori and leave it on the command line?) -
This post is deleted! -
So I’ve managed to get MM to start using PM2 and can access the page via my laptop.
Only problem I have now is I cant get Midori to auto start, I’m using the same commands from the startmidori script in the mm.sh script for pm2.
-
@Mar if you want I can share my image with you so all you have to do is download my image into your SD card
-
@SebTota that would be absolutely amazing… i’ve spent days trying to get this working. I was being pretty persistent wanting to figure this out myself but its just getting to be a little too much time wasted.
I’d appreciate it very much if you could. Thanks.
-
@Mar Going out on a limb here: Are you sure you got the names of your scripts and their locations right?
You’re talking about ‘startMagicMirror’ which could either refer to what I called ‘/home/pi/start.sh’ and ‘/home/pi/startMidori’.In the response you’re getting from your Pi it is referring to Electron, the browsing environment used in the default MM2 system, but which sadly doesn’t work on the Pi Zero. Running MM2 in server only mode would eliminate the whole of Electron I think.
Possible solutions from the top of my mind would be to check your names and paths, and to make sure the ‘start.sh’ script is an executable by using the ‘chmod a+x /home/pi/start.sh’ command, again, names and paths could differ.This MIGHT also solve the connection refused issue, but I doubt it, for that we might need some more info ;)
Edit: On a side note, I thought I had commented on your question like yesterday, but silly me didn’t press the ‘submit’ button, sorry!
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