cathay4t / kindle-weather

Change old kindle into weather station.
MIT License
103 stars 13 forks source link

Kindle Weather

STOP, THIS WILL BRICK YOUR KINDLE, ONLY FOR LINUX GEEK.

UNLESS YOU KNOW ALL THE FOLLOWING LINUX COMMANDS, GO AWAY, THIS IS NOT FOR YOU.

Big Thanks to Matthew Petroff for his sharing.

This project is fully based on the project shared by Matthew Petroff: http://mpetroff.net/2012/09/kindle-weather-display/

Without his kind share of this great work, my kindle 3 might still sleep in the dust.

The changes I made:

License

Pre-requirements

HowTo

Kindle Side

Jailbreak your Kindle and install USB network.

Install weather display script

Setup crontab

Keep your kindle connected to a USB power during use.

Reboot your kindle via reboot command.

Server Side

Install httpd daemon.

Create weather output folder with correct permission.

Setup crontab

/home/fge/Source/kindle-weather/weather_script.py


 * Add this line to `crontab -e` to refresh weather every 30 minutes
   during 6AM to 10PM:

0,30 6-22 * /home/fge/bin/kindle_weather.sh 1>/dev/null 2>/dev/null



### Create initial weather PNG
 * Invoke `<PATH>/weather_script.py <API_KEY> <LAT> <LON>`.
 * Check whether you can get the weather png via:
    `http://<your_server_hostname>/weather/weather.png`

# TODO
 * Include a TODO list or note.

# Contact
 * https://github.com/cathay4t/kindle-weather/issues

[1]: http://www.wunderground.com/weather/api/d/login.html
[2]: http://wiki.mobileread.com/wiki/Kindle_Hacks_Information
[3]: https://blitiri.com.ar/p/other/kindle/#usb-networking
[4]: http://creativecommons.org/publicdomain/zero/1.0/