32 responses

  1. Toby
    2025/07/21

    I receive the following error message with the modification of PowerManagerNUT-x86_64-1.0.2-SynologyDS923+.spk. What did I wrong?

    Installation completed successfully.1. 环境配置成功
    1. Environment setup successful

    Scanning USB bus.
    [nutdev-usb1]
    driver = “usbhid-ups”
    port = “auto”
    vendorid = “3746”
    productid = “FFFF”
    product = “EF-UPS-RIVER 3 Plus”
    serial = “********serial showing up here**********”
    vendor = “EcoFlow”
    # bus = “001”
    # device = “003”
    # busport = “003”
    2. nut-scanner 执行成功,成功扫描到 EcoFlow UPS 设备
    2. nut-scanner executed successfully, EcoFlow UPS device detected

    Using subdriver: ECOFLOW HID 0.1
    Network UPS Tools – Generic HID driver 0.53 (2.8.2)
    USB communication driver (libusb 1.0) 0.47
    nut_libusb_get_string: Invalid parameter
    using ‘battery.charge’ to set battery low state
    using ‘battery.runtime’ to set battery low state
    Network UPS Tools – UPS driver controller 2.8.2
    default driverpath = /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/bin
    start_driver driverpath = /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/bin
    3. upsdrvctl 执行成功
    3. upsdrvctl executed successfully

    fopen /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/var/state/ups/upsd.pid: No such file or directory
    Could not find PID file ‘/volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/var/state/ups/upsd.pid’ to see if previous upsd instance is already running!
    /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/upsd.conf is world readable
    listening on 0.0.0.0 port 3493
    /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas is world readable
    Connected to UPS [nutdev1]: usbhid-ups-nutdev1
    Found 1 UPS defined in ups.conf
    /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/upsd.users is world readable
    4. upsd 执行成功
    4. upsd executed successfully

    Error: Unknown UPS
    错误:未知错误(upsc),请尝试重新执行脚本
    Error: Unknown error (upsc), please try running the script again

    Reply

    • albert
      2025/07/21

      It seems the service already started successfully. Could you try to run “upsc ups@localhost:3493” in Synology NAS’s terminal to verify ? Or you can run “upsc ups@[NAS-IP-ADDRESS]” from any linux/unix machine to verify.

      Reply

      • Anonymous
        2025/08/07

        I get same error

        Reply

  2. Keith
    2025/07/22

    So I also had to:
    # 1. Update ups.conf to change [nutdev1] to [ups]
    sudo sed -i ‘s/[nutdev1]/[ups]/’ /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/ups.conf

    # 2. Update upsmon.conf to change the MONITOR line
    sudo sed -i ‘s/nutdev1@127.0.0.1:3496/ups@127.0.0.1:3493/’ /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/upsmon.conf

    # 3. Restart the PowerManagerNUT service
    cd /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas && sudo ./run.sh

    Then I checked this:

    admin@syno:/volume1/@appstore/PowerManagerNUT/usr/local/bin/nas$ upsc ups@localhost:3493
    battery.charge: 92
    battery.charge.low: 10
    battery.runtime: 2075
    battery.runtime.low: -1
    battery.type:
    device.mfr: EcoFlow
    device.model: EF-UPS-RIVER 3 Plus

    Success!

    I couldn’t figure out a way to Start/Stop in Package Center.

    Thanks for writing this up!

    Reply

    • Marek
      2025/08/14

      Thank you for adding this, Keith. It helped me to successfully restart the service. Unfortunately, I still get an connection error when I try to configure UPS in the DSM control panel.

      Any ideas how to solve this?

      Reply

    • Anonymous
      2025/08/14

      Thank you for your preliminary work! After running “upsc ups@localhost:3493” in Synology NAS’s terminal I got this output:
      battery.charge: 80
      battery.charge.low: 20
      battery.runtime: 1867
      battery.runtime.low: -1
      battery.type:
      device.mfr: EcoFlow
      device.model: EF-UPS-RIVER 3 Plus
      device.serial: R631ZEBAWH1A0612
      device.type: ups
      driver.debug: 0
      driver.flag.allow_killpower: 0
      driver.flag.ignorelb: enabled
      driver.name: usbhid-ups
      driver.parameter.override.battery.runtime.low: -1
      driver.parameter.pollfreq: 1
      driver.parameter.pollinterval: 2
      driver.parameter.port: auto
      driver.parameter.synchronous: auto
      driver.parameter.usb_hid_ep_in: 1
      driver.parameter.usb_hid_ep_out: 1
      driver.state: updateinfo
      driver.version: 2.8.2
      driver.version.data: ECOFLOW HID 0.1
      driver.version.internal: 0.53
      driver.version.usb: libusb-1.0.26 (API: 0x1000109)
      outlet.1.status: on
      ups.beeper.status: enabled
      ups.delay.shutdown: 20
      ups.mfr: EcoFlow
      ups.model: EF-UPS-RIVER 3 Plus
      ups.productid: ffff
      ups.realpower.nominal: 286
      ups.serial: R631ZEBAWH1A0612
      ups.status: OL
      ups.timer.reboot: -1
      ups.timer.shutdown: -1
      ups.vendorid: 3746

      Like Marek I get the message “Connection to network ups server is not possible”
      So what’s the problem?

      Reply

      • Anonymous
        2025/08/15

        I got it. I had a wrong network-ups-server IP in DSM ups.

        Reply

  3. Marek
    2025/08/21

    After restarting the PowerManagerNUT service several times, it is working now. Thanks a lot for the helpful information on this page!

    Reply

  4. Anonymous
    2025/09/19

    For anyone following this article, I also had to make one additional change.

    Modify ups.conf

    Path:
    sudo vi /volume1/\@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/ups.conf

    Change this line:

    [nutdev1]

    To:

    [ups]

    Reply

    • albert
      2025/10/17

      Thank you for your comment! I have updated the post to include this change.

      Reply

  5. Anonymous
    2025/11/09

    If I have Synology SA6400, is it possible somehow to support river3 for my nas? Do I need to buy ecoflow as ups or it won’t work with my nas. What do you think?

    Reply

    • albert
      2025/11/14

      Yes, you can use the Ecoflow RIVER 3 as a UPS for your Synology SA6400 for backup power.

      However, the SA6400 is currently not supported by the Ecoflow Power Manager and cannot use the automatic shutdown method described in this post.

      Limitation: If a power outage occurs, you must manually shut down your SA6400 before the Ecoflow battery runs out.

      I hope Synology DSM updates its Network UPS Tools (NUT) package soon to automatically support the Ecoflow RIVER 3 Plus.

      Reply

  6. Anonymous
    2026/01/07

    Hello,

    I was able to modify and save all the files except the run.sh as per below error. Can someone help me? Thanks.

    MobaXterm SSH-browser

    !

    [Message from SSH-browser of tab #5]
    scp:
    /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/run.sh:
    Permission denied

    Reply

    • JJ
      2026/01/28

      Hi,

      did you try:
      sudo vi /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/run.sh

      cheers

      Reply

  7. JJ
    2026/01/28

    Hello!

    Thanks for the amazing tips and tricks. I followed your guide and i could connect my river 3 and its now also seen by synology dsm.

    But if i cut power, the system wont shut down. Its in a standby boot loop with grenn led flashin. I received emails tho.

    I tried to update to Firmware 1.33.81.56.
    System wont shut down. No emails.

    I can ping my UPS with the correct port and receive information over ssh. (upsc ups@localhost:3493)

    Anybody in the same sitution?

    thanks )

    Reply

    • Anonymous
      2026/02/28

      I have the same issue. Pulled the plug and got an email message from Synology. Green LED is flashing, but Synology didn’t shut down. Control Panel won’t open, just has a progress bar repeatedly moving across the icon.

      Did you get it to shutdown after the specified time period?

      Reply

      • JJ
        2026/02/28

        Hi! No the specified time has no effect. No shutdown.

        But i will try this next: MONITOR ups@127.0.0.1:3493 1 Ecoflow Ecoflow primary
        I wrote ups1@ but 1 is to be removed

        What nas do you use?

        Reply

  8. Anonymous
    2026/02/01

    Power Manager is loading thanks to this page. But the manual mentions a “home page” for power manager that never comes up for me. So I can’t see status or do any configuration. Thoughts?

    Reply

    • JJ
      2026/02/05

      Yeah, thats misleading. But this “home page” is only availabe in the windows program/app. For your nas, thats all you see.. Configuration is best down with the mobile app over Wifi.

      May i ask what model you have and does it power down after power outlet? cheers

      Reply

      • JJ
        2026/02/05

        *done*outake

        Reply

      • Anonymous
        2026/02/18

        DS1019+. I’ve not actually tried pulling the plug out of the wall to see if it works. Might need a drink first. 🙂

        Reply

  9. Pippo
    2026/02/25

    I had to change too:
    volume1/@appstore/PowerManagerNUT/usr/local/bin/nas/x86_64-pc-linux-gnu-nut-server/etc/upsmon.conf

    MONITOR nutdev1@127.0.0.1:3496 1 Ecoflow Ecoflow primary
    in:
    MONITOR ups1@127.0.0.1:3493 1 Ecoflow Ecoflow primary

    on a Synology 423+ DSM 7.3.2-86009 Update 1
    Power Manager NUT 1.0.3

    Now everything works

    Reply

  10. Anonymous
    2026/02/25

    mistake: MONITOR ups@127.0.0.1:3493 1 Ecoflow Ecoflow primary
    I wrote ups1@ but 1 is to be removed

    Have FUN 👍

    Reply

  11. Anonymous
    2026/02/28

    I made the documented changes, including to upsmon.conf. After restarting the service and running upsc ups@localhost:3493, I get valid parameters from the Ecoflow. In Synology’s Control Panel UPS Settings, It says I have a UPS connected under SNMP UPS and Synology UPS Server, but not USB UPS (No USB UPS Connected). What UPS Type and settings do I need to use?

    Reply

    • Anonymous
      2026/02/28

      Using Synology UPS Server with my NAS’ IP address worked and I got confirmation that it was connected to the Ecoflow.

      Reply

  12. JJ
    2026/02/28

    Hi! No the specified time has no effect. No shutdown.

    But i will try this next: MONITOR ups@127.0.0.1:3493 1 Ecoflow Ecoflow primary
    I wrote ups1@ but 1 is to be removed

    What nas do you use?

    Reply

    • Anonymous
      2026/02/28

      DS 920+ DSM 7.3.2-86009 Update 1

      I got emails when I unplugged the Ecoflow, and then 5 minutes later when the NAS’ Status LED started flashing. At that point the NAS was unresponsive and consuming the same amount of power according to the Ecoflow display. I tried to restart from the DSM, but it stalled out (just repeated progress bar displayed on restarting message). I held power button on the NAS and it shutdown. After manually restarting, when I went back into Control Panel>UPS, it says it can’t connect to the network UPS server. If I run “cd /volume1/@appstore/PowerManagerNUT/usr/local/bin/nas && sudo ./run.sh” it connects and seems to stay connected, but it won’t automatically connect after a restart. In addition to it not shutting down after 5 minutes, it seems like the service doesn’t restart with the NAS.

      Reply

      • JJ
        2026/02/28

        Yeah. This is 100% what i am experiencing. Since i updated ecoflow i am not even gettin emails now.

        Reply

      • AIR
        2026/05/05

        I’ve fixed reconnect after restart

        Reply

    • gmajian
      2026/02/28

      With my understand, the Synology NAS will *not* shutdown automatically when UPS disconnected from power, it will enter the *standby mode*, in the standby mode, it will stop all the services and unmount all the volumes to prevent of data loss. Please see this official article: https://kb.synology.com/en-id/DSM/help/DSM/AdminCenter/system_hardware_ups?version=7

      Reply

  13. Anonymous
    2026/02/28

    That would explain it. I’m pretty sure that a previous version of DSM (with my old UPS) would fully shut down the NAS. That’d be my preference as keeping the NAS powered on reduces the time my network is powered during an outage.
    Still having issues with the service starting when the NAS powers on. I may just have to get a cheaper UPS that works out of the box instead of fiddling with the Ecoflow.

    Reply

    • JJ
      2026/03/04

      Yes, since Pippos solution didnt help i am also thinkin about another UPS. sad

      Reply

Leave a Reply

Back to top
Language:
mobile desktop