Skip to content

A simple python and php script to supply your Inky e-paper with images

License

Notifications You must be signed in to change notification settings

Indiana8000/phpSimpleInkyImageServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpSimpleInkyImageServer

A simple Python and PHP setup to supply your Pimoroni Inky e-paper display with images.

Now with a clean web UI!
Live demo available at: https://inky.bluepaw.de/

Features

  • Change the displayed image every X minutes
    (manually via button A / random image via button B, weighted by likes)
  • Mark the current image as favorite
    (like: button C / dislike: button D)
  • Remote control your Inky display using the web UI
    (trigger the next random image or select a specific image)
  • Supports SQLite (default) and MySQL
    (MySQL is recommended if you have more than ~500 images)

Installation

1. Web server setup

  1. Copy all files from the web directory to any web server (e.g. your NAS)
  2. Rename config.php.dist to config.php and adjust the settings as needed
  3. Optional:
    If you don’t need the web UI, you only have to copy api.php and config.php

2. Inky device setup

  1. Copy run.py to your Inky setup
  2. Install the required Pimoroni libraries:
  3. Check the configuration options at the top of run.py
  4. Optional:
    See cronjob.example for automatic startup

Example Pictures

Photo of Inky Impression 7.3

Screenshot of the phpSimpleInkyImageServer web UI

About

A simple python and php script to supply your Inky e-paper with images

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors