matopeto / kindle-weather-dashboard

195 stars 37 forks source link

kindle-weather-dashboard

Simple webpage with weather information.

Try it!

Go to: http://kindle.hrincar.eu/weather/ and that's it!

or you can install it on your own server, customize it, or run it locally on your Kindle.

Please, if you use this website, generate your free OWM token (see: https://openweathermap.org/api for more info), because the default token can be blocked and changed at any time and the weather forecast can stop working.

Features

Options

Weather and forecast source: https://openweathermap.org/

Icons source: https://github.com/erikflowers/weather-icons

Dashboard on real devices

How to run directly on the Kindle (tested on Kindle PW 3)

  1. clone or download repository
  2. generate your free API key (AppId) at http://openweathermap.org/appid
  3. rename config.js.sample to config.js and set the parameters you need (all parameters are optional and can be set in the HTML webpage config.html, but I recommend setting at least the api_appId)
  4. copy the folder with all files to the root of Kindle storage
  5. disable the screensaver on your Kindle:
    • press the search button (or keyboard button on Kindle 4) on homescreen and type: ;debugOn and press enter on the keyboard
    • press the search button (or keyboard button on Kindle 4) again and type: ~disableScreensaver and press enter on the keyboard. (On Kindle Paperwhite, type: ~ds - with new firmware this may not be possible, but see these instructions for a solution)
  6. launch the browser on your Kindle and go to: file:///mnt/us/kindle-weather-dashboard/index.html (where kindle-weather-dashboard is the folder in the root of your Kindle storage from step 4)

Configuration

with config.js

create a config.js file from config.js.sample and set variables:

See more: http://openweathermap.org/current and http://openweathermap.org/forecast5

with url query parameters

Examples:

Screenshots

Kindle 4

Kindle 4 screenshot

Kindle Paperwhite 3

Kindle Paperwhite 3 screenshot

Real devices

Dashboard on real devices