![]() |
#1 |
Member
![]() Posts: 12
Karma: 60
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
![]()
Hey there! I've put together a little plugin to mimic airplane mode in koreader. I rarely take koreader out of the house, but when I do it's a mad button dash to remember what all needs to be disabled so koreader doesn't lock up trying to reconnect to my home network. I tried to use the profiles plugin, but the use case didn't quite fit what profiles was designed for.
What It Does Enabling AirPlane mode turns off wifi, sets all of the default wifi settings to their most conservative options (off, prompt, etc.), and disables plugins that use networking. There is a default list of plugins included by default, but there is also a menu that will let you browse all active plugins and mark them so they will disable while AirPlane is active. When you disable, network settings and plugin management should return to the previous, pre-AirPlane state. Repository, tarball, and zip with the initial alpha can be found here: https://github.com/kodermike/airplanemode.koplugin Tested with: * the koreader emulator (of course) * Kobo Clara * Kobo Clara2E * Kobo Forma * Kobo Libra Color * Kindle PW 2 I know it's a kobo heavy list, but it's what I had on hand while testing. ![]() Last edited by kodermike; 05-27-2025 at 12:57 AM. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Sep 2020
Device: Kindle Oasis 3
|
Stupid question, but how is this different than simply unchecking the "Wi-Fi connection" checkbox?
|
![]() |
![]() |
![]() |
#3 | |
Digital Grenadier
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 1500000
Join Date: Jan 2024
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 12
Karma: 60
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
Quote:
I wrote this plugin not only turns off wireless but sets everything to prompting, as well as disabling plugins that use wifi to avoid the request. In road testing, wikipedia tried to connect, but because of the disabled settings, was easily exited without trying to connect. Writing up the initial post, I realized I should work on being able to specify which plugins you want disabled so you can disable other plugins that I don't know about (or didn't think about, like the hardcover plugin). |
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Sep 2020
Device: Kindle Oasis 3
|
Gotcha! Thanks for the explanation!
|
![]() |
![]() |
![]() |
#6 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 15120
Join Date: May 2010
Device: Kobo Clara 2e
|
I'll also be adding support for the airplanemode global setting to the hardcover plugin 👍
Last edited by Billiam; 05-09-2025 at 02:38 PM. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 12
Karma: 60
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
Just a quick update - v.0.0.1 is up. Releases and instructions can be found in the usual place, i.e. https://github.com/kodermike/airplanemode.koplugin
This release adds the ability to manage which plugins are included as disabled while you're in AirPlane mode. Next up is to address a bug that seems to be Kindle specific, hopefully that will be fixed relatively soon. Let me know if you have any questions, thanks! |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2025
Device: Kobo Libra Colour and Kindle PW Sign 11th
|
Nice plugin! I came from reddit after you mentioned it on my post. Thanks so much for your work here!
|
![]() |
![]() |
![]() |
#9 | |
Member
![]() Posts: 12
Karma: 60
Join Date: Dec 2024
Location: PNW, US
Device: kobo
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,162
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
|
(Looking at the code)
Are the plugins settings saved when enabling the Airplane mode? For example, create a new profile and enable the Airplane mode (with restart). Was the new profile saved? |
![]() |
![]() |
![]() |
Tags |
plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOA3 Prompting Me to Update Despite Being in Airplane Mode | scolby33 | Kindle Developer's Corner | 0 | 02-06-2022 01:57 PM |
iPhone Airplane mode engaging by itself? | OtinG | Apple Devices | 0 | 03-04-2021 02:00 PM |
Commands to switch airplane mode? | Yourcat | Kindle Developer's Corner | 3 | 03-30-2016 12:16 PM |
Updates from BB with Airplane Mode On? | pghaworth | Amazon Kindle | 26 | 10-30-2014 12:46 AM |
Airplane Mode Keeps Enabling Itself | aglick | enTourage eDGe | 15 | 04-26-2012 12:34 PM |