This is the source code for an e-paper/Raspberry Pi frame I made.
The main source is frame-server.go
. You'll need to go get github.com/dce/rpi/epd7in5
to build the project, but otherwise it should be pretty straightforward. I've included a couple scripts in bin
to making development easier:
docker-shell.sh
spins up a session you can compile the project inbuild.sh
compiles the projectbuild-arm.sh
compiles the project for running on the Pideploy.sh
logs into the Pi, stops the program, uploads the new version, and starts the program
In etc
, you'll find a couple useful utilities:
frame-server.service
is asystemd
configuration to control the programrandom-photo
is a script you can put in/etc/cron-hourly
that fetches new photos from S3 and displays a random photo on the Pi