Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use a Mac mini as a music centre connected to my stereo system (among other things). I control it remotely using apps such as Remote by Apple, Rowmote, and Remoteless (for Spotify), both on my iPhone and iPad.

Now, when getting to sleep myself, I often want to stop music playback with the device closest to hand, usually iPhone. One more thing I'd like to do remotely is put the Mac mini to sleep. Any idea whether this is possible?

To clarify, I'm looking for an app or other solution that works on iPhone / iPad (with latest iOS, not jailbroken).

share|improve this question
RowMote suppports sleep... – user588 Apr 29 '12 at 10:51
@mankoff: oh, it does? How? Post that as an answer (with some details) & I'll accept it. – Jonik Apr 29 '12 at 10:55
I just don't find such option anywhere in Rowmote UI. Is it a Rowmote Pro feature? – Jonik Apr 29 '12 at 11:12
Look at the RowMote store page description - SLEEP AND WAKE: Put your Mac to sleep by holding the Play button for 3 seconds while controlling any Apple application, just like the hardware remote. – Fake Name Apr 29 '12 at 11:34
up vote 4 down vote accepted

I'm pretty sure you can do this with a hot-corner and the built-in VNC server. (You would need a VNC viewer for iOS, there are LOTS of them.

You could also create an applescript:
tell application "System Events" to sleep
and run it using the VNC connection.

Alternatively, you can turn on ssh, ssh in, and issue the command:
pmset sleepnow (See the pmset man page)
to put the mac to sleep.

This would require a ssh client for iOS. Again, there are a LOT of them. Personally, I have used iSSH, and it works fine.

As @mankoff stated in a comment, RowMote states in it's store description:

  • SLEEP AND WAKE: Put your Mac to sleep by holding the Play button for 3 seconds while controlling any Apple application, just like the hardware remote. Rowmote automatically wakes up sleeping machines which are connected via Ethernet!
share|improve this answer
I already had iSSH installed so I tried logging in an running pmset – works nicely (but you have to type). Anyway: thanks for teaching me how Rowmote works. Perfect! (And indeed, this works with regular Rowmote just fine; no Pro needed.) – Jonik Apr 29 '12 at 11:46

I use the following setup to sleep my Mac by using an iPhone:

  • I created a AppleScript which sleeps the Mac

  • Create a rule in, which runs the AppleScript. (I use a specific Subject and from Address to activate the rule)

  • Then on the iOS device, you just need to send a mail, as soon as the Mac receives the mail it will go to sleep

Advantage: You can put your Mac to sleep without the need to be in the same network

Disadvantage: It could take some minutes until the Mac receives the mail.

share|improve this answer
Hmm, not the simplest solution, but pretty creative :-) – Jonik Apr 29 '12 at 11:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.