It's possible to enable UPS server on the Synology and use it on the Raspberry. If you connect the Raspberry's powersupply to the UPS, you can safely shut down the system when the battery is almost empty.
On the raspberry you need to install NUT
Code: Select all
sudo apt-get install nut
Code: Select all
sudo nano /etc/nut/upsmon.conf
Code: Select all
# MONITOR [email protected] 1 upsmon secretpass slave
# MONITOR myups@localhost 1 upsmon pass master (or slave)
Code: Select all
MONITOR [email protected] 1 monuser secret slave
Save the file and quit nano
Edit nut configuration
Code: Select all
sudo nano /etc/nut/nut.conf
Code: Select all
MODE=netclient
Start monitoring the remote UPS server
Code: Select all
sudo /etc/init.d/nut-client start
I have my Synology DS413, Raspberry and DSL router connected to the APC. It should keep everything running for al least 15 minutes when the power is down.
