monitorcontrol icon indicating copy to clipboard operation
monitorcontrol copied to clipboard

Return 0 of get_luminance() in windows 10

Open kenyg2020 opened this issue 2 years ago • 3 comments

Hello I tried get_luminance() of monitocontrol package ver 3.0.1 in windows 10 but I've got return 0 in my Display Monitor

from monitorcontrol import get_monitors for monitor in get_monitors(): with monitor: print(monitor.get_contrast()) print(monitor.get_luminance()) print(monitor.get_vcp_capabilities())

0 0 {'prot': '', 'type': '', 'model': '', 'cmds': {}, 'vcp': {}, 'mswhql': '', 'asset_eep': '', 'mccs_ver': '', 'window': '', 'vcpname': '', 'inputs': ''} EDID data is like that ID Manufacture Name : ALX ID Product Code : 0010 ID Serial Number : N/A Week of Manufacture : 30 Year of Manufacture : 2017 and more Do you have any idea why get_luminance() returns 0?

kenyg2020 avatar Sep 05 '22 02:09 kenyg2020

Can you let me know this information?

* Monitor manufacturer and model number:
* Input source (HDMI, VGA, display port, ect.):
* Output device (video card, discrete graphics, ect.):
* Python version:

At first glance this may be because it isn't a monitor that supports DDC-CI, common in integrated displays, e.g. laptops.

newAM avatar Sep 05 '22 04:09 newAM

with monitor.get_vcp_capabilities() and monitor.get_input_source() I've got [{'name': 'None {e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}', 'model': '{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}', 'serial': '5&1062d4b7&1&UID4359', 'manufacturer': None, 'manufacturer_id': 'ALX', 'edid': '00fffffffff and InoutSource.OFF -Monitor manufacturer and model number are 'ALX' and 'None' -Input source is physically HDMI and output source is NVIDA Quadro P2000 Anrecson -Python version 3.10.6 and windows 10 Is there any way to get monitor brightness without DDC-CI support you mentioned?

kenyg2020 avatar Sep 06 '22 02:09 kenyg2020

Is there any way to get monitor brightness without DDC-CI support you mentioned?

Depends what your monitor implements, there are other ways to control displays such as HDMI CEC which is common on TVs.

Sadly I can't find much with that information so I'm not sure what will work for your monitor.

newAM avatar Sep 06 '22 05:09 newAM