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.

    Running on Pi Zero 2 W?

    Scheduled Pinned Locked Moved Hardware
    25 Posts 9 Posters 14.7k Views 11 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.
    • U Offline
      undeterred
      last edited by

      I am interested to know if anyone has successfully run MagicMirror on the new Pi Zero 2?
      I know that electron won’t run on the old Pi Zero, which means that it is hard getting MagicMirror to run successfully on that hardware platform.
      Presumably being arm64 instead of armel (have I got that right?) electron will now work.

      Thanks.

      S M S 3 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @undeterred
        last edited by sdetweil

        @undeterred I have one on order, should be here next week

        my install script uses server mode with chromium as the browser on pi0w
        see
        https://github.com/sdetweil/MagicMirror_scripts

        pi0w is armv6l

        pi3/4 are armv7l, in 32 bit mode

        and
        armv8l in 64 bit mode

        I don’t expect any issues running on pi0w-2

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        karsten13K U S 3 Replies Last reply Reply Quote 0
        • karsten13K Online
          karsten13 @sdetweil
          last edited by

          @sdetweil said in Running on Pi Zero 2 W?:

          as addition: pi zero 2 is armv7l

          nice article: https://blog.alexellis.io/raspberry-pi-zero-2/

          1 Reply Last reply Reply Quote 1
          • U Offline
            undeterred @sdetweil
            last edited by

            @sdetweil Be interesting to read about your experience on installing on the pi0w-2.

            I have a small 4" magicmirror displaying one module at a time using the pi0w. The animations are sometimes laggy however, hence my interest at upgrading the hardware.

            Thanks.

            1 Reply Last reply Reply Quote 0
            • M Offline
              musson @undeterred
              last edited by

              @undeterred I am trying to get it working, just got my pi zero w2 today. doesn’t work using the lite version of pi, trying the desktop version now. Not sure I fully understand how chromium is supposed to be installed by the script.

              S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @musson
                last edited by sdetweil

                @musson chromium is installed on the full desktop (which is required because the browser draws graphics)

                but the script only sets up for chromium if the electron install fails(sometimes on x86) , or is not available…(armv6l)

                this should be same as pi3…(armv7l)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @musson mm never works with lite version

                  from the doc , under requirements

                  NOTE
                  
                  To run Electron, you need a desktop environment.
                  Using a Lite Version of Raspbian will not work.
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    musson @sdetweil
                    last edited by

                    @sdetweil ok, trying desktop now.

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

                      @musson mine doesnt come til tuesday

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        At one point I had MagicMirror working on a lite version, I installed X11 and Chromium but when Electron updated and needed a node.js version that didn’t work on the arm6 CPU I gave up and used a pi 4.
                        I want to free up the pi 4 and am hoping I can use the new pi zero 2w for MagicMirror.

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

                          @musson said in Running on Pi Zero 2 W?:

                          MagicMirror working on a lite version, I installed X11 and Chromium

                          well, thats not lite really!..

                          reports are its 5x faster than pi 0… same as pi 3
                          don’t remember how much memory on board…

                          make sure to increase the swap space…
                          and maybe run off a USB SSD (I boot most of mine from sd card, but run from ssd…

                          TGW (Total Gigabytes Written, measure of SSD memory capacity usage) on micro SD is pretty low

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            musson @sdetweil
                            last edited by

                            @sdetweil Its working with the desktop version!!!

                            Thanks for you help and comments.

                            1 Reply Last reply Reply Quote 1
                            • S Offline
                              SmartReflectons @undeterred
                              last edited by

                              @undeterred I should receive mine next week and look forward to building a mirror to check performance.

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                musson @SmartReflectons
                                last edited by

                                @smartreflectons Its quite responsive.

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

                                  great power analysis of pi2w

                                  https://hackaday.com/2021/11/01/the-pi-zero-2-w-is-the-most-efficient-pi/

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    actually PI os 64 bit now shows aarch64, as does ubuntu on pi. (and jetson nano as I recall)…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      Lofty73
                                      last edited by

                                      I am running it a Pi Zero 2W and it seems ok
                                      New to the Magic mirror scene so still learning but up and running on an old 19" toshiba TV

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

                                        @lofty73 got mine today, unplugged the pi 0w, and moved the sd card over… up we run…

                                        installed electron (cause it wasn’t on the armv6)

                                        and runs nice…

                                        pretty low cpu usage
                                        Screenshot at 2021-11-02 15-33-35.png

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          MajorC Project Sponsor @sdetweil
                                          last edited by MajorC

                                          @sdetweil Thank you for the test. I ordered one today after I read your post!

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

                                            @majorc another benchmark report
                                            https://medium.com/@ghalfacree/benchmarking-the-raspberry-pi-zero-2-w-b868accdbb50

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            karsten13K 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
                                            • 1 / 2
                                            • 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