EDIT 03/2022- There have been multiple reports of this same board being redesigned , such that there is now a momentary drop of power when switching from wall power to battery, rendering it useless as a UPS. My original boards are working fine 2+ years later, but that original board revision might not be obtainable. And like everything else, the price of lithium cells has skyrocketed(from 4-> ~9$) Essentially killing my initial sub 10 dollar solution.
Using hubitat as my security system, I need to be sure it would turn on my sirens if the power was out, so on a hunt I went. Came up with 3 components for a quick cheap battery backup. I just let my hub run for 5 hours on this battery, with minimal interaction with the Hub UI, and it likely could have gone longer, but didn't want to risk it unnecessarily. YMMV
Wow, that is very cool. And all bits available in Asia so cheap. Woop woop! This is a project I will definitely try! So you just put the battery in, plug a 5v phone charger into the side, and then use the USB at the end to power the device using one of the cables, right? And the thing will work nicely when powered but the battery takes over if the power gets cut. Very cool.
Cool idea. I'll be a little contrarian here... I've become much more conservative about the potential for things that could burn the house down. Generic Li-ion charge controllers, even though they use the same off the shelf parts as anyone else, does scare me a bit. Can anyone do an AvE- or bigclivedotcom-style breakdown of this? Does it have any fused or thermal protection?
I have my network and most smart home gear on a UPS, but wouldn't mind putting something like Hubitat on its own, longer-lasting backup.
You can get a 10000mAh Power Bank for under $20 on Amazon. Or a 28000mAh one for under $30. I believe these could be run permanently installed like a UPS, charged by a wall wart/phone charger cube, and powering the HE hub from its USB outlets.
Not all battery backups do charge and power at the same time, that's the challenge. Most times charging the backup will cut the output.
I'd much rather trust a brand name cell, like Panasonic.
Check YouTube, some guy did a full evaluation of this device, both over current and over voltage protection are included. I got about 5 hours and certain it could have gone longer, but I got worried and restored power to the device. I'm going to take a fresh backup and then run it till it dies. The hub is very power frugal. I did minimize my interaction with the hub interface while testing battery life, as I'll sure would be appropriate during a power outage. I doubt I'd be messing with my hub interface during a power outage.
I just got the guts to let it run 6.5 hours. Set HSM to away, was gone for about 3 hours. Came home and fiddled with some lights, checked logs, all looked good. Troubleshooting a zooz powerstrip required a z-wave repair, which completed, all while on battery. When I started worrying, a total of 6.5 hours later I restored power.
YMMV based on apps, activities plugins etc. I have 128 devices
What's the price? I'm particularly happy with my setup as the nearest commercial product is 35-40 US dollars. however you have no control over the cell quality with the commercial setup and once the battery dies, it's likely not repairable.
I just got the guts to let it run 6.5 hours. Set HSM to away, was gone for about 3 hours.
YMMV based on apps, activities plugins etc. I have 128 devices
Impressive, but I don't completely understand the use-case here.
Is your interest in
protecting the HE itself from corruption due to an unclean shutdown (ie., surviving a brief power outage (<1min - 15min))
keeping the HE up during a long outage
or something else?
I can't see any benefit to a backup battery other than scenario #1 -- which is a substantial convenience.
In any other case, almost all the devices would be unreachable (even the battery-powered devices would be off the zigbee/zwave network if the powered repeaters are down and the network meshes haven't repaired, right), the external alert system (ie., internet) would be down (unless you've got a battery-power cellular backup, and the local cell system isn't overloaded with people calling each other to ask if the power is out), the home LAN would probably be down (unless there's a UPS on critical switches & routers), etc.
However, it's still a cool project, and something I may well through together.
Both 1 and 2. All my battery sirens and sensors need no repeater to reach my centrally located hub. So it's a backup for security. I obviously won't be notified if power is out, but my neighbors are certain you call the cops, probably twice!
5 battery sirens all over 100db will tell the lowlifes they're not welcome.
Yes as most powerbanks would, since they can't charge and discharge simultaneously. There are only a select few that can do this and I have no idea which ones.
The model I posted above is made just for this purpose for Arduino or other device platforms.
I have tested my cheapo backup and it has not rebooted my Hubitat upon power loss.
I now have 2 and just ordered 3 more for my xbees.
I went ahead and ordered on off of eBay a little bit ago. Also found the 3D print Thingaverse case file and I will be 3D printing that this week.
Thanks !