View Single Post
Old 11-05-2025, 05:06 AM   #4
oleasteo
Member
oleasteo began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2025
Location: Germany
Device: Kindle Oasis, Kobo Aura
Quote:
Originally Posted by Clebbel View Post
Hi, I'm just wondering how easy/difficult it would be to add a time feature to this pin lock?

For example I am trying to have a lock that kicks my kids off at bedtime and then unlocks in the morning. I have another plugin that works on Jailbroken Kindle running KOreader, but it doesn't seem to operate the same on the Kobo.

thanks
I would outline it like this:

1. This plugin could expose actions to fully disable (and immediately unlock) / enable (and immediately lock).
2. Another plugin could be made to trigger any actions on configured times.

The first step would be pretty easy for me to do. Currently, the "Lock screen" action exists.

For the extra plugin, I think koreader-break-timer is a great place to start, as it has a "bed time" feature. For a quick solution, one would probably just need to replace the message box with dispatching the actions of our plugin instead and remove all the unrelated code.

So, altogether, I don't think it's that big of a task to get to a working solution.
Are you somewhat familiar with writing code yourself? I could provide the necessary actions, but for the other task, that's out of my priorities right now.
oleasteo is offline   Reply With Quote