sleevezipper / hass-workstation-service

Provide useful sensors and services from your workstation to Home Assistant.
Apache License 2.0
613 stars 54 forks source link

[Feature Request] Monitor / Display Brightness Control (add light entity to control you monitor brightness) #113

Open 10bn opened 2 years ago

10bn commented 2 years ago

I often find my self adjusting the monitor brightness through out the day. Especially in the evening I need to reduce to brightness to reduce eye strain. I currently use a little tool called TwinkleTray to adjust the monitor brightness via keyboard shortcuts.

It would be great if there was native support to expose the monitor as light entity to Homeassistant as e.g. described in this thread. https://community.home-assistant.io/t/windows-desktop-mqtt-ha/47462/13

This would allow the user to e.g. use a custom integration like Adaptive Lightning to control the monitor brightness automatically through out the day.

SecretiveShell commented 2 years ago

look into https://docs.microsoft.com/en-us/windows/win32/wmicoreprov/wmimonitorbrightness, It might do what you need.

SecretiveShell commented 2 years ago

It was also briefly mentioned in #81