Skip to content
/ framepy Public

Python/dropbox/imagemagick utility used for raspberry pi picture frame deployments

Notifications You must be signed in to change notification settings

msberk/framepy

Repository files navigation

Requirements

all must be on your path

  • fbi
  • dropbox_uploader (with access token)
  • imagemagick
  • exiftran

RPi Steps

  1. Image with new Raspberry Pi OS
  2. Activate ssh and an initial wi-fi config by making a file named ssh and a wpa_supplicant.conf on /boot while mounted to the imaging computer
  3. Boot up and log into pi (username: pi, password: raspberry)
  4. Change password (passwd)
  5. Open sudo raspi-config
    1. Set nice hostname (e.g. myframe)
    2. Set timezone to your timezone
    3. Set auto-login enabled
    4. Set wait for network at boot
  6. Add a cronjob to reboot nightly
    sudo crontab -e
    
    # m h  dom mon dow   command
      0 3  *   *   *     shutdown -r now
  7. Install dependencies:
    sudo apt-get install fbi imagemagick exiftran
    git clone https://github.com/andreafabrizi/Dropbox-Uploader.git ~/Dropbox-Uploader
  8. Run initial setup and follow instructions to link to Dropbox account.
    dropbox_uploader.sh link
  9. Clone this repository onto the device
    git clone https://github.com/whataberk/framepy.git ~/framepy
  10. Set up .bash_profile according to example

Docker

After some work, I don't really recommend Docker for this. This is pretty much a one-trick-pony pi setup and it'd probably make more sense to codify the above as a setup shell script than tax a Pi with running Docker. If you do want to use Docker, though, then if you are using default 'pi' user just copy .env-example to .env and hopefully it should work as expected.

About

Python/dropbox/imagemagick utility used for raspberry pi picture frame deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published