MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. rootsudo
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • MagicMirror on Pi Zero W

      How to install MagicMirror on Pi Zero W

      This guide is not my own and the information provided came from many contributors: @evos, @Wieber, & @randombullet. I spent the past 24 hours playing with my new pi and this is what worked for me.

      I built my pi using a windows 10 machine.

      Tested 3.14

      The Beginnings:

      1. Download Jessie Lite and use Win32DiskImager to write img to SD card (8GB card recommended)
      2. Boot SD card and verify you can login
      3. Create wpa_supplicant.conf via windows text editor and plug SD back into windows machine
      network={
         ssid="NAME_OF_WIFI_AP"
         psk="WIFI_PASSWORD"
      }
      
      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

      You are now ready to connect to your pi via Putty. Please do so for the next portion.

      The fun parts:

      1. sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
      2. sudo dpkg -i node_latest_armhf.deb
      3. sudo apt-get install npm
      4. sudo apt-get install git
      5. cd /home/pi/
      6. git clone https://github.com/MichMich/MagicMirror
      7. cd MagicMirror
      8. sudo npm install #This will take a LONG time, expect 30 minutes
      9. sudo apt-get install midori
      10. sudo apt-get install unclutter
      11. sudo aptitude install xinit
      12. sudo apt-get install matchbox
      13. sudo raspi-config -> Boot Options -> B1 Desktop/CLI -> B2 Console Autologin
      14. sudo nano /home/pi/start.sh
      #! /bin/bash
      cd /home/pi/MagicMirror
      node serveronly &
      sleep 45
      sudo xinit /home/pi/startMidori.sh
      

      15 Control + x > Y > Return
      16 sudo chmod a+x /home/pi/start.sh
      17 sudo mv /home/pi/start.sh /etc/init.d/startMagicMirror.sh
      18 sudo update-rc.d startMagicMirror.sh defaults 100
      19 sudo apt-get install x11-xserver-utils
      20 sudo nano /home/pi/startMidori.sh

      #!/bin/sh
      xset -dpms # disable DPMS (Energy Star) features.
      xset s off # disable screen saver
      xset s noblank # don’t blank the video device
      matchbox-window-manager &
      unclutter &
      midori -e Fullscreen -a http://localhost:8080
      

      21 Control + x > Y > Return
      22 sudo nano /boot/config.txt

      disable_overscan=1
      framebuffer_width=1050 #match your res
      framebuffer_height=1680 #match your res
      framebuffer_depth=32
      framebuffer_ignore_alpha=1
      hdmi_pixel_encoding=1
      hdmi_group=2
      display_rotate=1
      

      23 Control + x > Y > Return
      24 sudo reboot

      Congrats, your pi should now boot to MagicMirror. To configure your modules please follow the ‘Readme’ on the Github: https://github.com/MichMich/MagicMirror

      Source - https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/2

      I actually got it to working just hours ago, on Pi Day!

      posted in Tutorials
      rootsudoR
      rootsudo
    • 1 / 1