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

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2017, 10:55 PM   #1
Midwinter
Junior Member
Midwinter began at the beginning.
 
Midwinter's Avatar
 
Posts: 5
Karma: 10
Join Date: Dec 2017
Location: Winnipeg, MB
Device: Kobo
Remote settings change

Is there any existing way to remotely change settings, specifically night mode and brightness?

Might seem like a weird request, but my use case is to integrate with the Home Assistant project and be able to change the brightness and turn night mode on in an automation/scene.

I didn't see anything like it anywhere that seemed to indicate that the functionality existed already, but I just thought I'd check
Midwinter is offline   Reply With Quote
Old 12-21-2017, 09:12 AM   #2
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,266
Karma: 6221270
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
I guess you are looking for a wireless/ WiFi ssh approach. You would need to have the Kobo device on and its WiFi active properly active to have that work. (Not something I've done, though I have meant to try it someday.)

Luck;
Ken
Ken Maltby is online now   Reply With Quote
Old 12-21-2017, 01:29 PM   #3
Midwinter
Junior Member
Midwinter began at the beginning.
 
Midwinter's Avatar
 
Posts: 5
Karma: 10
Join Date: Dec 2017
Location: Winnipeg, MB
Device: Kobo
Interesting, thanks Ken! Maybe I'll try writing a plugin when I've got some spare time. I don't think the change would need to be reflected instantly, perhaps the next state change.

The approach I think I might implement would basically consist of a user configurable single external endpoint and on page-turn it would trigger an async POST within KOReader (with a device UID and maybe some useful statistics like current book title, progress stats etc if the users endpoint wanted to use it for something) and the endpoint could return a response with some JSON that would get validated by the plugin and change the appropriate setting
Midwinter is offline   Reply With Quote
Old 12-22-2017, 05:30 AM   #4
Frenzie
Evangelist
Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.Frenzie knows the difference between a duck.
 
Posts: 450
Karma: 111542
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Btw, just in case you could do a quick search for Kobo in general.

But yes, a plugin like you describe should be simple enough.

Here are some of the frontlight control functions.

Here is the night mode switch.

Here is the BackgroundRunner plugin you could use to execute the POST.
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic change default settings gianni_1 Conversion 2 06-19-2016 10:16 AM
T1 - Can not change Firmware (downgrade) nor root, settings not persistant jread Sony Reader 2 08-04-2014 03:17 PM
Any way to change Library settings? Serena enTourage eDGe 4 06-08-2011 08:14 AM
ebook-convert: change settings from command line miwie Calibre 1 11-30-2010 02:05 PM
Change Settings on Unregistered K2 javijavier Amazon Kindle 3 05-12-2009 03:31 AM


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


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