Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Tutorials
    3
    11
    5138
    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.
    • A
      alessandroiacovella last edited by

      Hey guys, I’m all new to this stuff. I have just bought a raspberry pi zero w and don’t know how to set it up with magic mirror and serveronly mode. Can someone please guide me on how to do it. I’m only 14 and really want to make something cool.

      Thanks

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

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

          I have but nothing showing how to use serveronly

          N 1 Reply Last reply Reply Quote 0
          • N
            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
              alessandroiacovella last edited by

              Thank you sooo much. I’ll try now

              1 Reply Last reply Reply Quote 0
              • A
                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
                  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
                    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
                      alessandroiacovella @NoNameRo last edited by

                      @nonamero sorry I took long but thanks it worked 🙂

                      1 Reply Last reply Reply Quote 0
                      • A
                        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
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy