Jump to content
XPEnology Community

Riello IPlug UPS


amikot

Recommended Posts

Hi,
I just bought Riello IPlug 600AV UPS. It was just very good deal: In used but working order, with UK standard sockets and with USB cable included. 
Unluckily this UPS is not on official support list of Synology and I knew that someone else had strange issue with incorrect values for battery charge and estimated time on battery. 
But I bought it anyway - I like challenges and also I saw somewhere that UPS support can be reconfigured in Synology from the terminal.

I guess that battery percentage is taken from wrong address - that's why it is showing 255% all the time, so my first idea is to find if there is any settings that could be adjusted using terminal that would let me to set different address where that value is stored by Riello.
I have also work around idea to set Time Out for Safe Mode to value equal or greater than that incorrect one from settings - thanks to that NAS should power down just when UPS switch to battery - without any delay. 

For now as you can see UPS is recognised and can read current status - Connected or On Battery.
Thing is that UPS won't shut down without signal that battery is low on power or without timer settings - here both battery indicator and timer are broken.

UPS1.JPG.e6d64d7c814c098df6d14a0efadbfaaf.JPGUPS3.JPG.8d3169d70c4969144989bbe08ad17ae7.JPG

UPS2.JPG.3b392fbff0d2a2197e64851f714441b5.JPG

 

Link to comment
Share on other sites

Thanks very much for that link to Github - it cleared out whole case. 
I've spent some time reading it and I started to think that there is no sense to play with installing new NUT. 

Riello IPlug UPS has no autonomy monitoring support and that's the reason why all it's users are getting stupid values in DSM.
Even Riellos dedicated software has no that features for IPLug UPSes - just battery voltage can be viewed. 
Riellu IPlug users claimed this as Bug in NUT, and there is BUG because it should not show values out of any ranges. To fix this bug developers made dedicated function that for Riello UPSes is estimating autonomy basing on data that can be obtained (battery voltage and type) and assumed (age, power consumption by devices).
In result we can get not very reliable values that are there just to fill the fields with something better than maximal values for type of record.

As this fix isn't making it more useful I'm starting to thing whole work over the issue is just pointless.
Installing whole new container just to get fake values made up just for better look? Nonsense.

However if someone knows how to install new NUT in docker container - that could be helpful for these that want to try.
Thanks

Link to comment
Share on other sites

7 hours ago, amikot said:

Is that possible that NUT in Docker could shut down the NAS?
Any ideas how to configure something like that?

 

Installing NUT in Docker would only be to get updated NUT code without dependency on the DSM version.  If you were to have been able to make it work, you could set up the Docker NUT as a Master and the DSM NUT as a slave, which would allow the DSM NUT to shutdown the system.

 

Sorry it doesn't look as if it will work out for your UPS hardware...

Link to comment
Share on other sites

Today I made small power cut for my family, and it was good opportunity to test UPS.
It worked fine, but...
When server entered Safe Mode it didn't power off and when switched the mains on again it didn't woke up from Safe Mode. 
Hard disks were in sleep, so I just held power button to switch server off and than switched it back on again. 
I wonder is that normal? Is there any way to fix this?

I found only this link - but nobody provided any solution. 

Edited by amikot
Link to comment
Share on other sites

I forgot to attach what was logged.

synopoweroff.log :

2021-02-28T13:49:38+00:00 NewDiskStation synopoweroff: system_poweroff_pre_hook.c:17 synopoweroff: Begin SYNOPowerOffPreHook action.
2021-02-28T13:49:39+00:00 NewDiskStation synopoweroff: system_poweroff_pre_hook.c:22 synopoweroff: Finish SYNOPowerOffPreHook action.
2021-02-28T13:49:39+00:00 NewDiskStation synopoweroff: system_sys_init.c:95 synopoweroff: System is going to reboot

 

syslog.log :

2021-02-28T13:49:39+00:00 NewDiskStation syslog-ng[4798]: Syslog connection broken; fd='0', server='AF_UNIX(/var/run/synologan.sock)', time_reopen='10'
2021-02-28T13:49:49+00:00 NewDiskStation syslog-ng[4798]: Connection failed; fd='45', server='AF_UNIX(/var/run/synologan.sock)', local='AF_UNIX(anonymous)', error='No such file or directory (2)'
2021-02-28T13:49:49+00:00 NewDiskStation syslog-ng[4798]: Initiating connection failed, reconnecting; time_reopen='10'
2021-02-28T13:49:59+00:00 NewDiskStation syslog-ng[4798]: Connection failed; fd='48', server='AF_UNIX(/var/run/synologan.sock)', local='AF_UNIX(anonymous)', error='No such file or directory (2)'
2021-02-28T13:49:59+00:00 NewDiskStation syslog-ng[4798]: Initiating connection failed, reconnecting; time_reopen='10'
2021-02-28T13:50:09+00:00 NewDiskStation syslog-ng[4798]: Connection failed; fd='42', server='AF_UNIX(/var/run/synologan.sock)', local='AF_UNIX(anonymous)', error='No such file or directory (2)'
2021-02-28T13:50:09+00:00 NewDiskStation syslog-ng[4798]: Initiating connection failed, reconnecting; time_reopen='10'
2021-02-28T13:50:14+00:00 NewDiskStation syslog-ng[4798]: syslog-ng shutting down; version='3.7.3'
2

 

messages:
 

2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release sysnotify for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release csp-rule for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release web-config for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: SYSTEM:    Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on NewDiskStation
2021-02-28T13:49:51+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release pam-config for SynologyDrive when 0x0000 (done)
2021-02-28T13:49:53+00:00 NewDiskStation synoddsmd: synoddsm-hostd.cpp:130 Receive SIGTERM. Terminate Daemon.
2021-02-28T13:49:56+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release sysnotify for Docker when 0x0000 (done)
2021-02-28T13:49:56+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for Docker when 0x0000 (done)
2021-02-28T13:49:56+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for Docker when 0x0000 (done)
2021-02-28T13:49:58+00:00 NewDiskStation synopkgctl: SYSTEM:    Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on NewDiskStation
2021-02-28T13:49:58+00:00 NewDiskStation share-hook: ( 8509:43040) [ERROR] share-hook.cpp(285): failed to connect to cloud monitor
2021-02-28T13:49:58+00:00 NewDiskStation share-hook: ( 8509:43040) [ERROR] share-hook.cpp(286): notification is not sent ({"notify": "share_hook", "result": 0, "share_name": "homes", "type": "set_privilege_change"})
2021-02-28T13:50:00+00:00 NewDiskStation share-hook: ( 8678:69664) [ERROR] share-hook.cpp(285): failed to connect to cloud monitor
2021-02-28T13:50:00+00:00 NewDiskStation share-hook: ( 8678:69664) [ERROR] share-hook.cpp(286): notification is not sent ({"notify": "share_hook", "result": 0, "share_name": "Seriale", "type": "set_privilege_change"})
2021-02-28T13:50:02+00:00 NewDiskStation [737207.055793] init: pkg-SynologyApplicationService-notification_send main process (23092) killed by TERM signal
2021-02-28T13:50:03+00:00 NewDiskStation [737208.143904] init: pkg-SynologyApplicationService-pgbouncer main process (23358) terminated with status 1
2021-02-28T13:50:04+00:00 NewDiskStation [737209.222650] init: pkg-SynologyApplicationService-VapidSendServer main process (23520) killed by TERM signal
2021-02-28T13:50:05+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynoFinder when 0x0000 (done)
2021-02-28T13:50:05+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynoFinder when 0x0000 (done)
2021-02-28T13:50:07+00:00 NewDiskStation synopkgctl: SYSTEM:    Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on NewDiskStation
2021-02-28T13:50:07+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release usr-local-linker for SynologyApplicationService when 0x0000 (done)
2021-02-28T13:50:07+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyApplicationService when 0x0000 (done)
2021-02-28T13:50:07+00:00 NewDiskStation synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyApplicationService when 0x0000 (done)
2021-02-28T13:50:10+00:00 NewDiskStation synopkgctl: SYSTEM:    Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on NewDiskStation
2021-02-28T13:50:10+00:00 NewDiskStation [737214.617078] init: scsi_plugin_server main process (5884) killed by TERM signal
2021-02-28T13:50:10+00:00 NewDiskStation [737214.652432] init: Disconnected from D-Bus system bus
2021-02-28T13:50:10+00:00 NewDiskStation [737214.718213] init: synoscheduler-vmtouch main process (24179) killed by TERM signal
2021-02-28T13:50:10+00:00 NewDiskStation synoiscsiep: iscsi_stop_all.cpp:97 Successfully stopped iSCSI service.
2021-02-28T13:50:11+00:00 NewDiskStation [737215.631863] init: pgsql pre-stop process (9020) terminated with status 2
2021-02-28T13:50:13+00:00 NewDiskStation root: Check device busy: error, refer: /var/log/DeviceBusyList
2021-02-28T13:50:13+00:00 NewDiskStation synoiscsihook: iscsi_stop_all.cpp:97 Successfully stopped iSCSI service.
2021-02-28T13:50:14+00:00 NewDiskStation umount: Kill the process "zerotier-one" with /volume1/@appstore/zerotier/bin/zerotier-one.
2021-02-28T13:50:14+00:00 NewDiskStation umount: Kill the process "syslog-ng" with /volume1/@SynoFinder-log/appindex.log.
2021-02-28T13:50:14+00:00 NewDiskStation umount: Kill the process "syslog-ng" with /volume1/@SynoFinder-log/fileindexd.log.
2021-02-28T13:50:14+00:00 NewDiskStation umount: Kill the process "syslog-ng" with /volume1/@SynoFinder-log/synoelasticd.log.
2021-02-28T13:50:14+00:00 NewDiskStation umount: kill the process "zerotier-one" [pid = 13936] using /volume1/@appstore/zerotier/bin/zerotier-one

 

