Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2023, 02:06 PM   #16
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 171
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by sublipri View Post
A hardware implementation like that would indeed remove the need for a smartphone to trigger the requests. Unfortunately I can't provide much information about how to build one - it's not something I've done myself. It would require soldering and experience with DIY electronics. Probably only an option if you're open to doing lots of tinkering. I couldn't find any good tutorials, but this project looks promising if anyone wants to try building something similar:



https://github.com/mcer12/Hugo-ESP8266/



This looks simpler but only has one button:



https://randomnerdtutorials.com/esp8...-button-clone/



For hardware control, an easier option could be to use a bluetooth remote with the Android app from KoboPageTurner. I tried it with a bluetooth gamepad and it seemed to work well. I couldn't find anything similar that would work with iOS, but there might be something out there.



There are also some pre-made smart buttons such as Flic, but I'm not sure how good the latency/battery life would be for something like page turning.
I made it work with a Python demon in my computer which listened for Bluetooth events from my Bose headset and sent http requests to the Kobo web server, but to be honest it was a hassle. I prefer this solution using the phone since I set the phone as hotspot and use it. Simple stuff. Just tap the screen to switch pages.

Sent from my 22081212UG using Tapatalk
jospalau is offline   Reply With Quote
Old 08-15-2023, 07:44 PM   #17
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
Hardware implementation is even easier: one small device doing all the job (including hot spot) and, most importantly, two physical buttons! I will try to build it.
CyberPaul is offline   Reply With Quote
Advert
Old 08-15-2023, 10:26 PM   #18
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
Quote:
Originally Posted by jospalau View Post
I made it work with a Python demon in my computer which listened for Bluetooth events from my Bose headset and sent http requests to the Kobo web server, but to be honest it was a hassle. I prefer this solution using the phone since I set the phone as hotspot and use it. Simple stuff. Just tap the screen to switch pages.
That's cool! It actually hadn't occured to me that you could use your phone as a hotspot to use it away from home. I'd thought about doing something similar with a Python daemon but like you found using a phone to be simplest.

Quote:
Originally Posted by CyberPaul View Post
Hardware implementation is even easier: one small device doing all the job (including hot spot) and, most importantly, two physical buttons! I will try to build it.
I'll be interested to hear how you go! I think the examples I linked require an existing Wi-Fi network rather than acting as an access point, so you'd have to modify the code if you wanted it to act as a hotspot. I found a similar project for a Kindle that has code (under step 8) for running an ESP8266 as an access point:

https://www.instructables.com/Kindle...te-Footswitch/

FWIW when using the phone as a page turner I find it works quite well to have the phone resting horizontally in your lap or to the side. Since it's just two big buttons on the screen it's fairly easy to tap the right area without ever having to look at the screen. Not as nice as the tactile sensation of a physical button but I imagine it would work well enough for most people's needs.
sublipri is offline   Reply With Quote
Old 08-16-2023, 03:54 AM   #19
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
Quote:
Originally Posted by sublipri View Post
I'll be interested to hear how you go! I think the examples I linked require an existing Wi-Fi network rather than acting as an access point, so you'd have to modify the code if you wanted it to act as a hotspot.
I was referring to this: https://github.com/tylpk1216/KoboPageTurner
Please see this video: https://www.youtube.com/watch?v=8eDnytdLSRc&t=22s
You can easily recognize that the author is connecting to the device as an access point (KoboPageTurner)!
Please also check the Arduino source here:
https://github.com/tylpk1216/KoboPag...tAP_No_OTA.ino

Last edited by CyberPaul; 08-16-2023 at 04:02 AM.
CyberPaul is offline   Reply With Quote
Old 08-16-2023, 04:14 AM   #20
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
Quote:
Originally Posted by CyberPaul View Post
I was referring to this...
Ah right sorry I misunderstood. Thought you were looking for more general information about how to put the hardware together. I'd noticed the arduino source but hadn't looked at it enough to understand it.
sublipri is offline   Reply With Quote
Advert
Old 08-16-2023, 04:52 AM   #21
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
No worries
I think that if I build that device it should work with your server because you used same endpoints, right?
I have one request if I may: would it be possible to disable wifi after a configurable time period? If I read before sleep, I can fall asleep without disabling it and the battery will drain quickly.

Last edited by CyberPaul; 08-16-2023 at 04:56 AM.
CyberPaul is offline   Reply With Quote
Old 08-16-2023, 05:44 AM   #22
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
I think it's not a big deal after all... when the kobo goes to standby the wifi gets disconnected anyway.
CyberPaul is offline   Reply With Quote
Old 08-16-2023, 07:40 AM   #23
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
Yeah it should just work without modification since I've used the same /left and /right endpoints for page turning. The /exit endpoint won't do anything since I thought a NickelMenu integration was a better solution for stopping the server.

