zebra1122 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

Adding UPS support for SNAKE OS (like APC UPS) #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.

I have an APC uninterruptible power supply. It would be a great feature in 
Snake OS if the NAS can shutdown (to avoid loss of data upon an electricity 
failure) based on the signal that an UPS can provide when the battery running 
over.

Thank you,
Balazs

Original issue reported on code.google.com by orsi.bal...@gmail.com on 15 Jul 2010 at 9:35

GoogleCodeExporter commented 8 years ago
http://www.networkupstools.org/

N.U.T. is a good candidate - although USB serial would be needed for the NAS 
(many use Serial interfaces)  

Original comment by tuxbox.g...@gmail.com on 20 Oct 2010 at 7:00

GoogleCodeExporter commented 8 years ago
I'd like that .. tnx.

Original comment by nicowal...@gmail.com on 7 Nov 2010 at 12:36

GoogleCodeExporter commented 8 years ago
...at risk of appearing off topic...

I doubt I could wall this 'defect' as such - it may be a matter of how one 
thinks about it. In the rural area where I live, summer storms can cause power 
outages for 6 hours or more, however during such times (thanks to telco/isp 
power backups), inet connectivity is still available ; all you have to do is 
keep your xDSL router alive and have a non-mains power computer (net/notebook, 
lappy, pad) to work with...and best have some additional charged battery-packs 
at the ready =)

Now, I have a small number of files which link back to a bigger site - not 
enough to warrant paying for hosting fees, but I like to keep them online and 
'live' as much as I can. One of the reasons I bought the wlx-652 and put 
snakeOS on it, was to give me a really low-power webserver that could be kept 
running for up to 8 ~ 10hours on
chemical storage cells. Notice I avoided using the term UPS there...

..you'll note on the bottom of the wlx-652 the power requirements stated as 
being 2amps of 5volts DC ; 10watts. Depending on load/conditions, the star8132 
& PCB will use 3 ~ 5 watts of the total, and each USB port is limited to 500ma 
each (however it's what the actual connected USB device draws that should be 
measured). I measured this using my DMM with 1 250gb WD external (unpowered) 
USB drive connected, half a dozen torrents running, and found the peak to be 
around 1.4amp @ 5vdc = 7watts..

..my edimax wireless-N xDSL router uses 10 ~ 15watts of 12volts DC in usage, so 
in a power-out situation, I really only need about 2amps of 12volts DC 
continuous to keep both of the devices running -- 12volt chemical storage cells 
are rather plentiful & cheap, and one of these could provide the power required 
for 8hours easy...

...I used to work in power control technology (in industry), and typically 
speaking you'd go with 2 (or more) storage cells, and have a battery 
supervisory circuit to look after the charging/standby condition of the cells, 
and distribution of the stored energy during black-outs. Years ago, you'd be 
doing this all from scratch using discrete components, but now-a-days this sort 
of stuff has found it's way into IC packages, and it may be a lot easier to 
accomplish...and pretty cheaply...

...in the end, my little 'plan' entails doing away with the switchmode 
plugpacks normally used with these units altogether, and just feeding them the 
DC 5/12 volts as they require directly. This power, will come from 'some piece 
of furniture' or such I will find/make, in which is hidden the Gel/SLA 
batteries + mains supply and charger PSU and supervisory electronics to make it 
all happen - the router, 652 and USB storage devices would be sitting on/in 
such a cabinet...

As I say, slightly OT wrt the topic - more a case of trying to avoid the need 
altogether <grin> ...but I thought I'd mention it here, in case anyone else is 
interested in such a notion =)

Salute!  

Original comment by myheadbl...@gmail.com on 11 Jun 2011 at 4:17