Skip to content
WIP 7.5" e-ink weater, news and more status display
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
datasources
driver @ f363ead
.gitignore
.gitmodules
README.md Describe the display Apr 14, 2019
bench.py
epaper.service Add systemd example services Apr 8, 2019
epaper.timer
statusdisplay.cfg.in Add configuration file support Apr 14, 2019
statusdisplay.py
weathericons-regular-webfont.ttf

README.md

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

You can’t perform that action at this time.