Simple webpage with weather information.
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.
Weather and forecast source: https://openweathermap.org/
Icons source: https://github.com/erikflowers/weather-icons
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
);debugOn
and press enter on the keyboard~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)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)create a config.js file from config.js.sample and set variables:
api_locParams
- query parameters to set location (e.g. lat=50&lon=14
, or q=Paris
)api_appId
- set your API KEY (appId)
from http://openweathermap.org/appidapi_lang
- output language (e.g. en
)api_units
- units (e.g. metric
, imperial
)api_params
variable (e.g. q=Prague&appid=YOUR_API_KEY&lang=sk&units=metric
)rotation
- set rotation (on Kindle Paperwhite) ll
for left landscape, lr
for right landscape, and up
for upside downnight_mode
- auto
- based on sunrise and sunset, on
- always on, HH-HH
(22-06
) interval for on/off, off
or null
to disablerefreshTime
- refresh rate in milliseconds (default is 30 minutes)utcOffset
- if not set, it is determined by location, local
- local machine UTC offset, or custom UTC offset. (Because Kindle doesn't report the correct local time. You may need to change the value after the winter/summer time change)tempType
- use feelsLike
to show feels-like temperaturesSee more: http://openweathermap.org/current and http://openweathermap.org/forecast5
appId
sets the appIdcity
sets the city (e.g. city=Paris
)lat
, lon
set location (e.g. lat=50&lon=14
)lang
and units
for language and units :)rotation
sets the rotation :)utcOffset
sets UTC offsettempType
sets temperature type (actual or feels like)Examples:
http://YOUR_URL/?city=Prague&lang=sk&units=metric&appId=YOUR_API_KEY
https://YOUR_URL/?lat=50&lon=14&units=metric&appId=YOUR_API_KEY