Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
@randombullet I think your problem is with the sudo command. You shouldn’t need sudo to copy the
config.js
file. Check the permissions on the theconfig.js
file. Make sure the npm process can read it. -
@Kobie @Wieber Good news! Found out my mail module wasn’t connecting properly with my 2-step verification enabled. After switching to a “less secure app password” my mail app loaded correctly and no longer continued to stall and chew up resources in the background. As a result I was able to remotely connect once again and the scheduler works!
-
I followed all your steps… took me 4 tries to actually succeed (my very first Pi project ever)… but i get an error. It boots into MagicMirror2 but it says "please create a config file. See README for more information. " I went on GitHub and read the README file but no matter what i type in i cant find the config file. Please help me out. Huge thanks!!!
-
@SebTota Your MM2 is actually working, so you did not mess up :D
You just have to configure your MM in order to boot it properly. If you go to the /MagicMirror/Config/config.js.sample file you can add all the information your mirror needs (e.g. a link to a weather api, an RSS feed for news etc) you can safe the file with ‘crtl+x’, then change the file name to config.js (just remove the ‘.sample’ bit) and press ‘y’ (this is of the top of my head, but i’m sure you can figure it out, you just have to safe the file under a different file) and reboot!You don’t actually have to put in your personal edits (weather, calendar etc) for it to boot normally, it just needs an ‘config.js’ file for it to stop showing the message.
Good luck!
-
@Burner911 Great to hear it’s all working now :D
-
What the heck!! I got the error message. Reset the pi. Got the message again. Gave up, then when i saw you comment I said id give it another try. I boot it up and it works. I dont know if you have some magical powers your not telling anyone about, but man I love you right now.
-
@SebTota I might have received a letter from Hogwarts once, but I would have to kill you if I told you ;)
Have fun with your mirror! -
@Wieber Not to bother you much more but i still have one more question. When i try to access the MM like you said to change the config file i get an error.
pi@raspberrypi:~ $ /MagicMirror/Config/config.js.sample
-bash: /MagicMirror/Config/config.js.sample: No such file or directoryany idea?
-
@SebTota Uuhm, can’t check right now, but if I recall correctly the directory is /home/MagicMirror/Config/config.js.sample . It’s probably due to an error I made somewhere along the line (not installing in the preferred directory)
-
@Wieber I have a feeling that there was a problem installing MagicMirror because my SSH disconnected but I just continued through the steps. Do you think it would help to just run the command again to install the program or is there a way to update it and it would find if there are any files missing?