Skip to content

dansl/MagicMirror-Photo-Frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicMirror Photo Frame

WORK IN PROGRESS

Setup a Raspberry Pi with a small 7" or 10" touch screen, running MagicMirror and a few modules.

Hardware

  • Raspberry Pi 4 or better + Power Cable
  • Raspberry Pi compatable Touch Display (any size, but 7" or 10" recommended)
  • SD Card 32GB or more

Steps

  • Setup Raspian OS on your Raspberry Pi.
  • Follow the MagicMirror tutorial to start your setup. Once you are setup, continue below.
  • Install these Modules following their recommended steps, you can skip the parts about adding lines to the config.js since my config already has that part included:
  • Download the Config.js and Custom.css files from this repo.
    • Edit the Config.js file and find "/home/magicmirror/Pictures".
      • You will need to change this path to match your Pictures path on the Raspberry Pi. Typically, it will be something like "/home/username/Pictures".
    • Edit the Config.js file and change the weather module's lat and lon variables to be your locations latitude and longitude.
    • Place edited Config.js in the "~/MagicMirror/config" folder.
    • Place Custom.css in the "~/MagicMirror/css" folder.
  • Add your images to the "~/Pictures" folder.
  • Restart MagicMirror and you should now have a Photo Frame.
    • By Default, it's set on a schedule of 7am to 11pm. Durring that time it will show the photo slideshow, outside that time it will dim the modules and show "Good Night" on the screen with no slideshow. This can be changed in the Config.js.

Recommendation

  • Follow this guide to setup Autostart with PM2. Then you can use the "Exit" button I setup on the system page as well as the Desktop icon by placing it in your "~/Desktop" folder.
  • Setup Dropbox or another service to easily sync your photos to the Pi. There are a few ways to do this, I chose to use this Dropbox Uploader script to sync photos to my "~/Pictures" folder.
    • For instance, I setup the script following the instructions, then setup a cron job to run every hour to download my photos. Edit your cron table by entering cronttab -e in terminal, then at the bottom add 0 * * * * /home/username/Dropbox-Uploader/dropbox_uploader.sh download / /home/username/Pictures, make sure to change the "username" with your Linux username. Press ctrl+x, press y, press enter, now it should run every hour!
  • Install "unattended-upgrades" so you dont need to periodically manually update the OS. Just open terminal and run sudo apt install unattended-upgrades.
  • 3D Print a shell for your display. I saved a few here that may work.

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

About

Setup a Raspberry Pi and touch display as a smart slideshow photo frame using MagicMirror.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published