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).