Skip to content

bp2008/MonitorControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonitorControl

A small Windows program that allows you to put your monitors to sleep via HTTP. Also offers the ability to turn monitors back on, although this ability does not work on all systems.

Usage

Download a release from the releases tab and extract it. Run MonitorControl.exe.

Find the system tray icon that looks like this, and double-click or right-click it to access the configuration window.

application icon

Configure the application as you desire, and use the web interface to remotely control your computer monitors.

screenshot

Configuration changes take effect immediately.

Closing the configuration window will not exit the program unless you click "Exit Program", or choose the "Exit" option from the tray icon's context menu.

Prevent Accidental Wakeup

When you use this program to turn off monitors, it can detect accidental wakeups due to spurious or accidental inputs (e.g. from a mouse getting bumped) and prevent these from keeping the monitors on.

The mechanism for this is simple: When monitor wake is detected due to user input, a progress bar will appear at the center of all monitors. When you press keyboard keys or move the mouse, the progress bar fills up, otherwise if there is no input the progress bar empties (taking about 10 seconds). If the progress bar value reaches 0%, the monitors are turned back off. If the progress bar reaches 100%, the monitors stay on.

image

Web Interface

The web server responds with a basic guide explaining the available commands:

screenshot

Building From Source

To build from source, clone the repository and also my BPUtil repository. Open in Visual Studio 2019 community edition. You may need to remove and re-add the BPUtil project to the solution, and add BPUtil as a reference in the MonitorControl project.

About

A small Windows program that allows control of the local monitors via HTTP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages