![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
Use Wi-Fi to turn pages on Kobo device.
I followed the concept of KoboCloud to create a project named KoboPageTurner. You could use Wi-Fi to turn pages on your Kobo devices.
Source Code https://github.com/tylpk1216/KoboPageTurner Usage
|
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Interesting!
![]() (Though, for me I don't see where I could apply this!) |
![]() |
![]() |
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So how does this work without Android?
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
We need send HTTP API to Kobo device to turn pages. We can send HTTP API on Windows, Linux, Android, and so on.
Finally, I want to try it on ESP8266 development board. https://en.wikipedia.org/wiki/ESP8266 |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Neat little idea. As it stands though, it probably isn't going to work properly on many Kobo's however. Mainly because of the touch events.
Different devices have different touch "protocols" (basically, sequence of events). So, ideally you need to account for that. If that isn't annoying enough, touchscreen orientation in relation to the framebuffer differs on a device basis. And then what happens when the user has a Forma or Libra, and reads in landscape... |
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Try injecting keyboard events for the arrow keys to /dev/input/event1 (IIRC; it might be a different number). This should work on all devices.
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
Quote:
I have a config file named "koboserver.cfg". It can be adjusted for some settings. eventFile=/dev/input/event1 leftX=800 leftY=500 rightX=100 rightY=500 However, I can not handle orientation now. I also spent a lot of days to keep Wi-Fi on. It is a big problem too. Even I adjusted "ForceWiFiOn" in my code dynami, The Wi-Fi's behavior is still not stable. |
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
Quote:
https://apps.apple.com/us/app/action...r/id1400036021 If I have the running log, I can check whether we should modify settings or not. The KoboPageTurner has some settings to adjust. eventFile=/dev/input/event1 leftX=800 leftY=500 rightX=100 rightY=500 |
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Turn pages by voice | Ecallan | Kobo Developer's Corner | 43 | 08-25-2021 10:07 AM |
Auto turn pages | maac2212 | Kindle Developer's Corner | 3 | 05-19-2016 08:19 AM |
Kobo Touch will not turn pages | eddie19 | Kobo Reader | 1 | 03-26-2012 10:54 AM |
pages won't turn | MSMYTH | Nook Color & Nook Tablet | 1 | 05-14-2011 07:03 PM |
cannot turn pages back | Orfax | PocketBook | 2 | 07-19-2010 05:35 AM |