Skip to content
Using a Pimoroni inky wHAT display to show travel and weather information.
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
icons
AuthTokens.py
DarkSkyPlugin.py
DebugInky.py
IaqPlugin.py
InkWarmReloadDemo.py
InkyColours.py
LICENSE
LibScheduler.py
Main.py
Nunito-ExtraLight.ttf
NunitoFontLicense.txt
PluginImageResult.py
README.md
ScreenUpdatePlugin.py
TflPlugin.py

README.md

Inky What Info Display

A Python script for displaying weather and travel information on a Pimoroni Inky wHAT display. For the full write up of this project, see https://andybradford.dev/2019/11/03/living-room-eink-display.

This repo is intended as a reference for how I built my information display, so is a little specific to what I did. If you want to build something similar, feel free to use this as is or add / change your own stuff. If you do something cool, I'd love to hear about it, you can tweet me at @andycb or leave a comment on the above blog post

Setup

  1. Make sure you have Python 2 instaled (the inky library doesn't yet support Pyhton 3)
  2. Install the Inky library using these instructions: https://github.com/pimoroni/inky
  3. Install the Adafruit IO library for Python 2 by running pip install adafruit-io.
  4. Get some API keys:
  5. Paste your API keys into AuthTokens.py
  6. Find your longitude and latitude (It'll look something like this 51.5013673,-0.1440787) and paste it into the DARKSKY_FORCAST_LOCATION section of AuthTokens.py
  7. In the TFL_LINES section of AuthTokens.py add a list of TfL service to track for example ["Metropolitan", "Bakerloo", "DLR"]

Run

Run python Main.py to run the script. Your screen should refresh and show a loading screen before showing some data.

Third Party Work Included

Font

The Nunito font used is Nunito by Vernon Adams, check it out on Google Fonts: https://fonts.google.com/specimen/Nunito

Icons

The weather icons used are Climacons by Adam Whitcroft, check them out here: http://adamwhitcroft.com/climacons/

You can’t perform that action at this time.