Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
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!
-
@bmarofsky I don’t recall such errors when I finally did things right to be honest.
Like the error states, it might be because you’re behind a proxy or a firewall, in which case you should look further on the interweb for help, cause I can’t help you with that!If you aren’t however, I would recommend trying to update NPM to a newer version, as this topic on another forum says it helped for some people.
-
@Wieber Thanks for the response wieber. Im actually using randombullets guide where he moves the file into the init.d folder.
Thing is i cant get MM to run the server and use a laptop to connect to the pi@8080 and it shows the mirror. I can also run the following commands via SSH to get the MM running on the pi!!! …but i cant AT ALL get the MM window up on the pi automatically using the shell scripts.
Its obviously running the server command as I can access via another computer on the network (which has access via ip whitelist in the config file)
I just need to know why none of the commands after node serveronly arent executing?
-
This post is deleted! -
@Mar do you have access to a 16gb SD card or no? If not what size do you have/want to use.
-
@SebTota I currently have a 32 in there but the final im hoping will go on a 16 at least. Will the file you’re sending over be a clean first install for the zero?