A small release: two papercuts, and the documentation that had been describing one of them wrongly. Nothing in the suspend, wake or idle logic changed, so 4.2's behaviour is intact.
Updating keeps your TV pairing, so the TV does not have to be paired again. It does not keep your settings. Update by cloning into a fresh directory and filling in the configuration file again:
git clone https://github.com/bassidus/lgpowercontrol.git
cd lgpowercontrol
nano lgpowercontrol.conf
sudo ./install.pyAdded
- Commands can be typed in any case.
lgpowercontrol on,lgpowercontrol Statusandlgpowercontrol wol --statusnow work exactly like the shouted spellings. The canonical names are what the program still uses internally and what the documentation shows; only what you have to type has loosened.
Fixed
NOTIFY_POLL_SECONDSfalls back to 5 seconds, which is what the shipped configuration file has always said. The code fell back to 2. Deleting the line, or setting it to something unreadable, therefore gave a poll rate nothing documented — checking the screen more than twice as often as intended, for a warning that only has to land within a second or so of its configured time.
Changed
-
The documentation now says which settings actually need a service restarted. Both the README and the configuration file told you to restart everything after any edit. Only
OFF_WARNING_SECONDS,NOTIFY_POLL_SECONDSandLOGGINGare held in memory by a running service. Everything else is re-read by everylgpowercontrolrun, including the runs the monitor service starts, so it takes effect the moment you save the file.systemctl --user restart lgpowercontrol-notify.service # OFF_WARNING_SECONDS, NOTIFY_POLL_SECONDS sudo systemctl restart lgpowercontrol-monitor.service # LOGGING