View Single Post
Old 03-20-2024, 07:27 PM   #3
centr5
Junior Member
centr5 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2022
Location: Ukraine
Device: KV, KOA2
Smile

hius07, thank you very much. This is exactly what is needed.

I will also answer my first message, maybe it will be useful to someone. First, enable the HTTP inspector in the settings or if your touchscreen does not work like mine, then set it to autorun in the config (mnt/us/koreader/settings.reader.lua)

Code:
    ["httpinspector_autostart"] = true,
    ["httpinspector_port"] = 8080,
Now launch the KOReader and you can start

Change the book through the SSH
Code:
curl "localhost:8080/koreader/ui/switchDocument?/'path to book'" > /dev/null 2>&1
Exit from the KOReader
Code:
curl localhost:8080/koreader/event/Exit > /dev/null 2>&1
Or you can do it all through the browser. More events (changing brightness, font, night mode, turning pages and much more) are available at the link
Code:
http://kindle_local_ip:8080/koreader/event/
centr5 is offline   Reply With Quote