Restart Hub Without Powering Down (Start Hub Without Pulling Cord Once Has Been Shut Down)

For the first time in years we had an extended power outage. Apparently a squirrel committed suicide, may he rest in peace. The power company estimated about 3 hours to get things back up and running.

I have a UPS on my hub, etc. But the battery has a little age on it so I thought to be safe I would shut down the hub. No problem there.

Then that 3 hours turned into 30 minutes and thus the battery was still going strong.

However to re-start the hub I had to cycle power. Where the hub is located it's a little difficult to get to. Just wondering if there is a URL or whatever that can be used to re-start without powereing down.

Once the hub has been shutdown there is no way of waking it back up without a power cycle.

4 Likes

Many people, including me, plug the hub into a WiFi controlled plug so that they can remotely power cycle the hub over a VPN or via Alexa in exactly the situation you describe. Others power their hub using a PoE splitter that they can cycle at their switch.

7 Likes

What @672southmain said - I have a KASA (HS105) by TP-Link that has my HE plugged in.

The other option is to use a Micro USB cable (like the ones for a Raspberry Pi) - it has a button switch to turn on/off

I use both - replaced the original power cable with the one above and also the wifi plug (for remote access). Hope this helps.

2 Likes

I also use a WiFi plug to switch the Hubitat power off/on to restart it after a power outage. I use a small USB Sonoff WiFi plug and control it with a separate app on my phone.

2 Likes

I've got a Lutron switch on the power strip for my hubs, which I can toggle with the Lutron phone app.

2 Likes

Some clarification please: if the Hubitat loses power unexpectedly from a whole house blackout for instance, then it stays in a powered off state when the whole house power is restored?

Also do all devices (i,e. z-wave, zigbee, wifi) stay in their pre-outage state after a power outage?

Thanks

I believe that is the case - it's no different than if you disconnect the power from the hub.
EDIT: On second thought, it may power back up as it would when plugged into a wifi plug (and the wifi plug is restarted).

Some do and some don't. My zigbee bulbs turn on after an outage by my z-wave switches remember the state.

I was away recently and had some issues with my Netgear R7000 router freezing. As it was stopping me accessing my CCTV, Alarm System, and operating devices connected to Hubitat I needed a similar fix. I've switched the 12V supply to the router through a GSM relay. The unit has a pays you go SIM card installed and is programmed with a free app that configures the unit using SMS. Authorised telephone numbers are whitelisted. When you call the number of the SIM in the unit, if your number is in the whitelist, it terminates the call (no charges), it fires the volt free relay for x seconds, powering and re powering the connected device.

I used the above for my router as I needed it to work remotely and not be reliant on a working WiFi network but it would work equally as well for the Hubitat. They're about £25 in the UK on Amazon, I assume that would be similar in $. Quite a handy little device. Search for RTU 5024.

1 Like

No to the first question, the hub will restart as soon as power is restored. This is both good and bad, as if power is restored, and then drops/fluctuates as the hub is booting you could end up with a corrupted database (as if the initial sudden loss of power wasn't enough risk).

3 Likes

I have my hub powered off a PoE switch.

If I need to reboot the hub, I cycle power on that PoE port.

I know that quite a few people use this solution and it's all good. However, the HE docs specially call out that PoE is not supported and that it can void your warranty. Maybe docs have not been updated, but just something to be aware of.

https://docs.hubitat.com/index.php?title=Registration_and_setup

The issue is more for switches that don't use intelligent poe switching, (Meaning that POE is constantly on instead of turning on only when a poe device is connected and not turning on when a non-poe device is connected) These types of poe switches are rare nowadays. Otherwise it's perfectly safe. My cisco's in my basement are all POE and I use poe adapters for hubitat, hue, and lutron hubs.

2 Likes

Get a switch that does the proper sensing, and won't deliver PoE unless it has the proper feedback signals.

Use a PoE to micro USB adapter and you are all set. All my hubs are powered this way...only need 1 UPS to support the switch and network stack.

4 Likes

Do locally stored backups and files survive in tact from an abrupt shutdown from a power outage?

Usually because they're not volatile. Though you could easily set up a curl or get to the backup endpoint and backup to your pc on a regular schedule as well

2 Likes