Battery backup solution for home


Power cuts are very common in my area with about 2 incidents monthly. So far, the damage has been minimal with just one hard disk full of games lost. It would have been another story if it happened to the NAS dedicated to my  photos, music and movies.


After comparing different brands and models, the BE700G(-UK) from APC appeared as the obvious choice.
It is said to have enough power to allow plenty time for my stuff to shut down safely and it's just like a bulky power strip that can stay discrete on the floor. 

Next thing was to find a store to buy it. It was particularly convenient since APC has an Irish web site with the model available for €118.99 (VAT & Shipping included). Just four days later, the Back-UPS arrived from Netherlands and I started to install it.



All it took was to connect the cathode wire in the battery compartment, link the UPS data port to the NAS (Synology DS-109) with the USB cable provided, and decide which devices to plugs in the 8 outlets (4 surge protection + backup power, and 4 surge protection only). In my configuration, there would be an old 300W tower computer, a 22" LCD monitor (80W), and the Synology NAS (20W) on the power backup side. The printer would be on the surge-protection-only side on a "controlled" outlet. One feature offered by the BE700G is to allow up to 3 devices on the "controlled" outlets to be powered off when the device on the "master" outlet (typically a PC) shuts down.

Ideally the UPS must be left to charge for the first 16 hours in order to provide an optimal protection, so I resisted the urge to play with it...for at least 20 minutes...


In my case it was not necessary to install the included PowerChute software since I linked the UPS to my Synology Diskstation which software already takes care of the UPS management. By default it is set to keep the NAS running until the UPS battery is low (which takes 4 min. in my case), then it would go on safe mode, I preferred to have this action done after 1 minute.
At this stage, I enabled the network UPS server with no clear idea how I would make this work with my PC.

I first thought that the PowerChute software would be necessary, but it only work if the UPS is locally connected to the PC USB ports. As a newbie in to the UPS world, I learnt that a network UPS server (NUT) would provide its service to NUT clients, and while there were plenty available for Linux, there were only a few running on Windows platforms.


I came accross that neat freeware called WinNUT which has the excellent option to install as a service. Its properties file must be properly configured but comes with enough comments and examples to make this possible in a matter of minutes. After clicking the "Apply and Start WinNUT" button , the computer was ready to receive alerts from the NAS. It is good to note that WinNUT 2.0.0b works perfectly on Windows 7.



I just switched off the wall outlet for a test and, while the Synology DiskStation detected the new UPS status (which in turn started to beep at regular intervals), the WinNUT client sent a pop up message to relay the information.




After the 60 seconds specified, both NAS and PC initiated their shut-down procedure.


...and best of all... a real outage occurred shortly after my UPS unit was installed !


Quick update:

Since this post was published, some things have changed:
1. The latest Winnuts development is now found at http://code.google.com/p/winnut/

2. Winnuts may log an "Access Denied" on startup. The solution is to use the credential defined in /usr/syno/etc/ups/upsd.users for the MONITOR command in upsmon.conf. So the line would look like this: MONITOR ups@192.168.x.x 1 monuser secret slave

3. Since Vista, the "Allow Service to Inreract with Desktop" does not allow the service to send its popup alerts. To workaround this, you need to spot the Popup Alert event in Windows Event Viewers > System, select it and define a task for this event (Action pane). In the possible actions for this "trigger", you can choose to display a system message. This new task will appear in the Task Scheduler.

Author:

Facebook Comment