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.

    Don't know how to use MagicMirror 2 on Raspberry pi zero w

    Scheduled Pinned Locked Moved Tutorials
    11 Posts 3 Posters 9.4k Views 5 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @alessandroiacovella
      last edited by

      @alessandroiacovella

      Do a search of this forum. I’m pretty sure you’ll find a tutorial or two specific to the pi zero

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • A Offline
        alessandroiacovella
        last edited by

        I have but nothing showing how to use serveronly

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          NoNameRo @alessandroiacovella
          last edited by NoNameRo

          @alessandroiacovella

          how to use serveronly on a Raspberry Pi Zero W

          prepare your raspberry

          sudo raspi-config
          

          Localisation Options -> Change Locale -> Change Timezone etc
          Boot Options -> B1 Desktop/CLI -> B2 Console Autologin
          Advanced Options -> Expand Filesystem

          Finish = reboot

          Update your raspberry

          sudo apt-get update ; sudo apt-get upgrade
          

          Install packages

          sudo apt-get install git
          sudo apt-get install xinit xserver-xorg
          sudo apt-get install unclutter
          

          Install Node

          wget https://raw.githubusercontent.com/grayda/node-pi-zero/master/install-node-v6.14.3.sh -O /tmp/install-node-v6.14.3.sh && source /tmp/install-node-v6.14.3.sh
          
          cd ~
          

          Install Cromium

          sudo apt-get install chromium-browser
          

          Install MagicMirror

          git clone https://github.com/MichMich/MagicMirror
          cd ~/MagicMirror
          npm install
          cp config/config.js.sample config/config.js
          
          cd ~
          

          Auto Starting MagicMirror

          sudo nano /home/pi/startMirror.sh
          

          enter the following

          #! /bin/bash
          cd /home/pi/MagicMirror
          node serveronly
          

          Control + X > Y > Return

          sudo chmod a+x /home/pi/startMirror.sh
          

          Auto Starting Chromium

          sudo nano ~/.config/autostart/autoChromium.desktop
          

          enter the following

          [Desktop Entry]
          Encoding=UTF-8
          Name=Connect
          Comment=Checks internet connectivity
          Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk --incognito http://localhost:8080
          

          Control + X > Y > Return

          sudo nano /etc/rc.local
          

          Add the following lines before exit 0:
          /home/pi/startMirror.sh &

          Control + x > Y > Return

          sudo reboot
          
          A 2 Replies Last reply Reply Quote 3
          • A Offline
            alessandroiacovella
            last edited by

            Thank you sooo much. I’ll try now

            1 Reply Last reply Reply Quote 0
            • A Offline
              alessandroiacovella @NoNameRo
              last edited by

              @nonamero Thanks it seemed to work but what should happen after I reboot it ??

              1 Reply Last reply Reply Quote 0
              • A Offline
                alessandroiacovella @NoNameRo
                last edited by

                @nonamero My screen just goes black and nothing happens?? Do I have to do something else or more stuff??

                Thanks for your help :)

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  NoNameRo @alessandroiacovella
                  last edited by

                  @alessandroiacovella

                  what is displayed when you enter the following

                  ./startMirror.sh
                  
                  A 2 Replies Last reply Reply Quote 0
                  • A Offline
                    alessandroiacovella @NoNameRo
                    last edited by

                    @nonamero sorry I took long but thanks it worked :)

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      alessandroiacovella @NoNameRo
                      last edited by

                      @nonamero I’ve started the mirror but it won’t show up with the weather. How do I fix that??

                      Thanks for your help:)

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        NoNameRo @alessandroiacovella
                        last edited by

                        @alessandroiacovella

                        you need a Location ID from OpenWeatherMap, as described here

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