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 249.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.
    • A Offline
      akz_g @akz_g
      last edited by

      @akz_g first message I got was

      this appears not to be a Raspberry Pi 2, 3 or 4, do you want to continue installation (y/N)?
      
      

      should I continue? don’t want to waste another hour if i’m doing it wrong.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @akz_g
        last edited by

        @akz_g no, keep going

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          akz_g @sdetweil
          last edited by

          @sdetweil Thanks so much! got it working and it was a very easy install in the end. My next step is to have a look at the config.js file and tailor it to UK etc… I guess this is the place I can add new modules also?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @akz_g
            last edited by

            @akz_g yes, see the links in my signature for learning

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              eracerhead @andyc7687
              last edited by

              @andyc7687 I know this is almost 2 years later, but this did not work on the pi zero w. I got to the point of on page 18 where it was supposed to say MagicMirror running. But it never did. It did say it was installed correctly, and to reboot, which I did, but it isn’t working.

              $ pm2 show MagicMirror
              [PM2][WARN] MagicMirror doesn’t exist

              I don’t even know how to begin to troubleshoot this. (This was my second attempt at trying to install magic mirror.)

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @eracerhead
                last edited by sdetweil

                @eracerhead use my script
                see here for instructions
                https://github.com/sdetweil/MagicMirror_scripts

                remove the MagicMirror folder

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  camcooper151515
                  last edited by

                  I can say as of November 6 2020 the script works for installing the MagicMirror and auto starts on raspberry pi 0w. But… I do have some questions. How do I go about stopping the mirror so I can install modules? I’m a complete newb at this

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    camcooper151515 @sdetweil
                    last edited by

                    I can say as of November 6 2020 the script works for installing the MagicMirror and auto starts on raspberry pi 0w. But… I do have some questions. How do I go about stopping the mirror so I can install modules? I’m a complete newb at this

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @camcooper151515
                      last edited by

                      @camcooper151515 minimize
                      alt-spacebar, n
                      then alt-ctrl-t to open a terminal window, them the pm2 command

                      pm2 stop 0, or MagicMirror

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        camcooper151515 @sdetweil
                        last edited by

                        @sdetweil thanks I’ll try when I get home in the morning. Thanks so much for a working install I was at my wits end trying to get this to work until I found this thread. May I ask one more thing of you? Is there a command sequence I follow to stop the blanking of the screen after a few minutes for you install?

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @camcooper151515
                          last edited by

                          @camcooper151515 it should have asked if you wanted to disable screensaver.

                          anyhow, on the same site as the install script there is a command to turn it off now, down near the bottom of the page

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          C 1 Reply Last reply Reply Quote 1
                          • C Offline
                            camcooper151515 @sdetweil
                            last edited by

                            @sdetweil thanks that worked again. Is there a reason that my weather is not showing by default? Does it have to be setup first before it shows?

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @camcooper151515
                              last edited by

                              @camcooper151515 yes, some setup. needs to.know where u are for sure. some providers need u to register to request data

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                camcooper151515 @sdetweil
                                last edited by

                                @sdetweil this thing is working great man I’ve been tinkering around with it over the weekend. Thanks so much again for the install but another question I know I know I apologize but your like king right now. How can I access the custom.css file?

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @camcooper151515
                                  last edited by

                                  @camcooper151515 it’s a text file
                                  MagicMirror/css/custom.css

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 1
                                  • D Offline
                                    Dimasua
                                    last edited by

                                    @andyc7687 Thank you for your work and sharing with the community!
                                    I would like to try it with a Raspberry Pi3A+. Will it work?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @Dimasua
                                      last edited by

                                      @Dimasua use my installer script, listed as alternative install method , see

                                      https://github.com/sdetweil/MagicMirror_scripts

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Dimasua @sdetweil
                                        last edited by

                                        @sdetweil Another question, how I can restart the mirror from the command line? Didn’t find that information.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @Dimasua
                                          last edited by sdetweil

                                          @Dimasua if u said yes to pm2,

                                          pm2 start 0

                                          If it does not start on boot, the run the fixuppm2 script from my site,

                                          If not pm2, then npm start from the MagicMirror folder

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            stanvv
                                            last edited by stanvv

                                            I’ve used quite some of these manuals before, most without succes cause after a few weeks they all seem to crash/freeze screen. Finally I have a setup that’s working:

                                            • install raspian lite
                                            • use this script to install MM: https://github.com/pureartisan/magic-mirror-raspbian-lite
                                            • update npm with npm install -g electron --unsafe-perm=true --allow-root
                                            • increase swap
                                            sudo dphys-swapfile swapoff
                                            sudo nano /etc/dphys-swapfile
                                            CONF_SWAPSIZE=1024
                                            sudo dphys-swapfile setup
                                            sudo dphys-swapfile swapon
                                            sudo reboot
                                            
                                            • adjust /boot/config.txt with the following settings for overclock:
                                            arm_freq=1085
                                            gpu_freq=530
                                            over_voltage=8
                                            sdram_freq=500
                                            over_voltage_sdram=1
                                            
                                            • I also monitor the behaviour of the RPI’s performance in Home Assistant (in case it would crash, I have an indicator what went wrong) with: https://github.com/Sennevds/system_sensors

                                            So far it -finally- works like a charm!

                                            S ebolisaE 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • First post
                                              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