I know many are using my Hub Rebooter app, but some people were asking about a different use case. They wanted the ability to reboot and shutdown the hub on demand. For example, I heard some people talking about hooking up the hub to a UPS and using the UPS to power down the hub safely during a power failure.
This is a different use and requires a totally different solution, instead of an app, you need a driver so you have commands that you can call from RM or whatever.
So introducing, Hubitat Hub Controller. This gives you access to the following APIs:
- Shutdown - powers down the hub completely
- Reboot - reboots the hub
- Restart - restarts the Hubitat software on the hub
The driver supports hubs with and without hub security enabled, you just need to supply an admin username/password when it is enabled. You can also optionally specify the IP of the hub so that you can remotely control a different hub (I only have 1 hub so I couldn't fully test this!). The code is on Github at GitHub - dcmeglio/hubitat-hubcontroller and will be available in Hubitat Package Manager in just a little bit.