Reboot URL

What’s the current URL to reboot Hubitat? I am looking to have a script on a remote computer do the reboot.

http://hub.ip.addr:8080/hub/reboot

2 Likes

Huh I get a 404 error.

But, that won't work on its own if you have login enabled

It’s also a ‘post’ not a ‘get’ command required

3 Likes

Thanks got it to work.

Does anyone have a working curl command that will reboot the hub? The "slowness" issue is causing me to have to manually reboot every couple days and I'm looking for an easy way to automate it.

it should be;

curl -XPOST 'http://hub.ip.addr:8080/hub/reboot'

it'll be a little more complicated if you have authentication turned on your hub

Yeah I do have auth enabled. I noticed there's also an 8081 port where you can issue a reboot, and the 8081 port does not ask for a username/password, it just asks for the MAC address of the hub.

This would probably be the easiest (if you have hub authentication enabled):

Thank you, this is perfect. This app actually contains what I need to build the process in cURL.