![]() |
#46 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
weather display. The problem is that wifi is on all the time. If I could find a way to turn off wifi and then turn it on only once every hour when the forecast updates then the Kobo would last MUCH longer before running out of power. I really need to enable USB networking on my Kobo Wifi so I can more easily look into starting and stopping the wifi connection, but I just got a Glo, so my Wifi might get left behind. ![]() |
|
![]() |
![]() |
![]() |
#47 |
Enthusiast
![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
|
Maybe this thread https://www.mobileread.com/forums/sho...d.php?t=195514 can give you some hints. I am not sure, but if you would killall wpa_supplicant, the Wifi should be disabled. Additionally you could remove the wifi kernel module. On my Kobo touch I can do this by rmmod ar6000.ko (lsmod will list you all modules).
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Yes, that thread looks like it has some good information. When I get some time I'll see what I can do.
|
![]() |
![]() |
![]() |
#49 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2003
Location: Ireland
Device: Pocket PC
|
Kobo Framed
Hi Kevin
This is a super hack. I bought a cheap Ikea ribba frame and mounted the Kobo wifi in the frame with a new mount to fit the screen size of the Kobo. I took off the front bezel of the Kobo to allow it to fit flush with the mount. I modified a mini usb connector and chiseled out some of the frame to connect a power cord. You can see a tiny twisted white wire on the left of the image that carries the power to the Kobo. |
![]() |
![]() |
![]() |
#50 | |
Avid reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 845
Karma: 6377682
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite
|
Quote:
Andrew |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
|
|
![]() |
![]() |
![]() |
#52 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Nov 2012
Device: Kobo Clara HD
|
Hey Kevin, I'm trying out your script on my Kobo Mini.
It installs fine but eventually hangs. Code:
[root@(none) koboWeather]# /mnt/onboard/.python/weather.sh For the weather forecast to work, please enter your latitude and longitude. There is an easy to use map at http://stereopsis.com/flux/map.html Enter your latitude: [redacted] Enter your longitude: [redacted] Just a moment . . . Kobo Wifi weather forecast started. Getting weather information . . . Creating image . . . init kbd. init mouse failed. it seems I have a 16 bit frame buffer, as per fbset Code:
[root@(none) /]# fbset mode "800x600-0" # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz geometry 800 600 800 1280 16 timings 0 0 0 0 0 0 0 accel false rgba 5/11,6/5,5/0,0/0 endmode |
![]() |
![]() |
![]() |
#53 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
the script? Nickel and pygame don't play very nicely together. ![]() If you press CTRL+C when pygame hangs you can get it to run alongside nickel, but that won't work if you want to start the script via the plugin interface. |
|
![]() |
![]() |
![]() |
#54 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Nov 2012
Device: Kobo Clara HD
|
Indeed, I didn't stop the Kobo GUI. It works now but with a lot of ghosting from whatever image was displayed before.
How can I go back to the Kobo GUI after that? Is there a “cleaner” way to run it than removing the back cover and pressing reset? i.e. have it the Extras like the Browser etc? Last edited by hecq; 11-25-2012 at 02:18 PM. |
![]() |
![]() |
![]() |
#55 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2003
Location: Ireland
Device: Pocket PC
|
I have a question about changing the source of the weather data. How difficult is that?
The reason I ask is because the accuracy of the data where I live in Dublin is not very good. Today for example it was sunny until about noon, then started to rain and has rained heavily for about six eight hours now. The forecast still says sunny even though it's updating hourly. I went to worldweatheronline and looked up my location on the map. When I click on the location, the popular shows sunny, but the next line mentions heavy rain and when I click on the detailed forecast, it's actually very accurate. It seems that the summarized data does not update frequently, but the detailed forecast data does. Is it possible to have the app use the more accurate data? Thanks |
![]() |
![]() |
![]() |
#56 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
To start the weather script from the Kobo GUI, you can use the plugin interface. I'm considering editing the weather script to check if the power slider is pulled, and if so restart the device. Quote:
so I'm not getting all the information that they have. I'm not very happy with their service right now, so when I get some time I'm planning on looking around for a different free weather service. |
||
![]() |
![]() |
![]() |
#57 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
What about accuweather? I'm using the Firefox plugin 'Forecastfox' and there's also a service to embed weather data in a homepage: http://netweather.accuweather.com/ - Unfortunately they don't have a free API like worldweatheronline. But the source code of 'Forecastfox' provides a lot of infos how to fetch weather data. The only problem could be to set the appropriate city code (cityId).
Here you get an XML, containing current weather in New York, whereby the argument langId=1 stands for English language, 9 for German (partially bad spelling) and so on. And here the Forecast for New York. - But I'm not sure whether one should use this data for an own application ... |
![]() |
![]() |
![]() |
#58 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Hmm, accuweather might work. I have used a desktop weather script that
fetched data from accuweather, and it was quite accurate. As you said, the city code could be a problem, but I'll look into it. Thanks for the suggestion! |
![]() |
![]() |
![]() |
#59 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Hello, I'm very impressed with this hack. A weather app is a perfect use of the Kobo WiFi since it can refresh through the network. Unfortunately I personnally own a 1st gen Kobo (without WiFi)..
I was thinking to transform my Kobo 1st gen to a perpetual calendar, for my grandmum suffering from Alzheimer's. This would not need any connectivity to show the date and time, name of the day, maybe season. Would it be theoratically possible to hack the Kobo 1st gen with the same principles used here? Of course a telnet/FTP access would be out of question, but pushing a tarball could be done. I'm guessing if a python script was developped using a Kobo WiFi (for testing) it could eventually be pushed and run on a Kobo 1st gen? Thanks for any feedback! |
![]() |
![]() |
![]() |
#60 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Hi, mougino, I think that your idea sounds doable. I don't have a 1st gen Kobo
myself, but the chances are pretty good that it could be hacked like the Wifi. Does the 1st gen Kobo boot from an internal SD card? Hacking obviously has potential risks, such as bricking your device, and It'd be much safer if you made a backup of the internal SD card if you can. |
![]() |
![]() |
![]() |
Tags |
hacking, kobo wifi |
|
![]() |
||||
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 09:29 AM |
Kobo Touch in cold weather | Judsuw | General Discussions | 15 | 06-02-2012 06:23 PM |
Sync epubs between Kobo app and Kobo wifi? | emilikins | Kobo Reader | 1 | 11-17-2011 04:12 PM |
Kobo Desktop App v1.7 onboard Kobo WiFi | ZombWii | Kobo Reader | 6 | 10-20-2010 12:24 PM |
Forrester upgrades sales forecast by 50% | xoox | News | 0 | 10-10-2009 04:11 AM |