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.

    How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

    Scheduled Pinned Locked Moved Tutorials
    raspberry pipi0zeropizeropi1
    204 Posts 47 Posters 609.8k Views 47 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.
    • bheplerB Offline
      bhepler Module Developer @piziie
      last edited by bhepler

      @piziie In my experience, this means that the mirror process is already running and you’ve attempted to start it again. Are you using PM2 to manage the mirror process? Is it possible that two of your scripts are both trying to start the mirror? Have you changed any init settings to auto-boot the mirror?

      P 1 Reply Last reply Reply Quote 0
      • S Offline
        SebTota @piziie
        last edited by

        @piziie if you want I can post my image and you can write my image to your sd

        1 Reply Last reply Reply Quote 0
        • P Offline
          piziie @bhepler
          last edited by piziie

          @bhepler pm2 doesnt appear to be installed, however i do have npm installed. Could that cause a conflict?

          Any way to the sources from which start the mirror process is starting?

          Also i may have created a conflict by following the OP steps as well as the steps outlined by @kobie

          Also…
          
          Instead of adding start.sh to the end of .bashrc, it’s better practice to have the
          script run automatically on start-up. To do this:
          
          sudo mv /home/pi/start.sh /etc/init.d/startMagicMirror.sh
          sudo update-rc.d startMagicMirror.sh defaults 100
          
          This moves the script to the standard location for start-up scripts and tells the
          system to run it after each boot.
          

          I went back and deleted the startMagicMirror.sh file, however. Does update-rc.d need to be rolled back as well?

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @piziie
            last edited by bhepler

            @piziie That sounds right. Without tracing too closely, it sounds like your startMagicMirror.sh scripts and your start.sh script are both starting the mirror process.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              piziie @bhepler
              last edited by

              @bhepler after deleting startMagicMirror.sh the same problem exists

              bheplerB 1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @piziie
                last edited by

                @piziie After you deleted the startMagicMirror.sh did you run the update command you quoted?
                sudo update-rc.d startMagicMirror.sh remove
                (more information at the the update-rc man page)

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  piziie @bhepler
                  last edited by

                  @bhepler i have run that command, same issue persists.
                  Could it have something to do with VNCserver?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mar
                    last edited by

                    I have MM2 running quite well on my Pi3 but I’d like to free up the Pi3 and use my zero for the MM2. Has anyone seen any real downsides to using the Pi Zero over the Pi3?

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      Wieber @Mar
                      last edited by Wieber

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

                      M 1 Reply Last reply Reply Quote 1
                      • M Offline
                        Mar @Wieber
                        last edited by

                        @Wieber Thanks, I would be using the Button module, PIR sensor module, Wunderlist module, and I want to try adding the Alexa module once i transfer it over to the Pi?

                        Another thing I was thinking would be to integrate this into my openhab setup to bring in the status of various sensors.

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

                          I have another question. How could i get into the terminal when the pi goes right into the browser? I cant ssh into it for some reason so is there anyway to exit the browser and go into the terminal?

                          bheplerB 1 Reply Last reply Reply Quote 0
                          • bheplerB Offline
                            bhepler Module Developer @SebTota
                            last edited by bhepler

                            @SebTota Try CTRL+ALT+F2 (note: I have not tried this myself, but it works on other systems I use)

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

                              Yet another question. I tried all other forums but i cant find my answer so I figured id ask here. If i have jessie lite with just the terminal, can I open up a file explorer to copy and paste a folder. I need to copy two folders over but I cant figure out how to do it.

                              yawnsY 1 Reply Last reply Reply Quote 0
                              • yawnsY Offline
                                yawns Moderator @SebTota
                                last edited by

                                @SebTota
                                cp -r source destination

                                1 Reply Last reply Reply Quote 1
                                • S Offline
                                  SebTota
                                  last edited by

                                  Did anyone get

                                  https://github.com/HackerHouseYT/AI-Smart-Mirror

                                  working on a pi zero. I know its made for a Mac but I`ve been trying somethings and cant succeed to replicate it on the Pi 0. People claim they got it working by following those instructions but im lost on how to install ffmpeg. If anyone got it working on the Pi 0 please share how.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Mar
                                    last edited by

                                    If i don’t currently have a monitor is there a way for me to test the output of the MM when running on the zero with Raspbian lite via VNC ?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      SebTota @Mar
                                      last edited by

                                      @Mar if your running Jessie full you can SSH into the RPI and enable vnc

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Mar @SebTota
                                        last edited by

                                        @SebTota yeah i realized that, but have a pi zero running lite as i dont require full. was hoping that if i did install vnc and all the dependencies if it would be possible to vnc in and see the mirror as it would in a monitor?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          SebTota @Mar
                                          last edited by

                                          @Mar I have tried myself with no success. Let me know if you figure it out.

                                          M 2 Replies Last reply Reply Quote 0
                                          • M Offline
                                            Mar @SebTota
                                            last edited by

                                            @SebTota Will do but first…
                                            If i make a backup of my memory card and i mess up what im doing now can i just copy the backup back on with finder/explorer and be right back where i was?

                                            thanks @SebTota

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • 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