Skip to content

This project is designed to populate photos displayed on digital picture frames powered by Raspberry Pi's for Christmas 2023.

License

Notifications You must be signed in to change notification settings

tyler-tee/Digital-Photo-Frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Photo Frame

Overview

Kivy-based application developed to run on a raspberry pi. Designed to display photos synced from a Google Photos album on a touchscreen display. Created for Christmas 2023 as a gift for my fiance and father.

Key Features

  • Photo Synchronization: Integrates with Google Photos API to sync photos.
  • Interactive UI: Navigate through photos with touch gestures.
  • Weather and Time Display: Fetches and shows current weather and time.
  • Automatic Updates: Periodically syncs new photos and deletes old ones.

Initial Setup

  1. Install Python: Ensure Python >=3.9 is installed on your Raspberry Pi.
  2. Install Dependencies:
    pip install -r requirements.txt
  3. Configure API and Local Settings:
    • Create a config.json with keys like api_service_name, api_version, scopes, local_folder, and album_id.
    • Save your Google API credentials in client_secret.json.

Running the Application

  1. Initial Photo Population:
    • Run sync_photos.py initially to populate your local folder with photos from the specified Google Photos album.
    python sync_photos.py
  2. Start the Photo Display:
    • After the initial setup, use run_photo_display.py to handle photo synchronization and display.
    python run_photo_display.py

Notes

  • The script uses the pickle module for saving and loading Google Photos client credentials.
  • For new installations or invalid credentials, a login window will prompt you for authentication.

Run as a Service

  • A sample .service file is provided in /services for configuring the app to run with systemctl.

License

This project is licensed under the MIT License.

About

This project is designed to populate photos displayed on digital picture frames powered by Raspberry Pi's for Christmas 2023.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published