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.4k 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
      last edited by

      I installed the image from https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/84 , updated the System to use the onboard wifi and this works for me.

      kylelmartinK 2 Replies Last reply Reply Quote 0
      • MitchfarinoM Offline
        Mitchfarino Module Developer @Hawking
        last edited by

        @Hawking Thanks for all your help and comments, I’ve managed to get it up and running now!

        Now I just need to get the whitelist sorted :grimacing:

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

          @Mitchfarino said in MagicMirror on Pi Zero W:

          @Hawking Thanks for all your help and comments, I’ve managed to get it up and running now!

          No problem.

          @Mitchfarino said in MagicMirror on Pi Zero W:

          Now I just need to get the whitelist sorted :grimacing:

          This worked fine for me, I just added the IP of my regular PC (e.g 192.168.2.185) to the list in the config file so that it looked like

          ipWhitelist: ["192.168.2.185", "127.0.0.1", "::ffff:127.0.0.1", "::1"],
          

          If I then typed the ip:port (the port is also defined in the MM config, default is 8080) of my raspi (e.g.

          http://192.168.2.170:8080/
          

          ) in the browser bar of my regular PC I could see the page also on my regular PC (took 1-2 seconds to load).
          If this does not work for you, just open a new thread and provide details.

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

            BLANK SCREEN, NO CLOCK/CALENDAR/MOMENTS solved and simplified from other topics and posts:

            After you follow the instructions in the first post to #23 then jump to here:

            24 cd ~/MagicMirror/vendor
            25 npm install
            26 sudo reboot

            I’m not a linux expert, but I built this a few weeks back before the latest version of MM and it worked flawlessly. There should be a hook in the original package.json that kicks it into the vendor directory and runs “npm install” there but it doesn’t happen now (5/3/2017).

            Also, for those of you who do not have a monitor, after you SSH into your Rpi Zero W:
            sudo raspi-config
            5 interfacing options
            P3 VNC
            YES you want to enable the VNC server
            reboot when it asks.

            Use VNC Viewer or whatever, connect to your rpi using either ip address or if you set it up in your DHCP table with a :0 (zero) to see your screen or :1 to have a desktop.

            CaptnJB

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

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • kylelmartinK Offline
                kylelmartin @Iseknutz
                last edited by

                @Iseknutz said in MagicMirror on Pi Zero W:

                I installed the image from https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/84 , updated the System to use the onboard wifi and this works for me.

                @Iseknutz
                At least I can get this method up and running on my RPI0w, but what’s the trick to updating the system to use the onboard wifi? I’ve created the wpa_supplicant.conf and I’ve even jacked with the etc/network/interfaces - but no luck getting it to connect to the network.
                Thx

                C I 2 Replies Last reply Reply Quote 1
                • C Offline
                  CaptnJB @kylelmartin
                  last edited by

                  @kylelmartin can you post or pm your WPA_supplicant.conf file? Please remove your passwords and maybe change your wifi name if that makes you feel better.

                  How are you updating your wpa-supplicant through a terminal or by copying it onto your card? Windows or Mac?
                  CaptnJB

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

                    @CaptnJB
                    here is the wpa_supplicant.conf file - or at least the latest rendition of it.

                    country=US
                    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
                    update_config=1
                    
                    network={
                        ssid="KLM-Guest"
                        key_mgmt=NONE
                        priority=1
                        id_str="guest"
                    }
                    
                    network={
                        ssid="mywebsite.com"
                        psk="oldasspw"
                        priority=2
                        id_str="klm"
                    }
                    
                    

                    My regular old wifi network name has a “.” in the name and I thought that might cause some problems. So, I set up a second guest wifi network so this device wouldn’t need a password.

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

                      @kylelmartin, I apologize for the delay just landed in Madrid. For starters I would take out the id lines. Keep it simple. Try this.

                      country=US
                      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
                      update_config=1
                      
                      network={
                          ssid="KLM-Guest"
                          psk=""
                          priority=1
                      }
                      
                      network={
                          ssid="KLM"
                          psk="oldasspw"
                          priority=2
                      }
                      

                      Also, mywebsite.com should be be your router ssid. If you have it set to that “mywebsite.com” in the file you gave it is most likely “KLM”.

                      Why would you want the guest network to have priority?

                      CaptnJB

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        Iseknutz @kylelmartin
                        last edited by

                        @kylelmartin after the Update to the actual OS, the Onboard-WiFi from my raspi0 was automatically enabled. Did you use the Desktop or console?

                        C kylelmartinK 2 Replies Last reply Reply Quote 0
                        • C Offline
                          CaptnJB @Iseknutz
                          last edited by

                          @Iseknutz I use ssh and nano. I also am a Mac user.

                          I’m glad it’s working

                          CaptnJB

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

                            @Iseknutz
                            What do you mean by “after the Update to the actual OS”? I used the image linked above. I can’t do an update/upgrade as I have no internet connection. I’m using the console on the Pi and editing my conf in Mint Linux. I’m using Jessie Lite rather than the full install.

                            @CaptnJB
                            Thanks for the rewrite on the wpa_supplicant, but it still won’t connect to any provided wifi network.

                            Thanks to all.

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

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