Sorry for the late reply. In the meantime I bought a Harmony, and configured shutdown/power on as follows: I remapped the sleep button to shutdown according to the post I linked above.I took my TV's remote (any IR remote does the job though) and assigned a button to wake/suspend in the Flirc software. This button now turns on/off my PC.I manually added a command named "Power On/Off PC" to Flirc in the Harmony software. To make this work, I had to teach Harmony the IR command with my TV's remote controller. (With Flirc disconnected, otherwise it would have turned off my PC during the process. :))I added Flirc's new "Power On/Off PC" command to the related activities in the Harmony software.I synced all changes, so Harmony now turns on/off my PC along with other devices.On the top of this, I use a non-SE version of Flirc. I figured it can also turn on my PC from S5 as my motherboard (ASRock B75 Pro3-M) gives power to the USB ports after shutdown and also supports keyboard wake up. I suppose this can be done with the majority of modern motherboards.