Jump to content
Sign in to follow this  
jestermgee

Detect Screen Off?

Recommended Posts

jestermgee

I am working on a monitor for my media server to automatically shutdown the server when it is not required to be running.

At the moment the monitor runs as a service ont he server and simply checks via a ping to see if the HTPC machines are online. If they are it then makes a second check to see if the screen saver is running. If the screen saver is running then a shutdown sequence begins. This all works fine.

The issue I want to solve now is that my HTPC in the lounge is set to auto turn OFF the monitors after 1 hour and when the monitor is switched off, the screensaver is terminated and the monitor sees the machine as being on and in use.

I would like to build a 3rd check that can see if the machine has switched off the monitor.

Any ideas?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.