ROCK WOL and Shutdown

Just installed ROCK on my NUC and I must say it rocks.:metal:

I have made 2 vbscripts one to shutdown and one to wake the ROCK, if anyone want’s to be green like me.:frog:

The wake script is set to run when I’m logging in on my main computer (with Task Scheduler),
and I have made a shortcut to run the shutdown script (the script also puts my main computer to sleep).

Wake script (replace xx-xx… with ROCK mac address)

Set WshShell = CreateObject(“WScript.Shell”)
WshShell.Run “C:\WINDOWS\system32\WakeMeOnLan.exe /wakeup xx-xx-xx-xx-xx-xx”, 0
Set WshShell = Nothing


Shutdown script (replace 6-6-6-6 with ROCK IP address)

Set MsXmlHttp = CreateObject(“MSXML2.XMLHTTP”)
On Error Resume Next “POST”, “”, False
Set MsXmlHttp = Nothing

Set objShell = Wscript.CreateObject(“WScript.Shell”)
objShell.Run “rundll32.exe powrprof.dll,SetSuspendState”
Set objShell = Nothing


Hi @VidarDK,

thanks for sharing this. It was easy to adapt it for the Workflow App on iOS and Alfred on macOS.

Where do you know about the URL? Are there more URLs I can use (Skip, Fav, Volume control …)?

Hi’ @Tekl

The poweroff URL I got from the ROCK page (the power off button)… right click, View Page Source.
If you want to control playback you have to look into Roon API:

Ah, interesting. There’s also a restart command. Thanks. The API stuff is a bit to high level for me. :frowning:

Hello @VidarDK @Tekl

I was wondering if you guys managed to pull the command for starting and stopping the Roon Server Software instead of turning the ROCK on and off. I can’t seem to find it as /1/stop and /1/(re)start don’t seem to work. Thanks in advance.

EDIT* figured it out, the commands are stopsoftware and restartsoftware.

That’s strange, in my case stop or start are still working. I don’t have to add software.

This is my workflow:

That is weird, those commands didn’t work for me. I will try again once I get home later this week.