MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Wieber
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 12
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @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.

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @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!

      posted in Tutorials
      W
      Wieber
    • RE: 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 ;)

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @SebTota Well I think there isn’t really anything wrong with your Mirror, since it shows the default page for when the Config.js is missing.
      What you could do is search for the ‘config.js.sample’ file with the following command:
      find -name “config.js.sample”
      I haven’t used this command myself, but more info on it is found here: https://www.digitalocean.com/community/tutorials/how-to-use-find-and-locate-to-search-for-files-on-a-linux-vps

      Edit: a loss in SSH connection doesn’t necessarily means that your Pi messed anything up, just like your PC can still run when your monitor disconnects. Although a connection loss could have a lot of reasons that would also mess up the Pi ofc ;)

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @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)

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @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!

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @Burner911 Great to hear it’s all working now :D

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @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!

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @Kobie Thanks for the reply!
      My memories say Git worked out of the box, but my brains tells me that makes no sense since I usedJessie Lite, so it’s definitely worth editing the post (along with the other steps you mentioned, turns out that making a ‘guide’ from memory isn’t great ;) ), however I can’t edit the post anymore, maybe one of the moderators has a solution for this?

      While we wait for that:
      I HIGHLY RECOMMEND EVERYONE FOLLOWING THIS GUIDE TO READ BOTH @Burner911 AND @Kobie POSTS, IT MIGHT SAVE YOU SOME TIME YOU COULD SPEND IN FRONT OF YOUR FANCY MIRROR ;)

      posted in Tutorials
      W
      Wieber
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @Burner911 Sorry for the late reply!
      Currently I have just a barebone MM running, it does the job and life is kinda busy atm so modules would have to wait for a bit. I think however that really most of the modules would work, since they’re mostly a part of the site that is running, which was never a problem for the Zero. The problem lies in the fact that MM runs with a browser setup that is not supported by the processor. But if you run into any, I would love to know!

      posted in Tutorials
      W
      Wieber
    • 1 / 1