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.

    MagicMirror on Pi Zero W

    Scheduled Pinned Locked Moved Tutorials
    46 Posts 19 Posters 63.2k Views 21 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.
    • I Offline
      Iseknutz @kylelmartin
      last edited by

      @kylelmartin I have connected an USB Wlan Dongle (Edimax, working without extra software) and do the update. Im using Jessie Lite and later I installed the desktop.
      Sorry for my bad english ;)

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        CaptnJB @Iseknutz
        last edited by

        @Iseknutz

        Greetings from Toulouse. To do the update and upgrade, from the terminal type:

        sudo apt-get update
        sudo apt-get upgrade

        After the installation of the new updated packages, sudo shutdown. Wait. Remove the power and your edimax adapter and connect power. Now does it work?

        JB

        kylelmartinK 1 Reply Last reply Reply Quote 0
        • kylelmartinK Offline
          kylelmartin @CaptnJB
          last edited by

          @CaptnJB @Iseknutz

          Silly me! I should have known that to get a wifi adapter to work I needed a wifi adapter!
          Fortunately I had a usb splitter with power supply and an edimax wifi lying around.

          After the update and upgrade its working well.
          Your help was greatly appreciated.
          Thanks from Texas!
          KLM

          1 Reply Last reply Reply Quote 0
          • markbajajM Offline
            markbajaj @rootsudo
            last edited by

            @rootsudo Thank you!

            This along with post number 23 got my Pi Zero and Pi zero W working perfectly :)

            1 Reply Last reply Reply Quote 0
            • A Offline
              andreas-becker
              last edited by andreas-becker

              @rootsudo said in MagicMirror on Pi Zero W:

              The Beginnings:

              1. Place wpa_supplicant.conf in Boot folder of SD card
              2. Boot SD card and login
              3. Enable SSH: sudo raspi-config -> Select Interfacing Options -> select SSH -> select Enable -> select Finish

              After step 4 i recommend creating an empty file called “ssh” and also put it in the Boot folder of the SD card.
              So you don’t have to do step 6, cause ssh is started on boot with the default credentials (user: pi, password: raspberry)

              After boot, it did not open the browser, instead it just showed the console window.
              Problem was solved by installing x-server with sudo apt-get install xserver-xorg

              1 Reply Last reply Reply Quote 0
              • 1 Offline
                12wsx
                last edited by

                my I please someone to make an image of sd card with installed and working MM? i’m trying about week to run MM on piZero and nothing… all the time diffrent errors which i don’t understand.

                Andrius okA 1 Reply Last reply Reply Quote 0
                • G Offline
                  geeklimit @rootsudo
                  last edited by geeklimit

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Andrius okA Offline
                    Andrius ok @12wsx
                    last edited by

                    Hi @12wsx try this thread https://forum.magicmirror.builders/post/32731

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bmarofsky
                      last edited by

                      tried on stretch lite and got this

                      pi@raspberrypi:~/MagicMirror $ sudo npm install
                      npm WARN engine http-auth@3.2.3: wanted: {"node":">=4.6.1"} (current: {"node":"4.2.1","npm":"2.14.7"})
                      npm WARN deprecated coffee-script@1.10.0: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                      npm WARN engine apache-crypt@1.2.1: wanted: {"node":">=4.6.1"} (current: {"node":"4.2.1","npm":"2.14.7"})
                      npm WARN engine apache-md5@1.1.2: wanted: {"node":">=4.6.1"} (current: {"node":"4.2.1","npm":"2.14.7"})
                      npm WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.1","npm":"2.14.7"})
                      
                      
                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @bmarofsky
                        last edited by Mykle1

                        @bmarofsky

                        Warnings don’t necessarily mean that your mirror won’t work. Have you tried to run it after?

                        One thing to note: Installation of dependencies using sudo can, and often does, cause problems. So, in the future, simply use npm install without sudo

                        Updating your node should clear 4 of those 5 warnings

                        Create a working config
                        How to add modules

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

                          I’m currently trying to do this with Debian Stretch, but the noobs image.
                          Anyway, the update.rc (command 18) doesn’t work here correctly, because they switched to systemd instead of system-V. There is no error, but the command doesn’t get added to the startup.
                          Replace the file content from step 14 to:

                          #! /bin/bash
                          ### BEGIN INIT INFO
                          # Provides:          startMagicMirror
                          # Required-Start:    $all
                          # Required-Stop:
                          # Default-Start:     2 3 4 5
                          # Default-Stop:
                          # Short-Description: Start MagicMirror software
                          ### END INIT INFO
                          cd /home/pi/MagicMirror
                          node serveronly &
                          sleep 45
                          sudo xinit /home/pi/startMidori.sh
                          

                          After this, replace the command 18 with:

                          sudo systemctl enable startMagicMirror.sh
                          

                          This should lead to the following output:

                          startMagicMirror.sh.service is not a native service, redirecting to systemd-sysv-install.
                          Executing: /lib/systemd/systemd-sysv-install enable startMagicMirror.sh
                          

                          After this continue with the manual.

                          It currently only shows a white screen in my case, but I have just started and maybe that’s even normal, haven’t gotten that far yet in the manual.

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

                            Update1:
                            In my case the webserver was not accessible over the network, even after adding my client IP address to the /home/pi/MagicMirror/config/config.js file. This file is in the beginning not there, so first create a copy of the sample file:

                            cp /home/pi/MagicMirror/config/config.js.sample /home/pi/MagicMirror/config/config.js
                            

                            After that, edit the file and replace the word localhost with 0.0.0.0. Also don’t forget to edit the ipWhitelist.
                            Found here: https://forum.magicmirror.builders/topic/5446/ipwhitelist-still-not-working/4

                            Still having just a white blank screen on my PI, but with the web browser from another pc it’s working :)

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

                              Gave up for the moment and testing now the image from the other thread.

                              H 1 Reply Last reply Reply Quote 0
                              • H Offline
                                holotfi2003 @patoberli
                                last edited by

                                @patoberli Have you tried to change Step 20 (from first page of this thread) startMidori.sh file to also refer to the same http://0.0.0.0:8080 that you put in your config.js file? I’m not sure that’ll solve your “white blank screen” problem, but it’s worth a shot…
                                Good luck!

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

                                  @holotfi2003 I’ve switched now to a RPI3, also for performance reasons. I can’t say if I will test again with the zero… it would be nicer though, thanks to smaller size.

                                  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
                                  • 3 / 3
                                  • 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