Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

7.5" E-ink home status display

Work in progress e-ink home status display, showing news, weather information and hopefully soon much more. Updates in ~ 45 seconds with network requests on a Raspberry Pi Zero W.

Dependencies

  • python3
  • python3-pillow
  • python3-rpi.gpio

For the display functionality:

  • fonts-roboto
  • python3-requests
  • python3-feedparser

SPI has to be enabled on the Raspberry Pi, follows the steps on the raspberrypi.org website.

Vendored font in the repo is weather-icons.

Configuration

Copy the sample statusdisplay.cfg.in to statusdisplay.cfg and configure the options.

Weather

The buienradar.nl API is used for obtaining the current weather and forecast. The configuration file requires weather code which can be obtained by browsing to buienradar. Open your browsers development tools and select the network panel, select your city and look for the https://api.buienradar.nl/data/forecast/1.1/all/2757345/ request where 2757345 is the code required in the configuration file.

News

The default news RSS feed is nos.nl, in theory any other newsfeed can be used since only the title is used to display the news items.

Public Transport

9292ov's API is used to display departure times from a configured stop, the stop id can figured out by querying the 9292ov api with a search string for example "Delft". Request http://api.9292.nl/0.1/locations?lang=nl-NL&type=stop&q=Delft and select for example delft/bus-tramhalte-station-delft as id in statusdisplay.cfg.

Running

This depends on a newer spi-dev then is available in Debian, to compile and run follow the following steps:

apt install python3-dev
git clone https://github.com/doceme/py-spidev.git
cd py-spidev
make PYTHON=python3
PYTHONPATH=/home/pi/py-spidev/lib/ python3 bench.py

Case

The Raspberry Pi Zero W and E-ink panel where integrated in an Ikea RIBBA frame of 13x18 cm. e-ink ribba ikea

About

WIP 7.5" e-ink weater, news and more status display

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages