Menu

Kindle Weather Display (incl. GitHub Sources)

0 Comment


In this video, you’ll be creating your very
own Kindle Weather Display. Here’s what you’ll need: an Amazon account, a Kindle Touch or
newer model, as well as a Mac or Windows computer. This is how it works. We’re going to use Amazon
Web Services to host a virtual server. The Kindle will then download an image from the
server every five minutes and display it. First, we’re going to start by creating our
Amazon Web Services account. Navigate to aws.amazon.com and click create a free account. Sign in with
your Amazon account. Fill out all required information. Although we’re going to input
payment information, we’re going to use the free tier so it doesn’t cost us anything.
After signing in again we’re going to create our server. Go ahead and click EC2 at the
top left. Click “launch instance”. Click “community AMI’s” and search for the keyword “kindle”.
The first option should be it. Go ahead and review and launch, and scroll down until you
hit “edit security groups”. Click “add rule” and select “http”. Now we can launch our server.
When asked, click “proceed without a key pair” and select the checkbox. Click the link in
the middle to be presented with the console. Here you’ll find information about the servers that
you have launched. Especially important is the Public IP, which will show up after a
couple refreshes. There it is. We’re going to use this IP address in the next step so
make sure to write it down. Now we’re going to configure the city. Google “yahoo weather”
followed by the city of your choice that you would like to receive weather from. Navigate
to the first link and click the address bar at the top of the browser. The number at the
end of the address is called the city code. We’re going to also remember this for later.
Open terminal, or if you’re a Windows user, download and run PuTTY. Type in “ssh [email protected]
the server IP that you recorded before”. Type yes, and the enter the default password which is
“kindle”. Now we’re going to change the default password. Type “passwd”. Type in your old
password which is “kindle” followed by your new password. Now type “nano weather/parse_weather.py”.
Keep
hitting the down arrow until you see code of my city. Change this code to the code that
you recorded before. Change metric to false if you live in the states. Now press Ctrl+X
, Y , Enter. Then type “sudo weather/launch.sh”. Type in your new password. Lastly type ‘”exit”.
Next we have to prepare the kindle scripts. Go ahead and copy the public IP from the console
page. Unzip the zip file from the description below, and open the weather folder. Then right
click on display-weather.sh and click open with TextEdit. You may have to click Other
if it doesn’t show up. Windows users must use a program called Notepad++. We’re going
to replace all the areas that say “your_address_here” with the server IP that we just copied. Save
and exit. Next we’re going to jailbreak our Kindle. Click the link in the description
below and download the two files at the bottom of the first post. Connect your Kindle to
the computer. Unzip the second zip file labeled kindle-5.4-jailbreak and copy all the files
to the root directory of your Kindle. Eject and unplug. Tap menu, settings, then menu
again. And lastly Update your Kindle. You are now jailbroken. Connect your Kindle to
the computer again. Depending on which Kindle model you have, copy over the corresponding
.bin file. Eject and unplug. Repeat the same process as before and click Update your Kindle.
Wait until it reboots. Next we’ll install the kindle scripts. Connect your Kindle to
your computer and copy the kindleweatherfiles we copied earlier. Eject and unplug. In the
search bar at the top type in “;un”, and hit enter. This starts usbnetworking on the Kindle.
Once again, connect your Kindle to the computer. Open system preferences and click on the Network
pane. The Windows equivalent is going to Network Connections. Click on the device RNDIS. Configure
IPv4 manually, with the IP address being “192.168.15.201”. The subnet mask should be “255.255.255.0”.
You can leave “Router” blank. Hit apply and exit. Now open Terminal. Windows users as
before must use PuTTY. Type in “ssh [email protected]”. Although I’m typing a password here, you shouldn’t
need one. If you need one, check the description below. Now type “mntroot rw”. Then type “nano
/etc/crontab/root”. Then type exactly what is displayed on the screen. Make sure to get
the spaces right. Here we’re configuring the Kindle to display the weather every five minutes.
Like before press Ctrl+X , Y , Enter. Lastly type exit. Unplug the Kindle and type “;un”
in the search bar. This will toggle off usbnetworking. Last but not least, we need to restart the
Kindle. Press menu, settings, menu again and restart. The Kindle displays the weather right
on schedule. And there we have it, your very own Kindle weather display. Just in case this
weather display is too awesome for you, here’s how to disable it. Connect your Kindle to
your computer and navigate to the weather folder. Append “.old” to the end of the filename.
Eject, unplug and hold down the power button for at least 30 seconds. Then press the power
button again to make sure it boots up. And that’s it. Thanks for watching.

Tags: , , , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *