12-20-2017, 10:55 PM | #1 |
Junior Member
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 |
12-21-2017, 09:12 AM | #2 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, 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 |
Advert | |
|
12-21-2017, 01:29 PM | #3 |
Junior Member
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 |
12-22-2017, 05:30 AM | #4 |
Wizard
Posts: 1,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
|
|
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 |