Skip to content

v2.12

Latest

Choose a tag to compare

@bassidus bassidus released this 20 Jul 14:12

What's new

  • In-house Wake-on-LAN: WoL is now sent by a small stdlib-python script (scripts/lgpc-wol.py) instead of the external wol tool — one less dependency, and it fails cleanly on a malformed LGTV_MAC instead of crashing.
  • More reliable suspend/resume monitor: the screen-off escalation timer now tracks wall-clock time instead of counting loop iterations, and detects suspend via clock jumps so time spent asleep doesn't count toward escalation.
  • Sturdier notify service: conf and kreadconfig6 values are now validated before use (bad OFF_WARNING_SECONDS used to crash-loop the service), and the notification id file no longer uses a predictable path under world-writable /tmp.
  • Faster, more accurate install check: the installer now probes the TV over TCP/3001 (the actual WebOS API port) instead of ping, which can be blocked on some networks.
  • Simpler installer: dropped per-package-manager detection in favor of requiring python3 directly, which ships on virtually every distro already.
  • CI now runs shellcheck and bash -n on every push.

Updating

sudo /opt/lgpowercontrol/update.sh

Settings and TV pairing survive the update.