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.9k 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.
    • Andrius okA Offline
      Andrius ok @lasharor
      last edited by

      @lasharor yes of course, no problems? Did you? Having issues?

      1 Reply Last reply Reply Quote 0
      • P Offline
        patoberli @Andrius ok
        last edited by

        @Andrius-ok said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):

        Hi @lasharor , my apologies. Yes I have forgotten, very sorry was on long vacation.
        So there is my MM image with Chromium for Raspberry Pi Zero W

        https://www.dropbox.com/sh/kdo5q1pxjluca49/AACvP81YjZik6R90BHZNiSZ5a?dl=0

        note: you have to configure WiFi by yoursefl and also all modules to work properly in Yours language.

        Thanks! Worked nice, until I updated and Chromium 56 (or so) got installed.
        That version can’t connect (for whatever reason) connect to http://localhost:8080/.
        Because of this, I had to change the file /home/pi/startMirror.sh and replace the word localhost with the word 127.0.0.1 and reboot.
        Now it’s working again :)

        Next thing I’m going to try is to update the MagicMirror installation.
        Thanks for your image!

        1 Reply Last reply Reply Quote 0
        • T Offline
          tbanzato
          last edited by

          @Andrius-ok

          I used your image and works quite well, only one issue.
          The server doesn’t star till I SSH it.
          What I’m saying the Pi Zero W boots and keeps on the prompt but doesn’t start the magic mirror till I ssh the Pi.
          Any hints?

          1 Reply Last reply Reply Quote 0
          • G Offline
            greenwaydev
            last edited by

            Great tutorial but when I booted up my pi I got this:

            -bash: xset: command not found
            -bash: xset: command not found
            -bash: xset: command not found
            -bash: midori: command not found
            pi@raspberrypi:~ $ matchbox: can’t open display! check your DISPLAY variable.

            I do not know what to do to fix this.

            MikgaboM 1 Reply Last reply Reply Quote 0
            • MikgaboM Offline
              Mikgabo @greenwaydev
              last edited by

              @greenwaydev

              Hey!
              Try this link to a disc image from Andrius:

              So there is my MM image with Chromium for Raspberry Pi Zero W
              https://www.dropbox.com/sh/kdo5q1pxjluca49/AACvP81YjZik6R90BHZNiSZ5a?dl=0

              Works amazing for me, and I’m sure for you too!

              Cheers

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                greenwaydev @Mikgabo
                last edited by

                @Mikgabo Should I flash this to the SD card on my pi?

                MikgaboM 1 Reply Last reply Reply Quote 0
                • MikgaboM Offline
                  Mikgabo @greenwaydev
                  last edited by

                  @greenwaydev
                  I did, worked great for me.

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    greenwaydev
                    last edited by

                    Awesome! Last question. Do I have to remove the other things I have put on the SD card in my pi? Like everything other than raspbian and jessie? Im kind of new to this stuff

                    MikgaboM 1 Reply Last reply Reply Quote 0
                    • MikgaboM Offline
                      Mikgabo @greenwaydev
                      last edited by

                      @greenwaydev
                      So what I did was format the sd card and use win32 disc imager to flash the sd card, put it my my Pi Zero and it worked.
                      After install I got rid of some stuff via the config file as I didn’t want all that stuff on my MM.
                      Cheers!

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        greenwaydev
                        last edited by

                        Changed the display_rotate setting back to 0 but the display is still turned. Any suggestions?

                        MikgaboM 1 Reply Last reply Reply Quote 0
                        • MikgaboM Offline
                          Mikgabo @greenwaydev
                          last edited by

                          @greenwaydev
                          Did you reboot?

                          G 1 Reply Last reply Reply Quote 0
                          • G Offline
                            greenwaydev @Mikgabo
                            last edited by

                            @Mikgabo I unplugged the pi, removed the SD, and changed the rotate setting. Then, I put it back in and plugged the pi back in.

                            MikgaboM 3 Replies Last reply Reply Quote 0
                            • MikgaboM Offline
                              Mikgabo @greenwaydev
                              last edited by

                              @greenwaydev I’m thinking you aren’t making the adjustment in the right location (possibly).

                              Try this from terminal:

                              sudo nano /boot/config.txt
                              

                              and add the following to the file. Where you add it doesn’t really matter:

                              # Rotate display virtically
                              display_rotate=0
                              
                              1 Reply Last reply Reply Quote 0
                              • MikgaboM Offline
                                Mikgabo @greenwaydev
                                last edited by

                                @greenwaydev After you insert that text save it by ctrl + x, then y and enter

                                1 Reply Last reply Reply Quote 0
                                • MikgaboM Offline
                                  Mikgabo
                                  last edited by

                                  the type the command:

                                  sudo reboot
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • MikgaboM Offline
                                    Mikgabo @greenwaydev
                                    last edited by

                                    @greenwaydev Here is a great tutorial that can help you learn your way around MM.
                                    https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6

                                    I would recommend, once you get your MM configured the way you like to make a back up of it using win32 disk imager (make sure .img is on the end of the file or it won’t save as a disc image). That way if you mess up your SD card somehow you have a back up to use.

                                    1 Reply Last reply Reply Quote 1
                                    • J Offline
                                      justindp2006
                                      last edited by justindp2006

                                      I used the image that was posted a few comments back. I can NOT for the life of me get the wireless to connect. I have followed every guide I can find and it will not connect. I have tried DHCP and static. I’m out of ideas.

                                      G MikgaboM 2 Replies Last reply Reply Quote 0
                                      • G Offline
                                        greenwaydev @justindp2006
                                        last edited by

                                        @justindp2006 Had the same issue. Couldnt find the fix anywhere

                                        MikgaboM 1 Reply Last reply Reply Quote 0
                                        • MikgaboM Offline
                                          Mikgabo @justindp2006
                                          last edited by yawns

                                          @justindp2006 so you followed the guide and entered you ssid and password?
                                          You could try the terminal command

                                          sudo raspi-config
                                          

                                          And set up wifi via the on screen menu.

                                          Failing that u could set up a wpa supplicant file and insert it in your sd card
                                          https://howchoo.com/g/ndy1zte2yjn/how-to-set-up-wifi-on-your-raspberry-pi-without-ethernet

                                          Hope this helps

                                          1 Reply Last reply Reply Quote 0
                                          • MikgaboM Offline
                                            Mikgabo @greenwaydev
                                            last edited by

                                            @greenwaydev sorry that post was kinda screwed as I made it on my phone the command was

                                            sudo raspi-config
                                            
                                            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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 9 / 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