What's new
Fixes
- TV not waking after resume on Wi-Fi: the first Wake-on-LAN packet is often lost while the Wi-Fi link settles after resume, and the wake logic misread the TV's standby response as "already waking" — reporting success while the TV stayed off. The wake loop now polls the TV's actual power state: if it is still in standby the Wake-on-LAN is resent until it bites, and success is only reported once the TV is verifiably on. Wired setups get the same verification.
- Clearer wake logging: the journal now shows exactly what the TV is doing (
in standby - resending WoL,mid-transition - waiting,TV on).
Config
LGTV_MACmoved to the optional settings section — it is auto-detected during install.
Updating
sudo /opt/lgpowercontrol/update.shSettings and TV pairing survive the update.