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.
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.
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.
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?
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.
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).
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.
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.
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