Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor cannot be powered off (hard off) #371

Open
judyn97 opened this issue Oct 16, 2024 · 1 comment
Open

Monitor cannot be powered off (hard off) #371

judyn97 opened this issue Oct 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@judyn97
Copy link

judyn97 commented Oct 16, 2024

  • Monitor manufacturer and model number: AOC 24G2W1G5
  • Input source (HDMI, VGA, display port, ect.): HDMI
  • Output device (video card, discrete graphics, ect.): Intel UHD Graphics 630
  • Operating system: Windows 11
  • Python version: 3.11.3
  • monitorcontrol version (monitorcontrol --version): 3.0.3

Steps to Reproduce

I use the code below to loop through all monitors and off the hardware

from monitorcontrol import get_monitors;
    
def main():
    for monitor in get_monitors(): #Loop through each monitor
        with monitor:
            print(monitor.set_power_mode("off_hard")) #Power off the monitor

On my environment, my first monitor (DELL monitor) powers off. But the second monitor (AOC monitor) simply turn black screen for a second and power on again.

@newAM newAM added the bug Something isn't working label Nov 16, 2024
@newAM
Copy link
Owner

newAM commented Nov 16, 2024

Sorry it's taken a while to get to this issue, I was moving at the time this issue was opened.

Sadly I'm not sure anything can be done about this, it appears that the AOC monitor isn't respecting the command. There might be some power settings in the on-screen display that can be tinkered with to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants