📅 November 22, 2010     🕐 3 minutes read

HOW TO: Put Your PC Monitor To Sleep Using An iPhone

For this to work, your phone must be WiFi enabled and connected to the same network as your PC. Of course you will use an iPhone, but any phone able to use WiFi will work…

It’s not that we find this functionality useful since most monitors sleep after a few minutes of inactivity, but we like the methodology. For this to work, your phone must be WiFi enabled and connected to the same network as your PC. Of course you will use an iPhone, but any phone able to use WiFi should work…

Here’s what you need:

  • NirCmd: This command line utility is used to put the monitor into sleep. Download – Website
  • QuickPHP: You need to run a web server that supports PHP on your computer. Any server will work. this particular one,  it’s lightweight and quick and easy to setup. QuickPHP- Website
  • PHP Source Code: Download

How to:

  1. After downloading NirCmd, unzip it and place nircmdc.exe in your system32 directory, i.e. C:\Windows\System32\. Note: Placing an executable in system32 directory is great because then you can access the files from any directory within command line, no need to find the directory first.
  2. Create two new folders. One for the PHP Server and one for your web files. I will use the following directories: C:\PHPServer and C:\PHP
  3. Download QuickPHP and unzip. This program will not install, you must place the program files somewhere. I moved them to C:\PHPServer for easy access.
  4. Download the source code and place it in C:\PHP.
  5. Go to the QuickPHP directory and run QuickPHP.exe – Change the “Root” folder to whatever you choose above as the web file directory (C:\PHP). Note the server port, default 5723.  Hit Start.
  6. For the next step you need to know your local IP address. To get this go to the start menu. Type in “Run” in the search bar and hit enter or simply click the run icon. Where it says “open” type in “cmd” – You now have a command prompt open. You should see something like C:\… type in “ipconfig” – Now look for your the number labeled IPv4 address. It will likely start with 192.168 – This is the number you will use in YOU_IP in the next step.
  7. Get your iPhone and open up Safari. In the address bar, type in http://YOUR_IP:5723 – i.e. http://192.168.1.2:5723
  8. Click the + sign and select “Add to Home Screen”
  9. You will get a new icon on your SpringBoard ( like the one in the pic below ). Now, when you want to turn your monitor off, all you need to do is tap on the new icon.

[via Mike Silverman]

SUPPORT

FSM has no ads or affiliate links. Your support would simply pay for our servers, domain and maintanance. If there's any leftover change, we'll get some coffee and a slice of pizza. ​

Merch   FSM Goodies ( Alpha release )
PayPal  
Monero (XMR) 43GnqUNJrTi9QyL7kEH8vM8pgWGCE6bjv1FSRipeNMM4TTeNnUVsRBb6MfMpQYxtLE7ReonxVVSXz2rFCEdW5H11LC3x73b
Bitcoin (BTC) 1Hfuq77gKKFJeNcq4EP4dQK3yDRWrFEwJR
Bitcoin Cash (BCH) qzmdm6e6q5wf2p6sxz2mst7cenz60newwc5m4e9js8
Ether (ETH) 0x5f02869278C24A6579d3820f52AD15936D6F9d69
Stellar (XLM) GDWT2QU2CI3GZ5XH5DTSU3IUAHZMTB6VQKKRHBYWS5YCCQOAG6OKG2OB
More content?