This custom toolkit includes:
- a simple FastAPI-based server to upload new photos and serve them to frames on demand
- a daemon that needs to be uploaded to your digital frame via USB
- docker
- docker-compose
- Based on config/.env.template, create
.env.devfile inside theconfigdirectory and set the required environment variables - From the main repo directory start the server with
make dev-up. This will spin up 3 docker containers:- the uploader (web UI to upload photos)
- the server (to pull photos from your frames)
- a Mongo database to store the uploaded photos
- Register your frame on the server with
SERVER_IP-localhostif running locally, otherwise your external server IPSERVER_PORT- 8000 by defaultFRAME_ID- this should be the same ID as used in the original ZOOM.ME setup
curl -X PUT '<SERVER_IP>:<SERVER_PORT>/frames?frame_id=<FRAME_ID>&password=<PASSWORD_OF_YOUR_CHOICE>' - Open
SERVER_IP(orlocalhost) in your web browser to upload photos. Make sure your photos are not too big, there seems to be some size limits on the frame side.
- Connect your frame via USB (to reveal the USB port, press the back of your frame)
- Edit client/ramka-daemon.sh, you need to hardcode these values in the file:
SERVER_IP- external server IPSERVER_PORT- 8000 by defaultPASSWORD- this should match the password you used to register your frame on the server
- Run deploy.sh