mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-22 00:22:18 -05:00
add alternate WOL function
This commit is contained in:
1 parent
5268e6679e
commit
fd51bcca99
7 files changed
+139
-27
No files matched your search
@@ -175,6 +175,7 @@ namespace ColorControl
|
||||
clbLgPower.SetItemChecked(3, _lgService.Config.PowerOffOnStandby);
|
||||
edtLgPowerOnAfterResumeDelay.Value = _lgService.Config.PowerOnDelayAfterResume;
|
||||
edtLgDeviceFilter.Text = _lgService.Config.DeviceSearchKey;
|
||||
chkLgAlternateWolMechanism.Checked = _lgService.Config.UseAlternateWol;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@@ -1886,6 +1887,8 @@ See Options to test this functionality."
|
||||
|
||||
private void btnLGTestPower_Click(object sender, EventArgs e)
|
||||
{
|
||||
//_lgService.WakeSelectedDevice();
|
||||
//return;
|
||||
var text =
|
||||
@"The TV will now power off. Please wait for the TV to be powered off completely (relay click) and press ENTER to wake it again.
|
||||
For waking up to work, you need to activate the following setting on the TV:
|
||||
@@ -2072,5 +2075,10 @@ Do you want to continue?";
|
||||
|
||||
AddOrUpdateItem();
|
||||
}
|
||||
|
||||
private void chkLgAlternateWolMechanism_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
_lgService.Config.UseAlternateWol = chkLgAlternateWolMechanism.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user