It seems like it'd be far easier to create a free webpage and embed the items you want and point the kindle browser to that. However I appreciate the detail and complexity of what you have shown here.
Yeah, I think it would be easier, but then you would still need to stop the kindle from auto sleeping, and make the browser auto refresh. I'm not too experienced with web development, and like they say, if you have a hammer, everything looks like a nail
To anyone not finding the AMI when searching the keyword ”kindle” - set the area (in top right corner of AWS homepage) to Oregon, then the Kindle Weather Server-AMI should appear in the results.
If you'd have to jailbreak anyway, I would suggest a solution, das that gets and parses the weather information directly fro: the kindle (without the server)
I've problem with EC2 weather instances launching in AWS account. Following step by step instructions, but instance not launching (Launch Failed: Initiating launches Failure). Any ideas?
Excellent directions! I had some trouble getting the Jailbrake to work on my PW2 w/firmware 5.8.1, but I eventually figured out how to downgrade it and get things working. I tweaked the template so it displays a little more appropriately on the PW2. I'll eventually adjust the elements to take better advantage of the additional pixels of the screen. I'm having some trouble getting the weather info to update in a timely fashion... it's usually about 40 minutes behind, but only updates on the hour. For instance, the Kindle will show the PNG with a timestamp of 'As of 2:00pm', even at 3:00, 3:15, 3:30, etc. At 3:40, the display will update to say 'As of 3:00pm' and will stay that way until 4:40. Is there something happening with restrictions on the query? Is there anything I can do about it? Is there a log being generated somewhere that might tell me what's going on? FWIW- I've confirmed on the server side that the PNG is updating every five minutes by looking at the timestamp on the file via SSH and I've checked the PNG through my computer's browser to make sure the Kindle was downloading the same thing and not caching the file. Any Advice?
There's not much I can do, Yahoo weather seems to lag behind by an hour or so. However, I still find it extremely useful to have weather that's an hour behind, because temperatures don't change so drastically in that time period. I knew some people would notice that the image displayed was not actually the latest weather information so therefore I included the "as of 2:00pm". Hope this helps
BFactory - Thanks for getting back to me! The temp changes here quite often, but you’re right: it has been useful! Thanks for putting it all together and making it go! Merry Christmas!
+Vasselle Aurélien as of now it isn't working at all (the scripts connect to yahoo weather service, which has changed since this video was made). It looks like the author is currently working on a fix. Even though nothing was showing up, when I tried it, it seemed like you're correct, that it would show the weather screen as a hacked screensaver - I assume you could still use the kindle to read then, and just let it rest a minute when you're done to get the weather to display.... not confirmed though since I never got it working.
Very informative and a great video! Thank you so much! I have successfully implemented this recently on my kindle paperwhite wifi 7th gen and it all works great except the part that the png image generated here is of resolution 800x600 and the resultant display on the kindle paperwhite is not full screen. Could you please help me out to get a full screen display for the weather app?
The code from git hub does not work any more, I tried to run the parse_weather.py, it shows many error about myql. I have installed the myql, and I tried import it without problem. I am not sure if dom or myql newer version cause the problem, but I don't how to fix the problem.
Hey, I know this video is like 6 years old but I have an old kindle with a bad digitizer that would be perfect for this project, I already hacked it, but your script is not on AWS anymore, or at least it's not showing for me. I see you posted the github in the comments but I'm too dumb to make it work lmao
Does this work with Kindle Keyboard? I followed all of the steps exactly but when I copy the files to the Kindle and try to update, it doesnt jailbreak the Kindle.
No, it doesn't work as-is. The jailbreak worked but I got really confused because lots of the steps for Kindle Keyboard (3) were different. USBNetworking works different on the Kindle Keyboard so instead of the part referenced in the video to run ';un', I had to run ';debugOn' followed by '~usbNetwork' to turn it on. The IP addresses are different too (instead of 192.168.15.201 referenced in video, use 192.168.2.1 and instead of 192.168.15.244 referenced in video, use 192.168.2.2).
You can verify if your jailbreak worked by running ';debugOn' and then '~help'. If you get a popup with commands, your jailbreak is good. I was convinced my jailbreak didn't work.
I just haven't gotten the suspend and wake to reliably wake up the device. Started the project in October and will revisit it in the new year.
6 ปีที่แล้ว
I cannot find the kindle AMI in AWS, I get the message: "No results were found for "kindle" in the Community AMIs catalog.". Has it been removed? Or are there some access restrictions - I'm from Hungary, EU area. Pls help...
@@yoonsikp, thanks for the the quick reply! It was indeed set to Ohio, my mistake. Changing to Oregon, the kindle server did appear. I can hardly wait till the weekend to continue experimenting...
6 ปีที่แล้ว
It works perfectly, thanks a lot! Very nice job. The only thing I do not understand is why the values change only once per hour, at about 35 min past the hour, with the reading of the full hour. While the kindle apparently refreshes every 5 min. Is it yahoo that provides the delayed data, only once per hour? How often is the server polling yahoo (I could not figure out from the github files).
@ Yep, Yahoo is a failing company and they want to make sure that their weather department stays as lucrative as possible. They purposely delay their updates by about an hour, and they also don't have frequent updates unless you are a paying customer. I've created a custom build for Canada weather, scraping it from government canada's xml files, but seeing as you are from Hungary, I'm not sure if I can really help.
6 ปีที่แล้ว
@@yoonsikp Yes, I do not believe either that the Canada government report covers Hungary :). I had high hopes that weather underground could be the source somehow (especially as one of my neighbours has a weather station, its data can be accessed via wunderground), now I see that they also change/remove their API by the end of the year... So I will enjoy what I have now - thanks again, really appreciate!
@@useitwice Yahoo API changed, I changed the code a little bit to make it work with the new yahoo weather api. I can share in case you are still interested
Does this still work? I get errors when I run the launch.sh convert: not authorized `/tmp/magick-2HnMravo' @ error/constitute.c/ReadImage/454. convert: no images defined `weather-processed.png' @ error/convert.c/ConvertImageCommand/3046. rm: cannot remove ‘/var/www/weather-script-output.png’: No such file or directory mv: cannot stat ‘weather-script-output.png’: No such file or directory rm: cannot remove ‘weather-processed.png’: No such file or directory
Hello, excellent clear instructions thank you - When I get to the step: sudo weather/launch.sh - it generates a number of errors which I'll paste below --- the only thing I changed is the city code. I continued anyways, and the kindle only shows a large refresh button (no weather info). Any ideas? "Traceback (most recent call last): File "parse_weather.py", line 33, in weather_xml = urllib2.urlopen('weather.yahooapis.com/forecastrss?w=' + CODE + '&u=c&d=9').read() File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 437, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 475, in error return self._call_chain(*args) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 401: Unauthorized"
Hi, i tried to install the weather Station, but launch.sh gives this output, is the Yahoo-Part broken again? Is there a chance for you to fix it again? Best regards! [2016-11-04 17:52:22,853 DEBUG] [requests.packages.urllib3.connectionpool.connectionpool._make_request] "GET /v1/public/yql?format=xml&q=env+%27store%3A%2F%2Fdatatables.org%2Falltableswithkeys%27%3B+select+%2A+from+weather.forecast+where+woeid+%3D+2487956+and+u+%3D%22f%22&callback=&jsonCompact=new&diagnostics=False&debug=False HTTP/1.1" 200 None
It would be nice to get a copy of the server scripts rather then rely on the Amazon AWS.
I haven't touched the code in a while, and i'm not sure if it works, but take a look!!!
github.com/yoonsikp/weather-display
Thank you very much!
@@yoonsikp please make a video of this. im not savy enough to know how.
i was able to follow your youtube perfectly. thanks!!!
It seems like it'd be far easier to create a free webpage and embed the items you want and point the kindle browser to that. However I appreciate the detail and complexity of what you have shown here.
Yeah, I think it would be easier, but then you would still need to stop the kindle from auto sleeping, and make the browser auto refresh. I'm not too experienced with web development, and like they say, if you have a hammer, everything looks like a nail
This looks amazing but Im stuck here... "No results were found for "Kindle" in the Community AMIs catalog." :(
To anyone not finding the AMI when searching the keyword ”kindle” - set the area (in top right corner of AWS homepage) to Oregon, then the Kindle Weather Server-AMI should appear in the results.
Now run Doom on it
Is this going to work with a new one in 2019
No results were found for "kindle" in the Community AMIs catalog
My location was set to Oregon. Please advise
If you are seeing error messages about deprecation after the 'launch.sh' script runs, try running 'pip install myql dom --upgrade' and try again
If you'd have to jailbreak anyway, I would suggest a solution, das that gets and parses the weather information directly fro: the kindle (without the server)
That's a very cool project! Would I be able to make it display weather data from my Netatmo Weather station instead of an online weather service?
I've problem with EC2 weather instances launching in AWS account. Following step by step instructions, but instance not launching (Launch Failed: Initiating launches Failure). Any ideas?
I'm not too sure, it's been such a long time.
I have the same problem :(
BFactory no idea how to fix it? I would love to get this working
Excellent directions! I had some trouble getting the Jailbrake to work on my PW2 w/firmware 5.8.1, but I eventually figured out how to downgrade it and get things working. I tweaked the template so it displays a little more appropriately on the PW2. I'll eventually adjust the elements to take better advantage of the additional pixels of the screen.
I'm having some trouble getting the weather info to update in a timely fashion... it's usually about 40 minutes behind, but only updates on the hour. For instance, the Kindle will show the PNG with a timestamp of 'As of 2:00pm', even at 3:00, 3:15, 3:30, etc. At 3:40, the display will update to say 'As of 3:00pm' and will stay that way until 4:40. Is there something happening with restrictions on the query? Is there anything I can do about it? Is there a log being generated somewhere that might tell me what's going on?
FWIW- I've confirmed on the server side that the PNG is updating every five minutes by looking at the timestamp on the file via SSH and I've checked the PNG through my computer's browser to make sure the Kindle was downloading the same thing and not caching the file. Any Advice?
There's not much I can do, Yahoo weather seems to lag behind by an hour or so. However, I still find it extremely useful to have weather that's an hour behind, because temperatures don't change so drastically in that time period. I knew some people would notice that the image displayed was not actually the latest weather information so therefore I included the "as of 2:00pm". Hope this helps
BFactory - Thanks for getting back to me! The temp changes here quite often, but you’re right: it has been useful! Thanks for putting it all together and making it go! Merry Christmas!
Merry christmas to you too! I'm thinking of posting a new video, with how to display images on the kindle from your home server.
BFactory That sounds like it could have some awesome potential! Looking forward to it!
i just tried today. "Kindle" is no longer listed in community AMI. so sad.
anybody know if theres another AMI that works instead of the nonexistant kindle AMI?
Is the kindle still usable or is it dedicated to display weather ?
Could it be possible to make the weather image a screensaver instead ? Maybe ...
+Vasselle Aurélien as of now it isn't working at all (the scripts connect to yahoo weather service, which has changed since this video was made). It looks like the author is currently working on a fix. Even though nothing was showing up, when I tried it, it seemed like you're correct, that it would show the weather screen as a hacked screensaver - I assume you could still use the kindle to read then, and just let it rest a minute when you're done to get the weather to display.... not confirmed though since I never got it working.
the pw: kindle is not working any ideas?
Post some more details, and I'll try to respond
Very informative and a great video! Thank you so much! I have successfully implemented this recently on my kindle paperwhite wifi 7th gen and it all works great except the part that the png image generated here is of resolution 800x600 and the resultant display on the kindle paperwhite is not full screen. Could you please help me out to get a full screen display for the weather app?
tutorial make kindle second monitor???????????
The code from git hub does not work any more, I tried to run the parse_weather.py, it shows many error about myql. I have installed the myql, and I tried import it without problem. I am not sure if dom or myql newer version cause the problem, but I don't how to fix the problem.
It worked fine for me. Please post the error message, that is always the first step.
Hey, I know this video is like 6 years old but I have an old kindle with a bad digitizer that would be perfect for this project, I already hacked it, but your script is not on AWS anymore, or at least it's not showing for me. I see you posted the github in the comments but I'm too dumb to make it work lmao
Does this work with Kindle Keyboard? I followed all of the steps exactly but when I copy the files to the Kindle and try to update, it doesnt jailbreak the Kindle.
No, it doesn't work as-is. The jailbreak worked but I got really confused because lots of the steps for Kindle Keyboard (3) were different. USBNetworking works different on the Kindle Keyboard so instead of the part referenced in the video to run ';un', I had to run ';debugOn' followed by '~usbNetwork' to turn it on. The IP addresses are different too (instead of 192.168.15.201 referenced in video, use 192.168.2.1 and instead of 192.168.15.244 referenced in video, use 192.168.2.2).
You can verify if your jailbreak worked by running ';debugOn' and then '~help'. If you get a popup with commands, your jailbreak is good. I was convinced my jailbreak didn't work.
I just haven't gotten the suspend and wake to reliably wake up the device. Started the project in October and will revisit it in the new year.
I cannot find the kindle AMI in AWS, I get the message: "No results were found for "kindle" in the Community AMIs catalog.". Has it been removed? Or are there some access restrictions - I'm from Hungary, EU area. Pls help...
Just a question, is your AWS set to oregon?
@@yoonsikp, thanks for the the quick reply! It was indeed set to Ohio, my mistake. Changing to Oregon, the kindle server did appear. I can hardly wait till the weekend to continue experimenting...
It works perfectly, thanks a lot! Very nice job. The only thing I do not understand is why the values change only once per hour, at about 35 min past the hour, with the reading of the full hour. While the kindle apparently refreshes every 5 min. Is it yahoo that provides the delayed data, only once per hour? How often is the server polling yahoo (I could not figure out from the github files).
@ Yep, Yahoo is a failing company and they want to make sure that their weather department stays as lucrative as possible. They purposely delay their updates by about an hour, and they also don't have frequent updates unless you are a paying customer. I've created a custom build for Canada weather, scraping it from government canada's xml files, but seeing as you are from Hungary, I'm not sure if I can really help.
@@yoonsikp Yes, I do not believe either that the Canada government report covers Hungary :). I had high hopes that weather underground could be the source somehow (especially as one of my neighbours has a weather station, its data can be accessed via wunderground), now I see that they also change/remove their API by the end of the year...
So I will enjoy what I have now - thanks again, really appreciate!
anyone can confirm is it still working ? i try but can't found any result with kindle keyword on the comunity ami in aws
Fisummer D Change location to ”Oregon” in the top right corner and ull be able to find the weather AMI :)
I havent been able to launch yet tho.
@@useitwice Yahoo API changed, I changed the code a little bit to make it work with the new yahoo weather api. I can share in case you are still interested
@@MauricioPachecoJaramillo i am interested!
@@useitwice you can find the code here github.com/mpacheco12/kindle-weather let me know if you have any questions
No results were found for "kindle" in the Community AMIs catalog :(
Might have to just use the Github sources from now on
Does this still work? I get errors when I run the launch.sh
convert: not authorized `/tmp/magick-2HnMravo' @ error/constitute.c/ReadImage/454.
convert: no images defined `weather-processed.png' @ error/convert.c/ConvertImageCommand/3046.
rm: cannot remove ‘/var/www/weather-script-output.png’: No such file or directory
mv: cannot stat ‘weather-script-output.png’: No such file or directory
rm: cannot remove ‘weather-processed.png’: No such file or directory
I am getting the same error.
Me2
It appears my comments got deleted. Anyway, check the description for the fix.
Should be fixed
Would this work on a nook
probably not
rndis not showing.. plz help
Mac or windows?
Hello, excellent clear instructions thank you -
When I get to the step: sudo weather/launch.sh - it generates a number of errors which I'll paste below --- the only thing I changed is the city code. I continued anyways, and the kindle only shows a large refresh button (no weather info). Any ideas?
"Traceback (most recent call last):
File "parse_weather.py", line 33, in
weather_xml = urllib2.urlopen('weather.yahooapis.com/forecastrss?w=' + CODE + '&u=c&d=9').read()
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: Unauthorized"
+Б Great thanks for the reply! No rush, I wasn't sure if I had done something wrong. Appreciate the support,
~m
Hi,
i tried to install the weather Station, but launch.sh gives this output, is the Yahoo-Part broken again?
Is there a chance for you to fix it again?
Best regards!
[2016-11-04 17:52:22,853 DEBUG] [requests.packages.urllib3.connectionpool.connectionpool._make_request] "GET /v1/public/yql?format=xml&q=env+%27store%3A%2F%2Fdatatables.org%2Falltableswithkeys%27%3B+select+%2A+from+weather.forecast+where+woeid+%3D+2487956+and+u+%3D%22f%22&callback=&jsonCompact=new&diagnostics=False&debug=False HTTP/1.1" 200 None