Skip to content

Releases: right9code/bigmelight.koplugin

Bigme Light Control v1.2.0

Choose a tag to compare

@right9code right9code released this 19 Sep 20:25

What's new

  • Custom presets — the built-in Daytime / Reading / Bedtime presets are now editable: hold a preset in Quick presets to rename or delete it, and save your own presets from the current light values (they persist across restarts).
  • Channel symbols — ❄️ cool and 🔥 warm now appear in the control dialog, notifications, status line, and gesture action names.
  • Dialog steppers use your step size — the ± buttons follow the Step size setting instead of a fixed ±10.
  • Smoother gestures — rapid swipe notifications are debounced into a single e-ink refresh.
  • Sleep handling — saved light levels are cleared after resume, so a later off-then-suspend can't restore a stale value.
  • Build tooling — make embed regenerates the embedded helper from helper/bigme_light.sh (this release fixes drift where the embedded copy lacked the set_both usage line); make release builds the install zip.

Install

  1. Download bigmelight-v1.2.0.zip below.
  2. Unzip so the folder lands at /sdcard/koreader/plugins/bigmelight.koplugin/.
  3. Restart KOReader, open Bigme Light, and grant Magisk superuser when prompted.

Existing users: just overwrite the plugin folder — your presets and settings are kept.

Bigme Light Control v1.1.0

Choose a tag to compare

@right9code right9code released this 18 Sep 12:15

What's New in v1.1.0

🚀 Zero-Latency Direct Sysfs I/O

  • On initialization and setup, permissions on the TI LM3630A sysfs nodes are configured (0666), allowing KOReader to read and write directly through Lua.
  • Gesture latency drops from ~50ms to <1ms with zero process forks, eliminating UI stutter on rapid swipe gestures.
  • Transparently falls back to the Magisk su helper if direct I/O is blocked by SELinux.

🔋 Power Management (Standby Battery Saver)

  • Automatic suspend/resume lifecycle integration: turns off the LM3630A LEDs when the device enters sleep to prevent battery drain in standby.
  • Automatically restores previous light levels when waking up.
  • Can be toggled on/off via the menu (Turn off on sleep).

💡 E-Ink Friendly Touch Controls & Presets

  • New interactive light dialog with responsive steppers (Cold +/-10, Warm +/-10) and quick presets.
  • Instant presets:
    • ☀️ Daytime (Cold 80, Warm 0)
    • 📖 Reading (Cold 50, Warm 60)
    • 🌙 Bedtime (Cold 0, Warm 50)
    • 🌑 All off (0, 0)
  • Registered new Dispatcher actions for gestures (bigme_preset_day, bigme_preset_read, bigme_preset_night).
  • Separate modal for setting exact numeric values without forcing the software keyboard open.

🛠️ Code Health & Fixes

  • onBigmeEinkCenter now calls os.execute directly, avoiding unread pipe file descriptors.
  • Removed redundant driver reads during UI interactions.
  • Check setup now displays the active hardware access mode (Direct vs Root fallback).

Install

  1. Download bigmelight-v1.1.0.zip below.
  2. Unzip into /sdcard/koreader/plugins/bigmelight.koplugin/.
  3. Restart KOReader.

Bigme Light Control v1.0

Choose a tag to compare

@right9code right9code released this 13 Sep 15:16

Initial release of Bigme Light Control plugin for KOReader.

What it does

Control the Bigme HiBreak / B6 front light (cold and warm channels, 0-255) from KOReader using the menu or swipe gestures.

Highlights

  • Menu: light control dialog, step size, all off, EinkCenter panel
  • Gestures: increase/decrease cold or warm, toggle, dialog, all off
  • Self-contained setup: the root helper is embedded in the plugin and installed through Magisk on first run
  • Health checks: Check setup and Install / update helper report root, driver, and helper status
  • Persistent: the helper survives reboots and auto-repairs if removed
  • Toggle with memory: turning the light off remembers the last levels

Requirements

  • Bigme HiBreak / B6 (LM3630A front-light driver)
  • Root (Magisk) — see the Rooting Guide
  • No external dependencies and no PC required after downloading the zip

Install

  1. Download bigmelight-v1.0.zip
  2. Unzip so the folder lands in /sdcard/koreader/plugins/bigmelight.koplugin/
  3. Restart KOReader and open Bigme Light in the menu