02-25-2013, 11:25 AM | #91 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
After you've run the weather app at least once through telnet, you can start it from the kobo tweaks plugin by adding these lines to koboteaks.ini (in the .kobo folder on your Touch):
Code:
[CustomCommands] Reboot=tweaks.executeSystemCmd(\"/mnt/onboard/.python/weather.sh\") Code:
killall nickel |
02-25-2013, 06:28 PM | #92 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2013
Device: Kobo Touch
|
Got it.
Thank you |
Advert | |
|
07-11-2013, 11:50 AM | #93 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Kobo Mini
|
Hi Kevin,
you did a great job! And I was able to set the applet up on my Kobo Mini after some problems finding the right firmware (>=2.6 seems to be incompatible with pygame). Also it seems that the full_update binary leaves some artifacts of the previous page always. However, I could fix that by the manual raw-file method. Now I try to set up an arm build chain (embedian doesn't work with Jessie) to adapt full_update and also to compile wakertc in order to turn the device on only for a couple of seconds each hour. I extended your app and started a fork on bitbucket. If anyone can use it, be my guest! More information at: http://bitbucket.org/david_weese/kobo-weather-app Cheers, Dave |
07-12-2013, 11:43 AM | #94 |
Connoisseur
Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
Hello,
interesting collection of all sh codings - including mine :-) May I ask what you are trying to do? :-) you took my sleep.sh where I calculate the next full hour. then you take the timestamp and deduct that full hour again - so you got the current (history) full hour. and then you adding 10*60 seconds again on top. - that is a historic value which cant be used. - in connection to an hourly cron-job this will not work twice - and then without a recompiled rtcwake (i did not find it in the fork) it does not work on the mini - and then you still have the issue that rtcwake does not work unless you completely go to UTC and I think you forgot to startup wifi in your updateAndSleep.sh Last edited by z000ao8q; 07-12-2013 at 12:51 PM. |
07-12-2013, 07:39 PM | #95 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Kobo Mini
|
Hi,
as I explained in my INSTALL.text on bitbucket the whole cronjob/standby thing is on the todo list. Currently only the pure python script showing the weather forecast is working. The scripts for computing the next hour wakeup time are shamelessly taken from http://www.scherello.de/?id=265. I couldn't test them yet. Yes you are right without an arm build chain I won't be able to get rtcwake running. The same holds for the broken full_update binary which doesn't work on the Kobo Mini. That's the reason why I'm now setting up the chain as explained at http://blog.ringerc.id.au/2011/01/pr...nment-for.html Have you overcome the rtcwake/full_update issues on the Kobo Mini already? Thanks for your comments, your help is appreciated. Dave |
Advert | |
|
07-14-2013, 08:24 AM | #96 | |
Connoisseur
Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
Quote:
and I can tell that they are working :-) I just updated the documentation a little. you need to run a hwclock -s -u regularly. here, the systemclock was going out of sync up to 5sec per day regarding rtcwake i will send you a PM. I need someone with the toolchain to get my workaround into a share-able version for everyone :-) |
|
07-21-2013, 04:47 PM | #97 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: Kobo Wifi N647
|
I have an idea for another app, and that is an RSS updater. There are already python RSS/Atom Parsers, and all you really need to do is read an RSS list and save the documents. Not to mention the trigger to start the RSS update without the CMD, just like the weather app with BACK+HOME.
After the update the device could either restart to check for new material or just pop out and in the SD card. I would love to start working on something like this because trying to get to Calibri sometimes isn't an option when traveling. |
07-23-2013, 11:56 AM | #98 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
An RSS reader was one of the first things I thought about doing on my Kobo Wifi. I did a bit of tinkering with the idea a while back, but I never did enough to get anywhere. I still think that it's a great idea.
|
07-31-2013, 01:18 PM | #99 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: Kobo Mini
|
After a frustrating several minutes of the weather app not working, I went back and read that pygame is broken with firmware >=2.6 which my brand-new Kobo Mini happily updated to immediately after connecting it to wifi.
Has there been any progress on getting pygame working with the newer firmwares? FWIW, when I ./weather.sh it just stops. No errors, no messages (other than the set your location), nothing. |
07-31-2013, 01:34 PM | #100 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
|
|
08-28-2013, 12:04 AM | #101 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2012
Device: kobo wifi
|
It looks like something changed at weather.gov which broke the script that I was using. Luckily for me, I see that there's a newer version of the script that already uses a different source for weather data.
I had customized my display a lot so I had to migrate the changes over, but it worked out and all is well. Thanks again for sharing your great work. |
08-28-2013, 11:06 AM | #102 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Yeah, weather.gov changed their API so my old script doesn't work anymore.
|
09-21-2013, 10:09 PM | #103 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2007
Device: PRS-500
|
need help with my kobo.
Hi gang,
I had mine working for so long that when it stopped working i had no ideia what was going on. what exactly changed, where can I get the new script and how can I install?? thanks in advance PC |
09-22-2013, 02:54 PM | #104 | ||
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Quote:
|
||
09-27-2013, 03:14 AM | #105 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2013
Device: Kobo Mini
|
Quote:
@Kevin: I could only try Mini and Touch and don't know if the wifi works as well. The only possibly difference might be the way the eink must be updated. I couldn't use your binary for my mini and touch but created my own (full_update). Maybe you have a minute to try full_update on your Wifi? |
|
Tags |
hacking, kobo wifi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odd; Kobo-purchased book reads fine on Desktop, WiFi and Sony -but not on Kobo Touch. | beautifulsoup | Kobo Reader | 4 | 07-17-2012 10:29 AM |
Kobo Touch in cold weather | Judsuw | General Discussions | 15 | 06-02-2012 07:23 PM |
Sync epubs between Kobo app and Kobo wifi? | emilikins | Kobo Reader | 1 | 11-17-2011 05:12 PM |
Kobo Desktop App v1.7 onboard Kobo WiFi | ZombWii | Kobo Reader | 6 | 10-20-2010 01:24 PM |
Forrester upgrades sales forecast by 50% | xoox | News | 0 | 10-10-2009 05:11 AM |