Giter Site home page Giter Site logo

epaper-home's Introduction

Home e-paper display

Turn a Waveshare 7.5inch e-Paper HAT (B) and an internet connected Raspberry Pi into a simple home dashboard.

Setup

Sorry, Python 2 right now, because the Waveshare code is Python 2 only.

On PC / Mac

virtualenv env
env/bin/pip install -r requirements.txt

Next, create a config.py file containing values for at least the following configuration fields:

  • DARKSKY_API_FIELD: a key for the Dark Sky Weather API. Alternatively, remove the weather widget in visualization.py
  • CALENDAR_ICS_URL: a URL to an iCal file for the calendar widget.

Additionally, the code currently assumes you're using the Tahoma font stored in non-free-fonts/Tahoma.ttf. You can copy Tahoma to that location (license issues forbid me to bundle it), or you can configure a different font with the MAIN_FONT_FILE configuration key.

Running env/bin/python visualization.py will show a preview of what should soon be shown on your fancy e-ink display.

The real deal

Follow these instructions to get your Raspberry Pi in shape.

Copy the code to your Pi, follow the same setup procedure as above and try and run env/bin/python update.py as a superuser. The display should update!

Next, set up a cron job to run the command (mine is set to update every 10 minutes), and you're done!

epaper-home's People

Contributors

mivdnber avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

civicdata

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.