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 250.1k 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.
    • 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
                • K Offline
                  KNERD @sdetweil
                  last edited by KNERD

                  @sdetweil

                  I have a Linksys Mesh setup here. The nearest point is about 10 feet away.

                  For trying script, yes it was after flashing. This issue with the Wi-Fi just started recently. The Pi Zero came with a Google AIY 2.0 kit I purchased. I was using that AIY image Google was putting out. I wonder if that is a better image since it was targeted for the Pi Zero and the rest of the kit.

                  Hmm. Wi-Fi just came back up as I was typing this…and back down

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

                    @KNERD there is a post here about changing the wpa_suuplicant file
                    https://www.raspberrypi.org/forums/viewtopic.php?t=201850

                    also, if u remove the hat does it work? might be a power supply problem

                    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

                      The Wi-Fi was functioning just fine with the Google AIY image. I looked and thought I was using a 2A power supply because it is a CanaKit one. However, looking, I see it is only a 1A. I found another PS with 2A output. I do have other things connected to it such as USB Hub, mouse, and keyboard.

                      Looking at that link, I do not think this applies to me, as I am not headless. Wi-Fi is having issues again: not resolving DNS.

                      I am going to try the Google AIY image again since it seemed I was having more stability with it.

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

                        @KNERD have you restarted your router,?

                        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 KNERD

                          I know it is not a router issue. I have a complicated setup here. I have a router on site which is in Bridge Mode so the actual router in use does PPOE to connect to the ISP. The router has no Wi-Fi, and DNS disabled. The Linksys Mesh is in Bridge Mode in order to be a part of the LAN addresses. DNS and DHCP is done separately with Pi Hole. No other devices on Wi-Fi are having issue.

                          The Google AIY image is booting, now. I will give an update if I got issues with that, or not.

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

                            @KNERD ok, seen lots of reports of DNS issues w pihole

                            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

                              @sdetweil I think those "DNS issues’ with Pi Hole come from Pi Hole themselves for making the blaclist which they setup too strict. My DNS issues have nothing to do that. My network is not having DNS issues, just that Pi Zero while using the newest Raspberry Pi OS.

                              Hope to have an update within an hour

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

                                Update: Wi-Fi still having issues with shutting down, and not putting the DNS in resolv.conf file.

                                I think I got a USB Wi-Fi I can try out, and even a USB to ethernet.

                                Thank for taking the time to respond and help.

                                I still got a Google AIY kit 1.0 here to use on a regular Pi, but prefer the smaller size of the Pi Zero.

                                I also got a Orange Pi Zero here I can try out, if the Pi Zero Hat will fit on it, or if your install script will work on it.

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

                                  @KNERD script will work

                                  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

                                    @sdetweil said in Installing on a Pi Zero:

                                    script will work

                                    I dug out a USB to ethernet. As soon as I plug it in, I got an IP address and a good connection. After a while, the connection also broke in it also.

                                    I wonder if there is a power save feature on it, or it is just broken.

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

                                      @KNERD well I see power save on wifi. not seen issues on Ethernet, but USB maybe

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rick
                                        last edited by rick

                                        Up until a few days ago, MagicMirror was working fine on my Pi Zero, however for no apparent reason its now stopped.

                                        Having looked in the /home/pi/.pm2/logs/MagicMirror-error.log I’m seeing that it cannot find the module ‘electron’

                                        I’ve tried npm install in the MagicMirror folder and get this error

                                        Error: Failed to find Electron v6.1.12 for linux-armv6l at https://github.com/electron/electron/releases/download/v6.1.12/electron-v6.1.12-linux-armv6l.zip

                                        I’ve also tried a fresh install using sdetweil’s script - however I get the same error about electron.

                                        Can anyone help provide any pointers as to why its not working anymore?

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

                                          @rick sounds like an SD card failure I am sorry to say. I have never seen a recovery

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @sdetweil Ah - I never thought of that. I’ll try another SD card - Thanks Sam

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 6 / 9
                                            • 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