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 220.4k 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.
    • qu1queQ Offline
      qu1que Project Sponsor @naked-head
      last edited by

      @naked-head

      I think electron is discontinued for raspberry pi zero, a few months ago I see a post in this forum talking about that. Now I can’t find that post.

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

        @naked-head did you use the automated installer? it handles this issue…
        electron is no longer available for the armv6l devices, and the default, manual npm install) will leave nothing installed…

        there is a side effect bug with npm… when my script runs, I request only the components needed for execution not for automated test, and the chromedriver is only used for automated testing… but npm didn’t pass on my request for only prod to sub modules…

        it causes no harm, other than that message

        you will have to run in split mode (serveronly + chromium-browser to view)…

        there are a bunch of tricky setup things… I suggest using the installer script
        also, lite does not include the graphical desktop, which is required, unless u intend to run headless

        see the installer script here
        https://github.com/sdetweil/MagicMirror_scripts

        all extra scripts were removed in 2.11, but referenced as ‘alternative’ install options…
        in the online doc

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • N Offline
          naked-head
          last edited by

          I used this script: https://github.com/ac2799/MagicMirrorPi0Installer following his guide.
          I’ll try the script you suggest.
          Thanks a lot

          1 Reply Last reply Reply Quote 0
          • N Offline
            naked-head
            last edited by

            That’s work!!!
            And now the poor Pi Zero W had to do a lot of work :face_screaming_in_fear:

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

              @naked-head said in Installing on a Pi Zero:

              And now the poor Pi Zero W had to do a lot of work

              yes, it is only a pi0… !!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • K Offline
                KNERD
                last edited by

                It seems this (the script OP posted) needs to be updated. I just tried this on the Raspberry Pi OS (based on Debian 10 “Buster”).
                It failed. I believe mostly because npm kept reporting warnings about not supporting nodejs version 10, and errors about could not load, or missing requirements not installed.

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

                  @KNERD yes, please use mine. I support and test with it
                  see
                  https://github.com/sdetweil/MagicMirror_scripts

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil I just tried yours, and it failed also. npm also threw out some warnings and errors. The last line from the CLI states “Unable to install dependencies”

                    Update on sdetweil script:

                    I see why now it failed. It seems my pi ZeroW has issue with the Wi-Fi becoming unresponsive. I have to end up turning it on and off.

                    I will try running it again

                    Update 2: the WI-Fi became unresponsive again. I guess I need to go with a regular Pi to get this working. I do not like the performance of the Pi Zero anyway

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

                      @KNERD where is the pi0 relative to your router? I did have some trouble like this before I installed a range extender in the office.

                      I have since gone to Google WiFi mesh and things are much more stable.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @KNERD did u try directly w my script from after flashing buster?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 8
                        • 9
                        • 10
                        • 11
                        • 12
                        • 17
                        • 18
                        • 10 / 18
                        • 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