I think this is where Long Range Z-Wave might provide a little more reliability, where all devices talk direct to the hub.
I recall having problems with my normally reliable Hue motion sensors after an extended outage this winter. This was the one where my TalentCell battery backup for the hub failed and the hub lost power, ungracefully, lol. It took a while to get them back on line. All my zigbee devices pair direct to the hub since I don't have any powered Zigbee devices. But Z-Wave LR is designed for direct communication to the hub, so maybe it'll be more reliable.
How about a small UPS (maybe 450VA) and a power monitor device like the ZAC38? Plug the ZAC38 into a non-backed-up UPS outlet. Plug the HE into a backed-up UPS outlet. Set up a rule that triggers when the ZAC38 switches power source (mains <-> battery). When it switches to battery, set a timer to ignore short duration power failures or generator start-up delay. If the timer expires before the ZAC38 switches back to mains, trigger a HE shutdown. Seems like it would be pretty bulletproof.
I don't understand why someone won't spend $60 for a UPS. If for no other reason, just to keep short duration power failures from causing a reboot.
If a controlled shutdown is attempted, can non-responsive devices, rules waiting on devices or timers, etc. cause restart failures?
This Pi Power works excellent, I have several. And now they take 2x 21700 cells, which are about 5000mAh each. Enough to run the hub for likely 24hrs+
And I also have 1 of @dJOS UPS creations, which is excellent
I think if the goal is to "tidy up" or otherwise "put to a safe rest state", things that could corrupt to the point of disrepair...I'm gonna suggest something COULD keep enough in the box alive to do that....even if it meant having a replaceable battery to augment, and maybe even a secondary storage chip?
So maybe the box wouldn't do EVERYTHING it might normally do in a shutdown. And maybe once it came back up when power is restored it might take a little longer for it to "regroup itself"
...but at least preserve the ability for the box itself to come back WITHOUT any extra human effort no matter the size and complexity of your install/mesh.
EDIT ADD: I'm just going to add that not everyone runs their HEs in places that look like a server room. Yet still, the one I am most egregious with has a UPS on it...but I know that those conditions are bad for the battery in that UPS. Amazingly the C-5 is like a TANK, even under adverse conditions. I'm just sayin... I don't care if that HE goes down with a power outage... I DO care if it gets corrupted somehow and I have one more problem added to the stack of headaches to recover from after a power outage.
Yes, you are correct, some of these mini-ups keep the lithium cells topped up to 4.2 volts x 24/7, which is bad for longevity. So your tip, to check cells yearly, is a good idea.
IIRC my very first el cheapo 18650 battery backup (DIY- Battery Backup Hubitat- under TEN bucks-NO soldering) killed a Panasonic 18650 in about 2 years by charging it to death.
So that there are no mistaken expectations, what is being suggested here is not going to happen. At the cost points where the hub has sustainable economics allowing it to be marketed, adding batteries, additional storage chips, etc, is simply not economically possible. Comparing the hub to electronic devices with costs an order of magnitude higher is not a winning argument. These are just hard facts about costs.
Not necessarily. As with all electronics, changes in the source power supply to the hub can have unpredictable outcomes. If the electric utility delivers low voltage to the house, even for only an instant, there is no telling what may be damaged by it, where no 'gentle power down' is going to save it. These sorts of problems are much more difficult to successfully be solved than is being considered in these posts. I like that the forum admits to all sorts of ideas, but not all of them actually have any merit. Threads like this one are effectively presenting misinformation, and as such, it will be closed now.