UPS for Hubitat

I ran my hub for five days on the talentcell battery discussed on the forum. It's seamless.

Even the G1 version of the UPS Battery discuss in the thread "USB-C UPS" gives over 14 hours of battery min my test. It wasn't even high capacity LifePo batteries. I just have two 3.7 1500 mamph batteries in it..

10 min will be a piece of cake. I would probably suggest you do a test to validate whatever you get will actually run. Then set your reboot time accordingly. I set mine to 5 hours online before it reboots.

Anything over 5 hours should be great. Just ordered the Konnected UPS Backup Battery - 12V DC Power Bank.

What I need help is in finding a device that could report to HE after a power fail so a countdown start for a routine to shutdown HE after x amount of hours. Besides a Ring keypad, what other device could work? Thank you

12v wont work hub requires 5v

Also most of your devices that repeat are not battery except for.maybe ring extenders so.the hub with not be able to control much and may not even get sensor signals if all repeating devices are offline.

@RickyV USB-C UPS designed by the community for Hubitat

3 Likes

It has a USB port that does 5v output up to 2.1 amp.

1 Like

And if you want power outage detection, a Ring Range Extender is one of the better options.

1 Like

and how are you going to shut down the hub after x amount of time if it is on the battery backup. .you will need a usb switch or something..

CyberPower CP350SLG Standby UPS System, 350VA/255W, 6 Outlets, Compact https://a.co/d/3p5DrBO

I use this in my attic and have a few other things plugged into it - POE injector for cameras, small hub, YoLink hub, etc. Has worked well.

1 Like

I use POE for whatever I can, it centralizes power for devices that can use it (or can be adapted to) and also simplifies a UPS solution as I just need my POE switch on the UPS and it covers everything it's running.

not really as you have no way to cleanly shut down the hub in case of a prolonged power outage.. and risk database corruption.

Is is possible to create a Rule that when VARIABLE Power changes to "NO" start a countdown and then send a command to HE hub to shutdown?

For the most part, this won’t work the way you’re envisioning it.

Most plugged in or hardwired devices can’t tell the hub they’ve just lost power. Because they’ve just lost power :slightly_smiling_face:.

Hence the suggestions to use devices like the Ring branded ones that plug in, have a backup battery, and can report to the hub which power source they are currently using.

1 Like

It's common to have PoE switches on the same UPS as the principal server. You can run a NUT upsd on your server to manage the shutdown, so all you really need is a NUT upsmon client for your hub... :slight_smile:

You should probably look in HPM for the app called "Power Outage Monitor" that will allow you to have the hub do various things at different times when the power goes out. It will also do recovery actions as well.

If you get the device like the USB-C UPS or the Konnected one you may need a way to restart the hub after power is restored. You can do this with USB Power smart switches. Sonoff and and Splenssy Tuya Smart USB Switch make some.

So what you need are as follows

  1. A device that can sense when mains power is lost. Most of the time the devices that do this are Ring Sensors that can be attached to mains wall power and have a battery for backup power. A large computer UPS can also potentially be used for this.
  2. Power Outage Monitor Smartapp to allow you to manage actions for power down when power is lost and recovery when it is restored and the hub is powered back up.
  3. A battery backup of which there are a variety out there. You just need to make sure it will provide power uninterupted power when mains is lost
  4. And the switch device that goes inbetween the hub and the backup power source. This will bee needed to restart cut and restore power to the hub to initiate a clean restart when power is restored if needed.
1 Like

Or you can restart your hub manually as long as you have physical access. There really isn't a need to cut power to the hub... just shut it down gracefully.

When you initiate a shutdown it just puts the hub in a state to have the power pulled. So you need to have some ability to cut power from it completely and then restore it. If you don't have physical access to the hub then the USB switch could be needed.

But ofcourse if you always have physical access then it may not be needed.

Thank you very much for taking the time to provide all that info. Exactly what I was looking for.

Ring extender is perfect for detecting power lost. It has built in battery as well. Unless you are not into Z-wave.
https://www.bestbuy.com/site/ring-alarm-range-extender-2nd-gen-white/6403962.p?intl=nosplash&skuId=6403962

1 Like