Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-13-2019, 03:27 PM   #1
brunolalb
Junior Member
brunolalb doesn't litterbrunolalb doesn't litter
 
Posts: 1
Karma: 138
Join Date: Apr 2019
Device: Kobo Glo
YAWK - Yet Another Weather app for Kobo

Application on Github: https://github.com/brunolalb/yawk



Based on Kevin Short's app (https://www.mobileread.com/forums/sh...d.php?t=194376)

Running on Python's distribution from NiLuJe (https://www.mobileread.com/forums/sh...d.php?t=254214)

Using the excellent library FBInk from NiLuJe (https://github.com/NiLuJe/py-fbink)

Uses Open Weather Maps as forecast and current conditions provider (https://openweathermap.org/)

Everything was tested on a Kobo Glo using the firmware 4.13.12638 (https://en.wikipedia.org/wiki/Kobo_Glo)

Disclaimer
The procedure I'm suggesting here will most likely void the warranty.

Follow the guidelines at your own risk, I'm not responsible for any problems that might arise from this app's usage.

Installation
  1. I suggest you Reset your device to factory defaults:
    1. Turn it off
    2. Holding the Light Switch, slide the power button for ~1 sec
    3. Hold the Light switch until the "Restoring" screen appears
    4. Follow directions on the screen (you'll need the Kobo Setup app and an account, I used from RakutenKobo itself)
    5. Update everything, connect to your WiFi network
  2. Provide telnet access - you can skip this step if you're able to find out the IP address of the device using some other method.
    1. Check the file .kobo/ip.txt for the IP address
  3. Install NiLuJe's Stuff - tested with Version 1.5.N @ r15719 on 2019-Apr-06 @ 07:25
  4. Using the preferred FTP client (ie: WinSCP), copy the repository's content to the folder /mnt/onboard/.apps/yawk
  5. Create an account in Open Weather Maps:
    1. Take note of your API key
    2. Find out the ID your city (use the website to check the weather in your city, copy the ID from the URL)
  6. Open a SSH (or telnet) connection (user: root, password blank), navigate to /mnt/onboard/.apps/yawk/ and run install.sh
    1. if it says "-sh ./install.sh: not found", you have to convert the line endings to unix style:
      sed -i 's/^M$//' install.sh
    2. Answer the questions correctly

Doubts, suggestions
brunolalb@gmail.com

Last edited by brunolalb; 04-14-2019 at 08:47 AM.
brunolalb is offline   Reply With Quote
Old 04-13-2019, 03:47 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,091
Karma: 14689622
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Glad to see Pillow + FBInk being used for something .
NiLuJe is offline   Reply With Quote
Advert
Old 04-14-2019, 09:08 AM   #3
lohtse
Groupie
lohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exercise
 
lohtse's Avatar
 
Posts: 164
Karma: 38050
Join Date: Oct 2013
Location: Anywhere I am sent!!!
Device: Kobo Touch
so wish there was a simplier method to install all this and run it....
lohtse is offline   Reply With Quote
Old 07-17-2019, 12:58 PM   #4
Mavireck
Enthusiast
Mavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a Texan
 
Posts: 40
Karma: 18230
Join Date: Jul 2016
Location: Somewhere in France
Device: Kobo Mini, Kobo H20 v1
Hey brunolalb !
I was wondering about a few things on your weather app...
1/ Seeing how it was made, I guess that after the installation, it automatically boots on your app, and you can no longer boot nickel ? Do you provide an uninstallation script ?
2/ Would it be possible then to adapt you script so that it boots only if there a certain file on the SD Card for instance, so that we can just remove the SD Card when we want to use the reader to read ebooks ?
3/ Or how hard would be an integration with KoboStartMenu ?

I am very interested in adapting your app for a personal project I had abandoned a few years ago due to the lack of tools (thanks NiLuJe for your work too !)
Mavireck is offline   Reply With Quote
Old 07-17-2019, 04:14 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,091
Karma: 14689622
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
You could theoretically write a wrapper launch script that you could use either via KFMon or KSM.

See KOReader or Plato's launch scripts for a few examples that handle both (and will kill Nickel if needed).
NiLuJe is offline   Reply With Quote
Advert
Reply

Tags
glo, kobo, python, weather app

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help trying to run this java app (Calendar, notepad, weather...) ItalianUruguayan Kobo Developer's Corner 8 04-14-2018 05:27 PM
Weather web app for Pocketbook transient PocketBook 0 05-24-2015 01:16 PM
kobo weather app useruseruser Kobo Developer's Corner 1 03-11-2014 07:23 AM
Weather App for IQ 701 symonray PocketBook 1 12-05-2010 05:28 AM


All times are GMT -4. The time now is 09:31 AM.


MobileRead.com is a privately owned, operated and funded community.