I recently added a Ring zwave repeater to monitor for power failures. My C8 hub is on a ups, and I'd like to gracefully shutdown when the power goes out but I've run into problems trying to restart.
With a rule I can gracefully shut down when power fails. If the ups depletes and shuts power off, the hub will restart when power is restored. But if the power fail is short and ups provides constant power, how do I make the hub restart?
I'm using the Hub Information Driver with other Rules so shutdown isn't a problem. Just how to restart if the hub is shutdown and power is never removed.
Just my scenario, maybe helpful maybe not
When the power is out the UPS keeps my server alive for 5 minutes. Meanwhile the hub is always pinging the server IP.
Once the server shuts down the hub gets a bad ping and initiates a shutdown.
When the power returns the server boots on AC Bios interrupt from the UPS coming back online. The hub boots at the same time when the UPS comes back online as well.
In a perfect outage everyone comes back.
My hubs plug into a Tuya Zigbee power strip (controllable at each outlet via SmartLife). The power strip plugs into a UPS. When power goes out and stays out for 90 minutes (setup with Ring Range Extenders and automation), the hubs power down. It the power is out long enough for the UPS to drain, then the Tuya strip loses power. In that case, when power returns, the Tuya strip returns to its previous state with the hubs' outlets still off.
I do not automatically power on the hubs. I wait until power restores long enough to charge the UPS. If the hub restarts and another power outage occurs before the UPS charges, the UPS, power strip, and hubs could lose power before the hubs gracefully shut down. Instead, after notifications indicate restored power for a few hours, I manually turn on the Tuya power outlets for the hubs.
I actually don't worry about losing power to the hub much anymore.
I've had hub power interrupted numerous times will no ill effects, knock on wood.
I have Hub Protect, along with regular backups, so that should cover any database problem, if it does happen.
Just yesterday though, I re-instituted the TalentCell battery backups, only because Zigbee sensors weren't working while on inverter generator (Honda EU200i) power during an outage, but that's another topic.
I also have to figure out how to extend the life of the hub backup battery longer than the last one, which failed unexpectedly. Again, another topic.
My hub is at a 2nd location, so I want to automate the shutdown/restart process. I was hoping a rule or something i might have missed would point me in the right direction. It seems that once gracefully shut down, there’s not a way to restart other than power cycle. But this doesn’t work if the power outage is short and the UPS continually supplies power.
I have been thru a few power fails and the hub comes back online afterward. The forums seem to point to failures when the power fails. How common is this? I have Hub Protect — if there’s a failure can that be relied on to restore my Apps, Rules, Devices and the zwave radio ? What exactly does the database in Hub Protect save?
Hub Protects adds the extra security of having an automated off-site backup. It also backs-up your Radios (Zigbee and Z-Wave Radios information). It will allow you to easily replace your hub (on warranty) if something gets physically broken.
Otherwise the local backup will provide you with what you need.
That said, if your hub goes down due to a power outage and the DB is corrupted upon restart, it still comes up (with broken rules and such), restoring a previous backup will be a viable option.
Does the local backup include the z-wave and zigbee radio information? In other words, with just a local backup, can I fully restore a hub if it doesn't have hardware issues?
I have Hub Protect, but also have a NAS with off-site backups. Just want to confirm that if other than a hardware issue I can restore my Apps, Rules, Devices and the zwave radio with the local backup.
Doing a little searching revealed this
Maybe the terminal block wired to a Zigbee/Z-Wave contact would be all you'd need.
Note pinout of DB9 in document.
Thanks, I found that CyberPower supplies a similar card for their larger UPS systems. But some of their smaller backups have permanent USB and DB9 sockets.
They don’t supply connection information for the DB9, but I guess I could do some testing to see if that wiring is “universal”.