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 250.2k 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.
    • S Do not disturb
      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 Do not disturb
            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 Do not disturb
                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 Do not disturb
                    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 Do not disturb
                        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 Do not disturb
                            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 Do not disturb
                                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
                                  • S Do not disturb
                                    sdetweil @stanvv
                                    last edited by

                                    @stanvv shoulda just used my script

                                    https://github.com/sdetweil/MagicMirror_scripts

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • ebolisaE Offline
                                      ebolisa @stanvv
                                      last edited by

                                      @stanvv hi, that install was done on a P0, right?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @ebolisa
                                        last edited by

                                        @ebolisa just use my script

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        Mykle1M ebolisaE 2 Replies Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @sdetweil
                                          last edited by

                                          @sdetweil said in Installing on a Pi Zero:

                                          just use my script

                                          Amen to that.

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 0
                                          • ebolisaE Offline
                                            ebolisa @sdetweil
                                            last edited by

                                            @sdetweil but which one exacly? I had MM running on P4 but the heat produced by the processor, the screen and its electronics, has pushed me to try out MM on a P0. With that, I should resolve the heat issue.

                                            So, after reading several outdated procedures and after investing hours (as you know, P0 is as slow as hell) I’m back to square one.

                                            Which steps should I take from scratch?
                                            Which SO should I start with?
                                            Which install batch should I install?

                                            @stanvv’s procedure worked till I had to reboot, then the X server stopped responding :angry_face:

                                            S 1 Reply 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