synoservice.log:

2021-02-28T13:50:00+00:00 NewDiskStation synopkgctl: SYSTEM:    Last message 'synoservice: Waiting' repeated 3 times, suppressed by syslog-ng on NewDiskStation
2021-02-28T13:50:00+00:00 NewDiskStation synopkgctl: synoservice: Waiting for following services: pkgctl-SynologyApplicationService pkgctl-SynologyDrive pkgctl-SynoFinder pkgctl-Node.js_v12
2021-02-28T13:50:03+00:00 NewDiskStation synopkgctl: synoservice: Waiting for following services: pkgctl-SynologyApplicationService pkgctl-SynoFinder pkgctl-Node.js_v12
2021-02-28T13:50:06+00:00 NewDiskStation synopkgctl: synoservice: Waiting for following services: pkgctl-SynologyApplicationService pkgctl-Node.js_v12
2021-02-28T13:50:09+00:00 NewDiskStation synopkgctl: synoservice: synoservice: begin to stop /usr/local/etc/rc.d/*.sh
2021-02-28T13:50:09+00:00 NewDiskStation synopkgctl: synoservice: synoservice: all /usr/local/etc/rc.d/*.sh stopped
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:220 synoservice: WaitAllServiceStop, [180]sec left.
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [syno_ssd_bundle_bootup] with status start/running
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop syno_ssd_bundle_bootup &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [iscsi_pluginserverd] with status start/running, process 5882
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop iscsi_pluginserverd &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [synorelay-boot-state] with status start/running
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop synorelay-boot-state &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [dbus-system] with status stop/stopping, process 5463
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [pgsql] with status start/running, process 12307
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop pgsql &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [avahi] with status stop/post-stop, process 8959
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [iscsitrg-adapter] with status stop/post-stop, process 8956
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [dc-output] with status start/running
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop dc-output &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [ip-conflict-detect] with status start/running
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop ip-conflict-detect &] ...
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [iscsi_pluginengined] with status start/running, process 5881
2021-02-28T13:50:09+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop iscsi_pluginengined &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [scsi_plugin_server] with status start/running, process 5884
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop scsi_plugin_server &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [apparmor] with status start/running
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop apparmor &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [pgsql-adapter] with status stop/post-stop, process 8990
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [synopkicompatsync] with status start/running
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop synopkicompatsync &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [syno-packages-ready] with status start/running
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop syno-packages-ready &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [iptablesTc] with status start/running
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop iptablesTc &] ...
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:189 synoservice: [synoscheduler-vmtouch] with status start/running, process 24179
2021-02-28T13:50:10+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:194 synoservice: exec [/sbin/initctl stop synoscheduler-vmtouch &] ...
2021-02-28T13:50:11+00:00 NewDiskStation synoservice: service_pause_by_reason.c:11 synoservice: pause [synosnmpcd] by reason [stop-pgsql] ...
2021-02-28T13:50:11+00:00 NewDiskStation synoservice: service_pause.c:23 synoservice: [synosnmpcd] pausing ...
2021-02-28T13:50:11+00:00 NewDiskStation synoservice: service_pause.c:79 synoservice: [synosnmpcd] paused.
2021-02-28T13:50:13+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:220 synoservice: WaitAllServiceStop, [177]sec left.
2021-02-28T13:50:13+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:228 synoservice: finish WaitAllServiceStop, [177] sec left.
2021-02-28T13:50:13+00:00 NewDiskStation syno_poweroff_task: syno_poweroff_task.c:426 synoservice: umount volume ...
2021-02-28T13:50:13+00:00 NewDiskStation synoservice: service_reload.c:20 synoservice: reload [nginx].
2021-02-28T13:50:14+00:00 NewDiskStation synoservice: service_reload.c:46 synoservice: finish reload [nginx].

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...