Skip to content

mpacheco12/kindle-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-display

A customizable script to display Yahoo weather data as a portable image. alt text

Register in Yahoo Developer

Register in https://developer.yahoo.com/ and create and app to get your

app_id, consumer_key and consumer_secret

once you have those keys, replace them in server/parse_weather.py lines 48, 49 and 50

Server Installation

First, install DejaVu Fonts.

Next install imagemagick and pngcrush.

apt-get install imagemagick pngcrush

Configure imagemagick so that it can find the DejaVu fonts.

Insert the script launch.sh into your crontab.

Finally, install the web server of your choice and allow the port through your firewall.

Client Installation

Unzip the contents of kindleweatherfiles.zip into the root directory of your Kindle. Install the jailbreak, and USBNetworking.

Finally, add /mnt/us/weather/display-weather.sh to the cron file on the Kindle.

Troubleshooting

if imagemagick can't find your fonts: Copy fonts to a directory of your choice

Determine the directory of your imagemagick configuration type.xml

In my case, it was /usr/local/Cellar/imagemagick/6.9.7-0/etc/ImageMagick-6

cd /usr/local/Cellar/imagemagick/6.9.7-0/etc/ImageMagick-6

wget http://www.imagemagick.org/Usage/scripts/imagick_type_gen -O script.pl

find /Users/username/your_font_directory -name '*Deja*' |./script.pl -f - > ./type-morefonts.xml

Finally edit type.xml

nano type.xml

Near the end of the file between <typemap> and </typemap>, add <include file="type-morefonts.xml" />

About

Kindle weather app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published