• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Installing on a Pi Zero

Scheduled Pinned Locked Moved Troubleshooting
175 Posts 33 Posters 182.7k Views 33 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    idoodler Module Developer @andyc7687
    last edited by Jan 4, 2019, 10:25 AM

    @andyc7687 You need to do the following:

    • Clone your forked repository to your local machine
    • Adopt installers/raspberry.sh to include your Raspberry Pi Zero specific code
    • Commit and push your changes to Github
    • Test it on a Raspberry Pi Zero by execute bash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)"
    • Create a Pull Request on the original MagicMirror repository

    Just contact me if you need any help, I can also test your changes, I have a spare Raspberry Pi Zero W on hand.

    A 1 Reply Last reply Jan 4, 2019, 4:59 PM Reply Quote 1
    • A Offline
      andyc7687 @idoodler
      last edited by Jan 4, 2019, 4:59 PM

      @idoodler Great! I think I may have done it! I have tested most of it I think on a Pi Zero W and on a Pi 3B+; is anyone able to check whether any of my changes have affected usability on the Pi 3B and Pi 2 before I submit the pull request?

      I E 3 Replies Last reply Jan 5, 2019, 8:25 AM Reply Quote 1
      • I Offline
        idoodler Module Developer @andyc7687
        last edited by Jan 5, 2019, 8:25 AM

        @andyc7687 I am able to try it today, I will contact you again.

        1 Reply Last reply Reply Quote 0
        • I Offline
          idoodler Module Developer @andyc7687
          last edited by Jan 6, 2019, 6:03 AM

          @andyc7687 I just noticed, is this a server only installation?

          A 1 Reply Last reply Jan 6, 2019, 7:51 AM Reply Quote 0
          • A Offline
            andyc7687 @idoodler
            last edited by Jan 6, 2019, 7:51 AM

            @idoodler I didn’t really understand what was the difference between server only and not. This installs magic mirror, runs it as server only and runs three chromium browser on start-up to display it all… functionally I couldn’t tell the difference, but there might be something I’m missing

            1 Reply Last reply Reply Quote 0
            • D Offline
              dazza120
              last edited by Jan 6, 2019, 9:09 AM

              Pi 3B+ can run the normal magic mirror load file no need to include it in the server only script, just means you need the full fat OS on the Pi

              A 1 Reply Last reply Jan 6, 2019, 10:04 AM Reply Quote 0
              • A Offline
                andyc7687 @dazza120
                last edited by Jan 6, 2019, 10:04 AM

                @dazza120 thanks, did you test my script? I was looking at a single installer that would auto detect 2B/3B Or Zero and install the appropriate script, thereby meaning a single repo for all platforms.

                It’s able to detect 3B+ and Zero and does full install for 3B+ and server only for Zero, I don’t have a 3B though to make sure it works on that.

                D 1 Reply Last reply Jan 6, 2019, 10:31 AM Reply Quote 0
                • D Offline
                  dazza120 @andyc7687
                  last edited by Jan 6, 2019, 10:31 AM

                  @andyc7687 no mate I done a normal install from the magic mirror bash,I’ve done it twice as I was trying to make the install as light as possible so I was trying to use Stretch with just the basic but it wouldn’t have any of it so had to install the fat version and purge all the bloat ware but from what I’ve looked at so far doesn’t use that much more ram than the lite version, only thing I ended up doing was installing PM2 manually as for some reason it wouldn’t work from the bash after restart.

                  1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    12wsx
                    last edited by Jan 6, 2019, 7:53 PM

                    after install on piZero (no W version) everything is ok but serveronly and browser does not start automatically. When I send from terminal:
                    cd ~/MagicMirror;
                    node serveronly
                    server start properly, In browser manually start localhost:8080 showing MagicMirror website properly. What m i missing?

                    A 1 Reply Last reply Jan 6, 2019, 9:11 PM Reply Quote 0
                    • A Offline
                      andyc7687 @12wsx
                      last edited by Jan 6, 2019, 9:11 PM

                      @12wsx straight after installation did you restart the pi zero? It should run, it’s quite a slow start up process though… if you run pm2 show MagicMirror what does it say? It takes a good minute to fire up sometimes…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 17
                      • 18
                      • 2 / 18
                      2 / 18
                      • First post
                        13/175
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy