Product links are difficult, because we don’t know where you live and what’s available to you.
I don’t have experience with UPS daughter boards for Raspberry Pis, but wrote this guide for installing a standalone UPS with a USB port.
I would recommend a CyberPower UPS, only because I know for certain that they work. But really, you just need any UPS that has a USB port and is known to work with Network UPS Tools. AmazonBasics is now selling units that appear to be rebranded CyberPowers. I ordered one recently, but haven’t received it yet.
I have my RPi, modem, and router all on the UPS, so that OH can notify me if there’s an outage (since it will still have Internet access). It only runs for about 10 minutes before shutting down the RPi, but that’s enough to cover most brief outages.
2 is going to depend on the hardware plugged into the UPS. What happens when they lose power and power is restored? A big challenge will be what is you lose power, the machines shut down and power is restored before the UPS loses all it’s charge?
Well for 2 what I want is when AC power is lost. the raspberry pi will run on UPS. But if its too long and there is a drop in voltage of battery of UPS. The ups should send a signal to the rasperrbypi and the rasberrypi should shutdown.
When AC power is back the rasberry pi should restart.
I hope it makes clear
Please see the product link below
But the link product is not available in my locality
I think the UPS he links to will shutdown the RPi, when power is lost, no matter the state of the battery. (The battery is only used to make sure to get enough time to shut the RPi down).
When power returns it will start the Rpi again.
How? The RPi is shut down at that point. Unless the UPS pulls power from the plug and powers the plug again, which in my experience would be unusual behavior, it can’t start up the RPi again. Once shut down the only way to boot the RPi up again is to pull and restore the power.
It can start the RPi again.
If you take a look at the 4. picture on amazon, there is a pin for Auto starting the RPi… I´m pretty sure it somehow shortcircut the power pins on the main RPi board, just like an ordinary PC.
It’s just one person, but “caught on fire” is usually enough for me to lose interest in a product. Mind you, I tend to avoid any high-voltage electronics that don’t have certification from the appropriate electrical authorities.
Seems like you can program it to keep the RPi going if you stack batteries, but at some point it’s going to be more effective to get a standalone UPS (and probably cost less).
Provides continuous operations for up to 10~30hours (depending on battery type and qty used)
Conceptually, they’re all fine. As I stated earlier, the part I have a hard time with is trusting the quality of the materials and manufacturing. If you search the community, you’ll find others that are using UPS hats like these ones, and their risk assessments will be different from mine. Go with whatever makes you comfortable.
I’m not aware of any standalone UPS units that will do this, because they rely on the USB port to send commands. If you can’t find one, your options appear to be:
Onboard UPS that connects to the RPi GPIO and has auto-start
Standalone UPS that connects via USB, but doesn’t have auto-start
It really comes down to how important auto-start is to you. If it’s truly a must-have feature, then you just have to find one that you trust. I can see why you’d be concerned if you live in an area with frequent power outages. If you’re talking once or twice a year, maybe it’s not that big a deal.
At a glance, PiJuice appears to have put real effort into their website and documentation (I haven’t dug any deeper on the Amazon links). It’d be worth your time to look through their GitHub to see what users have to say and what issues they run into.
Thanks I think I would need little more time to decide on it. I will study a bit more. At the moment I more inclined towards UPS with NUTlike cyberpower my only stopping point is auto start.
Actually I am building a new house where I am automating everything but unfortuantely I wont be staying much in the house as I work in different city and my elderly parents would be staying they are not tech savy and even switching on a UPS is abit difficult. So any idea if we can automate the auto start of rspberrypi by switching off the UPS after rasberrypi shutsdown and then when power is back UPS is powered on and there by switching on the Rasberrypi.
I am also fine if I can automate the UPS switching on by using Sonoff wifi or zigbee switch even that involves opening the UPS and changing the manual switch.
The idea is before rasberrypi switches off it triggers a command through rest api to the a timer which switches off after a while
That doesn’t make sense. You would have to use the UPS to power the Sonoff (since there would be no power from the wall outlet), so when the Sonoff turns off the UPS, nothing will be able to turn it back on.
I suppose you could instead place a Sonoff between the UPS and the RPi’s AC adapter, but then you have to account for all of the power-loss scenarios to design your start-up behaviour. Also, you run the risk of the Sonoff toggling and killing your RPi. For example, if you use Tasmota firmware, I believe the switch will toggle when you update the firmware.
For systems you can’t manage directly, simple is always better. The more complicated you make it, the more difficult it will be for your parents when things go sideways.
I would suggest just adding a power button to the RPi (with a reboot/shutdown script). If there’s an outage and nothing is automated when the power is restored, they’ll just have to push the button to turn it back on. That’s not difficult and enables them to do something to get it working. You can even leave a three-step instruction card for them.
Alternatively, you can put a cloud-controlled smart switch (e.g. a TP-Link Kasa) between the RPi and UPS, so that you can control it remotely. If there’s a power outage and you can’t reach their system through myopenHAB, you’d just have to toggle the switch. Or they can do it themselves.
As far as I’m aware, there’s no such thing as a minimum load requirement for a UPS.
A UPS is a power bar with a surge protector and a battery. In the same way that you plug your RPi’s AC adapter into a power bar or a wall socket, you can plug it into a UPS. That being said, I’m only familiar with North American AC power, and perhaps there’s something in India I’m not aware of. If that was the case, I assume that APC India would know about it.
Whatever the case, the simple solution is to plug more things into the UPS. As I said in my original post, I have my RPi, DSL model, and WiFi router on my UPS so that I can maintain my network for a brief period of time.
The only recommendation I have is to check if the UPS you want to buy is compatible with NUT. I don’t have an APC, so I can’t say more than that.
BTW, the 15W you mentioned is the maximum DC output of the AC adapter (5V/3A), but an RPi almost never draws that much. The extra amperage is to account for add-ons that consume additional power (e.g. a USB mouse or a GPIO shield). Similarly, mobile phones don’t charge at maximum amperage all of the time, as that would damage the batteries.
Well I have been studying a lot and yes both cyberpower and APC or any other do mentions minimum load requirement in UPS.
As you would agree UPS has auto shutdown feature this is where minimum load comes into picture if UPS is not connected to the soecified minimum load than the UPS would auto shutdown within some specified time say 30 seconds
Some links to this concept there are many I am attaching 2