• 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 179.4k 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.
  • A Offline
    andyc7687
    last edited by andyc7687 Oct 31, 2020, 5:02 PM Jan 2, 2019, 1:24 PM

    Hi everyone…

    After lot’s of tinkering I finally got this to work on a Pi Zero W. I have answered a couple of people in the forum about this, so I thought I would put up a link to my github where I have put in each of the files I used.

    Edit:
    I have also tried making a single installer script for Pi Zero/2B/3B; if you have both platforms and the time to do it, please run bash -c "$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)" from the terminal and let me know how you get on… I have tested on the Pi Zero and it appears to work fine but advice or feedback still welcomed.

    Edit2:
    Here is a pdf guide for the process.

    Some people reported difficulties when installing over SSH. The guide does tell you how to do it headless too (TL;DR: use SSH to enable VNC Server using raspi-config && download RealVNC Connect && connect headless using RealVNC Connect/VNC Viewer)

    Andrew

    I 1 Reply Last reply Jan 4, 2019, 4:19 AM Reply Quote 10
    • Y Offline
      yawns Moderator
      last edited by Jan 2, 2019, 1:32 PM

      Thank you. I did not test it as I do not own a Pi Zero, but it looks good. I pinned it to the top

      1 Reply Last reply Reply Quote 0
      • A Offline
        aidandon
        last edited by Jan 3, 2019, 5:06 PM

        I can confirm this works. To run server cd MagicMirror then run command node server only.

        Appreciate this work!

        A 1 Reply Last reply Jan 3, 2019, 7:18 PM Reply Quote 0
        • R Offline
          Ramez
          last edited by Jan 3, 2019, 5:54 PM

          great :raising_hands: i think your zero repository should be mentioned in the main MM readme

          A 1 Reply Last reply Jan 3, 2019, 7:16 PM Reply Quote 0
          • A Offline
            andyc7687 @Ramez
            last edited by Jan 3, 2019, 7:16 PM

            @ramez Thanks Ramez, I was hoping someone might say that; don’t know who is the contributors to the main repository. Happy for a link to be passed, or for my repo to be placed back in the MM repo.

            1 Reply Last reply Reply Quote 0
            • A Offline
              andyc7687 @aidandon
              last edited by Jan 3, 2019, 7:18 PM

              @aidandon you will only need to cd MagicMirror and run node server only immediately after first install if you want it straight away. Otherwise when you reboot it will go automatically (after about a 1 minute or so wait)

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

                @andyc7687 Nice work. I think you should fork the MagicMirror repository, add merge your scripts with the installers/raspberry.sh script for direct implementation in the project.

                A 1 Reply Last reply Jan 4, 2019, 8:37 AM Reply Quote 0
                • A Offline
                  andyc7687 @idoodler
                  last edited by Jan 4, 2019, 8:37 AM

                  @idoodler Thanks for that advice, I have forked the original MagicMirror repo, but no idea how to merge scripts on github…

                  I 1 Reply Last reply Jan 4, 2019, 10:25 AM Reply Quote 0
                  • 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
                      • 1
                      • 2
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 18 / 18
                      18 / 18
                      • First post
                        4/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