Skip to content

This creates a custom wallpaper fetching the information from Yahoo Weather and from you calendar from Google!

Notifications You must be signed in to change notification settings

JanHBade/kindle-wallpaper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kindle weather and calendar displayer

Author: Pablo Jiménez Mateo

ScreenShot

Do you use a Kindle and hope that the wallpapers could be more useful? Well, that has just changed, with this program you will display the weather and some task to do retrieved from Yahoo Weather and Google calendar!

You can see a preview in the preview.png file

Based on the idea of Matthew Petroff: http://www.mpetroff.net/archives/2012/09/14/kindle-weather-display/

Dependencies

Note that you need a server for this, a Raspberry Pi is more than enough

You should have previously Jailbreaked you kindle (http://www.shatteredhaven.com/2012/11/1337365-ssh-on-kindle-4-usbnetwork-hack.html) and enabled the "screensavers" folder (http://www.gadget-reviews.me/2012/02/how-to-custom-screensavers-on-amazon.html)

Setup

In the Kindle

  • Move the file kindle/launch.sh to /mnt/us/launch.sh and add rights
    scp launch.sh [email protected]:/mnt/us/

    chmod 755 /mnt/us/launch.sh
  • Mount the partition in Read/Write
    mntroot rw
  • Edit the crontab file and append your job
    vi /etc/crontab/root 
    50 6 * * * /mnt/us/launch.sh

In the server

You must edit the following files:

programs/parse_ical

You need to open the file programs/parse_ical and put your .ical URL in the variable ICAL_URL

To get your .ical for parse_ical go to https://support.google.com/calendar/answer/37103?hl=en and follow the instructions

programs/parse_weather

You need to open the file programs/parse_weather and put your city code in the variable CODE

To get your city code for parse_weather go to http://weather.yahoo.com/, search your city and get the last numbers.

As an example my city code would be 756804

http://weather.yahoo.com/spain/valencia/castello-de-la-plana-756804/

launch.sh

You may need to change your path if you are not using the default yourserver/kindle structure.

General configuration

Finally you should create a folder in your webserver readable by your kindle when trying to download it (In this example would be yourserver/kindle):

    sudo mkdir /var/www/kindle
    sudo chown www-data:www-data /var/www/kindle
    sudo chmod 755 /var/www/kindle

Give the script launch permissions:

    chmod 755 launch.sh

Append the cronjob some minutes before the one in the Kindle:

    crontab -e 
    30 6 * * * /path/to/launch.sh

This program is licensed under Creative commons Attribution 3.0 Unported, more info : http://creativecommons.org/licenses/by/3.0/deed.en_US

About

This creates a custom wallpaper fetching the information from Yahoo Weather and from you calendar from Google!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.7%
  • Shell 12.3%