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 @bmarofsky
      last edited by

      @bmarofsky nice that you trying to work your MM more “under preasure” what can Raspberry Pi Zero W :) I believe that I take the maximum from this SBC which from the forum cannot do that I did :) by the way share and show photo ;) thats nice to see.

      P.s. Now checking much more with ASUS TinkerBord - follow me! ;)

      1 Reply Last reply Reply Quote 0
      • Andrius okA Offline
        Andrius ok @bmarofsky
        last edited by

        @bmarofsky if need advice please you can ask me

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hawking @bmarofsky
          last edited by

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

          so i have all my modules in place and the system crashes: unable to handle kernel null pointer dereference at virtual address
          I’ll roll back to your setup and see if it is stable. i am using calendar, weather, clock and newsfeed- very similar to yours.

          Please report if you could stabilize your system. I also had crashes (approx twice a day) when using Chromium. I didn’t had time to investigate the exact cause (to heavy load?).

          Andrius okA 1 Reply Last reply Reply Quote 0
          • L Offline
            lasharor
            last edited by

            @Andrius-ok Thanks for the image. This works fine. Have you had any succes trying to upgrade Magic mirror? Noticed this image was running a older version.

            Andrius okA 1 Reply Last reply Reply Quote 0
            • Andrius okA Offline
              Andrius ok @Hawking
              last edited by

              @Hawking my MM with this image on Raspberry Pi Zero W working a half a year without crashing, restarting etc., what modules do you using? Did you try only with my modules? You have to know that SBC is very slow and poor on performance so my modules which is in img is taking 99% CPU always, if tou trying to add one more module I think it’s too much

              1 Reply Last reply Reply Quote 0
              • 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

                                            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