Like you say, battery drain shouldn't be a big deal if the Kobo is set to sleep automatically. I was having issues where my Sage would occasionally go flat overnight despite being asleep, but it hasn't happened since I upgraded the firmware recently. I'm not sure if it was related to the server running.
sublipri is offline   Reply With Quote
Old 08-16-2023, 12:25 PM   #24
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
wouldn't be a good idea to implement the /exit endpoint anyway? Stopping the server "remotely" is still a good option.
CyberPaul is offline   Reply With Quote
Old 08-16-2023, 08:55 PM   #25
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
I could add it as an option if there's enough demand. It'd be disabled by default though to minimize the potential for pranks by family members/roommates. Currently it's possible for a user to implement their own /exit endpoint by recording a custom action that navigates back to the home screen and selects the NickelMenu entry.
sublipri is offline   Reply With Quote
Old 08-17-2023, 10:52 AM   #26
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
I have tested the hardware solution based on ESP8266 (ESP-12S) with your code and it was not working. Thanks to your troubleshooting feature I understood why... your endpoints are not exactly the same as ylpk1216's implementation
Your server on kobo expects /left/ and /right/, while the original implementation is expecting /left and /right. I modified the "ino" code to generate the expected endpoints and it works! If you agree I would suggest to fix it in order to keep it compatible.

Last edited by CyberPaul; 08-17-2023 at 10:55 AM.
CyberPaul is offline   Reply With Quote
Old 08-17-2023, 09:16 PM   #27
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
Thanks for testing! That's a pity it didn't work like I thought but glad you got it working. The problem is due to the (very hacky) way I'm working around the limitations of the BusyBox HTTP server. It redirects /left to /left/ which works fine in a browser or modern app, but I guess the code for the ESP doesn't handle redirects. I agree it should be fixed, but unfortunately I don't think it's possible with how things work currently. I'm hoping to spend some time soon learning Rust so I can re-write the backend in a less hacky way. If I can do that then it'll be easy to make /left and /right work without redirects.
sublipri is offline   Reply With Quote
Old 08-27-2023, 05:53 AM   #28
CyberPaul
Groupie
CyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheeseCyberPaul can extract oil from cheese
 
CyberPaul's Avatar
 
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
I did it!
  • Next/Previous top buttons
  • Bookmark (simultaneous pressure)
  • Side power button
  • Status leds for battery level (red) and events (blue)
  • Upgradable software (micro-usb)
  • 1100mAH rechargeable battery (usb-c)
  • Timed standby upon disconnect (1min)/idle (15min)
  • Lanyard hole
  • No smartphone required!
  • 3d printed box with UV resin coating finish
  • 39x56x17-23mm - 44g
Attached Thumbnails
Click image for larger version

Name:	IMG_1594.jpg
Views:	100
Size:	679.2 KB
ID:	203376   Click image for larger version

Name:	IMG_1597.jpeg
Views:	71
Size:	1.43 MB
ID:	203377   Click image for larger version

Name:	IMG_1598.jpg
Views:	59
Size:	645.4 KB
ID:	203378   Click image for larger version

Name:	IMG_1599.jpg
Views:	57
Size:	675.4 KB
ID:	203379   Click image for larger version

Name:	IMG_1604.jpg
Views:	49
Size:	620.1 KB
ID:	203380  

Last edited by CyberPaul; 08-27-2023 at 11:32 AM.
CyberPaul is offline   Reply With Quote
Old 08-27-2023, 06:45 PM   #29
sublipri
Member
sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.sublipri can self-interpret dreams as they happen.
 
Posts: 24
Karma: 20342
Join Date: Jul 2023
Device: Kobo Glo, Kobo Sage
That's so cool! I'll be interested to know what the battery life is like.
sublipri is offline   Reply With Quote
Old 11-29-2023, 11:55 AM   #30
stupdude2
Member
stupdude2 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Clara HD
I installed the Kobo Wifi Remote Control on my H2O, and it is a game-changer! I even managed to set it up with Tasker to work seamlessly with my Amazfit Bip – talk about convenience!

However, it seems the wifi tends to disconnect regularly, which is a bit frustrating. I was wondering if anyone has experienced a similar issue or has any tips on how to address this.

Specifically, I'm curious if there's a way to disable wifi timeout or make the wifi connection more consistent. I want to ensure that my reading experience remains uninterrupted.

Thank you.

Edit: I found this thread describing how to enable devmode and check Force Wifi On: https://www.mobileread.com/forums/sh....php?p=4239327. I'm going to try that and see.

Last edited by stupdude2; 11-29-2023 at 04:19 PM. Reason: Found a solution
stupdude2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New remote page turner gunnm Amazon Kindle 1 09-10-2023 10:56 AM
Remote Page Turner Prototype cosine Kindle Developer's Corner 14 09-10-2021 06:48 AM
Anyone know of a good remote page turner frankrec Kobo Reader 11 06-30-2019 03:43 PM
Remote control Page turn on Kobo? drjd Kobo Developer's Corner 7 02-27-2017 04:11 AM
Remote page turner using simulated touch aconicq1 Kindle Developer's Corner 1 10-15-2016 08:17 AM


All times are GMT -4. The time now is 07:39 AM.


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