10-24-2012, 02:44 PM | #16 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Code:
./newtrix & while true; do /mnt/onboard/.python/eink_update.sh; done didn't do a full refresh every time. ) |
|
10-24-2012, 05:22 PM | #17 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo wifi
|
Quote:
|
|
Advert | |
|
10-24-2012, 05:47 PM | #18 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo wifi
|
Dunno whether this helps. If I do something like:
Code:
[root@(none) platform]# echo DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD > /dev/fb0 [root@(none) platform]# /mnt/onboard/.python/eink_update.sh 2048+0 records in |
10-25-2012, 11:04 AM | #19 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Someone has offered me access to their Wifi with a 4-bit framebuffer, so I'll be playing with that. If I figure anything out, I'll post again here. |
|
10-29-2012, 01:53 PM | #20 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2012
Device: Kobo Wi-Fi
|
KevinShort has done it again, by using a raw image format, and
cat img.raw | /usr/local/Kobo/pickel showpic we are able to update to the display of a 4 bit screen on a kobo wifi. |
Advert | |
|
10-29-2012, 03:24 PM | #21 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I've updated the first post with a link to the new weather app, and it should work on both
4-bit and 8-bit displays. For anyone who's interested, here's the technical explanation. Spoiler:
Last edited by KevinShort; 11-03-2012 at 12:49 PM. |
11-02-2012, 09:46 AM | #22 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2012
Device: Sony PRS-505 and Kobo WiFi
|
Hooray - 4-bit support! Boo - I'm getting a *new* error now!
Installing the new version, setting my location and running weather.sh gets me the following: Kobo Wifi weather forecast started. Getting weather information . . . Creating image . . . list index out of range Failed to fetch weather data. The contents of the location file is as follows: 53.795984 -1.759398 Which is latitude and longitude for Bradford, West Yorkshire, UK. I tried setting it to New York - 40.7143528, -74.0059731 - just in case it only worked with US addresses, but still no joy - same error. Any idea what might be causing *this* problem? |
11-02-2012, 10:31 AM | #23 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Hmm, I think that it does only work with US addresses. I tried setting my location file to
your location, and I can confirm that it does not work. However, New York should work... I'll try to find a weather service that works globally and edit my script to use that. Edit: I've updated the script, it should now work globally. I also added an option to use either Celsius or Fahrenheit for the temperature. Last edited by KevinShort; 11-02-2012 at 02:15 PM. |
11-03-2012, 11:57 AM | #24 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2012
Device: kobo wifi
|
LEGEND! Confirmed working on my 4-bit Kobo
I saw this a couple of days ago but didn't have a chance to try it - kudos for international options too. cheers |
11-03-2012, 02:22 PM | #25 |
Avid reader
Posts: 868
Karma: 6399168
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite / TCL Nxtpaper 14
|
Has anyone got this working on a Kobo touch? I'm thinking about buying one second hand for this and think it looks a sleeker device without the D-pad and buttons.
Andrew |
11-03-2012, 03:43 PM | #26 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Andrew: I don't know if anyone has it working on the Kobo Touch, but I could get it to work pretty
easily. Back when I had a Touch, I had it running Tetris, so there's no doubt I could get this weather display to work on the Touch as well. If anyone wants it, I could upload a version of the weather app specifically for the Kobo Touch. I won't be able to test it, since I don't have a Touch, but it should only require changing a few lines of code. Last edited by KevinShort; 11-03-2012 at 03:48 PM. |
11-03-2012, 05:52 PM | #27 | |
Avid reader
Posts: 868
Karma: 6399168
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite / TCL Nxtpaper 14
|
Quote:
If it's just a couple of changes, post them here and I'll pop out tomorrow, buy one and give it a go... Andrew |
|
11-03-2012, 10:05 PM | #28 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I don't have a one-step telnet installer for the Touch, but the steps aren't hard. There are
instructions on the Wiki. If you have any trouble, just send me a message. Quote:
You'll probably need to stop the Kobo's GUI before you run the weather app: Code:
killall nickel Last edited by KevinShort; 11-04-2012 at 03:23 PM. |
|
11-04-2012, 01:01 PM | #29 | |
Avid reader
Posts: 868
Karma: 6399168
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite / TCL Nxtpaper 14
|
Quote:
Thanks for your help with this - nearly there... Ah, now it's downloaded - either you're quick off the mark or it was a fluke the first time. Now to see if it works! Andrew |
|
11-04-2012, 01:42 PM | #30 |
Avid reader
Posts: 868
Karma: 6399168
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy Z Flip 4 / Kindle Paperwhite / TCL Nxtpaper 14
|
Darn, fallen at the same hurdle as someone earlier (can't load font file). Here's a dump of what happens - I'm going to give it a rest for now and come back to it later.
Code:
[root@(none) koboWeather]# ls -la total 624 drwxr-xr-x 3 root root 4096 Nov 4 17:14 . drwxr-xr-x 3 root root 4096 Nov 4 17:07 .. -rwxr-xr-x 1 root root 97908 Mar 21 2011 Cabin-Regular.ttf -rwxr-xr-x 1 root root 169096 Jan 2 2012 Comfortaa-Regular.ttf -rwxr-xr-x 1 root root 16312 May 1 2011 Fabrica.otf -rwxr-xr-x 1 root root 303316 Oct 16 19:06 Forum-Regular.ttf -rwxr-xr-x 1 root root 391 Oct 20 00:07 autoupdate.sh -rwxr-xr-x 1 root root 42 Oct 19 17:22 cron drwxr-xr-x 2 root root 4096 Nov 4 17:07 icons -rwxr-xr-x 1 root root 12 Nov 4 17:14 location -rwxr-xr-x 1 root root 361 Oct 19 19:40 set_location.sh -rwxr-xr-x 1 root root 2 Nov 2 14:52 unit.txt -rwxr-xr-x 1 root root 12125 Nov 3 22:19 weather.py [root@(none) koboWeather]# cat location 52.02 -0.75 [root@(none) koboWeather]# python weather.py Kobo Wifi weather forecast started. Getting weather information . . . Creating image . . . init kbd. init mouse failed. Traceback (most recent call last): File "weather.py", line 369, in get_weather_data() File "weather.py", line 108, in get_weather_data display(days, highs, lows, conditions, img_links, unit) File "weather.py", line 127, in display tiny_font = pygame.font.Font("Cabin-Regular.ttf", 18) RuntimeError: Couldn't load font file [root@(none) koboWeather]# Andrew |
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 |