• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 8.0k 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.
  • N Offline
    NoNameRo @alessandroiacovella
    last edited by NoNameRo Jul 20, 2018, 2:49 PM Jul 20, 2018, 2:47 PM

    @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 Jul 21, 2018, 7:39 AM Reply Quote 3
    • A Offline
      alessandroiacovella
      last edited by Jul 21, 2018, 2:16 AM

      Thank you sooo much. I’ll try now

      1 Reply Last reply Reply Quote 0
      • A Offline
        alessandroiacovella @NoNameRo
        last edited by Jul 21, 2018, 7:39 AM

        @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 Jul 21, 2018, 7:52 AM

          @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 Jul 21, 2018, 2:35 PM Reply Quote 0
          • N Offline
            NoNameRo @alessandroiacovella
            last edited by Jul 21, 2018, 2:35 PM

            @alessandroiacovella

            what is displayed when you enter the following

            ./startMirror.sh
            
            A 2 Replies Last reply Jul 23, 2018, 12:51 PM Reply Quote 0
            • A Offline
              alessandroiacovella @NoNameRo
              last edited by Jul 23, 2018, 12:51 PM

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

              1 Reply Last reply Reply Quote 0
              • A Offline
                alessandroiacovella @NoNameRo
                last edited by Jul 25, 2018, 7:25 AM

                @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 Jul 25, 2018, 9:47 AM Reply Quote 0
                • N Offline
                  NoNameRo @alessandroiacovella
                  last edited by Jul 25, 2018, 9:47 AM

                  @alessandroiacovella

                  you need a Location ID from OpenWeatherMap, as described here

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  1 / 2
                  • First post
                    8/11
                    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