digitlz / inky-dashboard

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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

License:GNU General Public License v3.0


Languages

Language:TypeScript 72.2%Language:JavaScript 17.1%Language:HTML 6.6%Language:SCSS 2.8%Language:Python 1.3%