Nothing Special   »   [go: up one dir, main page]

Skip to content

A dashboard for the inky pHat (1st gen) based on Angular.

License

Notifications You must be signed in to change notification settings

digitlz/inky-dashboard

Repository files navigation

Inky Dashboard

The idea

I had an inky pHat lying around and I decided that I wanted to have a small little dashboard that I could customise.
The approach is to have a website based on Angular that is fully customisable to develop components that you could then put on the eInk display.
This works by compiling the website, running a python server, taking a screenshot in the correct resolution and then painting it on to the display.

alt text

Setup

Basic setup

sudo apt install chromium-browser chromium-codecs-ffmpeg

How to run it

  • Rename src/app/components/weather/weather_api.example.ts to weather_api.ts and add your apiKey from https://openweathermap.org/api
  • Build with npm run build on the Raspberry Pi
  • Display with npm run capture-and-write (run as cronjob to display regularly)