- 3,783
- 1,294
- NAS
- DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
If the slave functionality is restored, without patching... agree.This has to be welcomed, should it not?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
If the slave functionality is restored, without patching... agree.This has to be welcomed, should it not?
Maybe they saw Apple's response to Safari 15's new tabs and realised it is possible to do an about-face. Though I did get a reply to a Support ticket saying that they were actually looking into the UPS changes.This has to an increasingly rare example of Synology undoing all of one of its more unwelcome changes and restoring lost features. This has to be welcomed, should it not?
Be aware that nothing has changed under the hood. Unless you have an Omron UPS, no shutdown (unless the battery runs down and the UPS shuts itself off). And if you set a timer, the script still has the wrong timer name. They may have changed the GUI, but not the scripts.@Rusty I have a similar setup to you but I now intend to move my main NAS over to DSM7 in the weeks to come, now that full UPS support is back and directly supported by Synology.
This has to an increasingly rare example of Synology undoing all of one of its more unwelcome changes and restoring lost features. This has to be welcomed, should it not?
@Robbie , I tested the server part. Synology does use the default NUT structure. upssched.conf gets modified by the GUI (you can validate by changing the timer value; it will be reflected in upssched.conf):@DickBlonov Are you sure and have you tested a DSM7 UPS server with a DSM7 UPS client?
Could the script just be an unused artifact now that NUT is being used in its default state?
️
AT ONBATT * START-TIMER waittimeup 900
Rob@Rivendell:~$ upsc ups@rivendell
Init SSL without certificate database
battery.capacity: 9.00
battery.charge: 100
battery.charge.low: 20
battery.charge.restart: 20
battery.charger.status: resting
battery.energysave: no
battery.energysave.delay: 300
battery.energysave.load: 5
battery.protection: yes
battery.runtime: 945
battery.type: PbAc
battery.voltage: 13.1
battery.voltage.nominal: 12
device.mfr: EATON
device.model: 5P 650
device.serial: G114L50xxx
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 5
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: DSM7-1-42464-211216
driver.version.data: MGE HID 1.39
driver.version.internal: 0.41
input.current: 1.10
input.frequency: 50.0
input.frequency.extended: no
input.frequency.nominal: 50
input.sensitivity: normal
input.transfer.boost.low: 192
input.transfer.high: 294
input.transfer.low: 167
input.transfer.trim.high: 276
input.voltage: 242.5
input.voltage.extended: no
input.voltage.nominal: 230
outlet.1.autoswitch.charge.low: 0
outlet.1.delay.shutdown: 65535
outlet.1.delay.start: 10
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 1
outlet.1.status: on
outlet.1.switchable: yes
outlet.2.autoswitch.charge.low: 0
outlet.2.delay.shutdown: 65535
outlet.2.delay.start: 10
outlet.2.desc: PowerShare Outlet 2
outlet.2.id: 2
outlet.2.status: on
outlet.2.switchable: yes
outlet.desc: Main Outlet
outlet.id: 0
outlet.switchable: no
output.current: 1.00
output.frequency: 50.0
output.frequency.nominal: 50
output.powerfactor: 0.46
output.voltage: 242.5
output.voltage.nominal: 240
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.efficiency: 88
ups.firmware: 02.14.0026
ups.load: 37
ups.load.high: 105
ups.mfr: EATON
ups.model: 5P 650
ups.power: 243
ups.power.nominal: 650
ups.productid: ffff
ups.realpower: 113
ups.realpower.nominal: 420
ups.serial: G114L50095
ups.shutdown: enabled
ups.start.auto: yes
ups.start.battery: yes
ups.start.reboot: no
ups.status: OL
ups.test.interval: 2592000
ups.test.result: Done and passed
ups.timer.shutdown: 0
ups.timer.start: 0
ups.type: offline / line interactive
ups.vendorid: 0463
Rob@Rivendell:~$
pinging @DickBlonov ... Maybe he's had a peak at this latest Synology debacle.We could do with a NUT guru to take a look at it as I am but a user.
Color me simple-minded, but I am confused. You said that when you tweaked the files, and pulled the power,
Then you added that
Do the tweaked files work or not?
This does sound confusing. Apologies.Color me simple-minded, but I am confused. You said that when you tweaked the files, and pulled the power,
Then you added that
Do the tweaked files work or not?
I upgraded to DSM 7.1-42661 and the UPS power outage behavior still works for me.pinging @DickBlonov ... Maybe he's had a peak at this latest Synology debacle.
/etc/ups/upssched.conf
are now identical to those in the 'tweak' proposed earlier on this thread, so no change required in that file./usr/syno/bin/synoups
do have one difference to that of the original tweak with the first UPSSafeShutdown=0
still set as the default, rather than UPSSafeShutdown=1
.UPSSafeShutdown=`/bin/get_key_value $SYNOUPS_CONF ups_safeshutdown`
case "${UPSSafeShutdown}" in
[Nn][Oo])
UPSSafeShutdown=0;;
[Yy][Ee][Ss])
UPSSafeShutdown=1;;
*)
UPSSafeShutdown=0;;
esac
UPSSafeShutdown=`/bin/get_key_value $SYNOUPS_CONF ups_safeshutdown`
case "${UPSSafeShutdown}" in
[Nn][Oo])
UPSSafeShutdown=1;;
[Yy][Ee][Ss])
UPSSafeShutdown=1;;
*)
UPSSafeShutdown=0;;
esac
![]()
Controlled Shutdown of your NAS(es) in case of defined Level of Battery in UPS
So, I spent several hours with discovering of this: 1. Each DSM contains a feature "Synology UPS server" you can setup it by Control panel/Hardware & Power/UPS/Network UPS Type + Enable UPS Server it can helps you to manage another NASes connected to your LAN as the Synology UPS server 2. Then...www.synoforum.com
Beside that, all I did under Control Panel, Hardware & Power, UPS, was to check the box that says "Shut down UPS when system enters Standby Mode"
where did you get that setting though as that’s the whole issue, it’s missing in DSM 7?
I’m running DSM 7.0.1-42218 Update 3 and don’t have that setting any more.
Thanks - I downloaded and updated mine to DSM 7.1-42661 update 1 and now have the Shutdown UPS optionHow mine looks (DSM 7.1-42661):
View attachment 9625
Just started the updates to DSM 7.1-42661 Update 1 - no change to the above.
️
Late to the showpinging @DickBlonov ... Maybe he's had a peak at this latest Synology debacle.
ups_enabled="yes"
ups_mode="usb"
ups_safeshutdown="yes"
ups_acl="192.168.10.202|192.168.10.213||||"
ups_wait_time="300"
:~$ sudo cat /usr/syno/etc/ups/synoups.conf
ups_enabled="yes"
ups_mode="usb"
ups_wait_time="180"
ups_acl="10.0.1.40|10.0.1.42|10.0.1.16|10.0.1.46||"
ups_safeshutdown="yes"
:~$
We use essential cookies to make this site work, and optional cookies to enhance your experience.