makepanic / eink-weather

simple eink weather dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Ink weather

This is a small html snippet that allows you to generate a weather dashboard to be displayed on an e-ink reader.

E-Ink reader

Configuration

  • This project requires the following environment variables to be set:
    • LAT - a latitude
    • LON - a longitude
    • OPENWEATHER_KEY - a valid OpenWeather api key

Installation

  • ensure GraphicsMagick is installed
    • This is required to convert the screenshot to black and white
  • install dependencies yarn install
  • start a http server (e.g. python3 -m http.server 9999)
  • run node scrot.js to take a screenshot of the html page
  • upload the generated screenshot to the server that is loaded by online-screensaver

Screenshots

Name Screenshot
Rendered output Rendered output
Displayed on a kindle On a kindle

About

simple eink weather dashboard

License:GNU General Public License v3.0


Languages

Language:JavaScript 63.7%Language:HTML 21.1%Language:CSS 15.2%