Skip to content

Help with edge cases (UPS coming back online before shutdown is complete) #3229

@rapperskull

Description

@rapperskull

I managed to configure a Vultech UPS1400VA-LFP UPS after some fighting.

However, I discovered that it has some quirks that make it a little bit difficult to use. In particular, shutdown.return and shutdown.stayoff do nothing, so I had to set sdcommands = load.off. This works to shut the load down, and everything will turn on after power is back.

There is a problem, however, if power comes back while the shutdown is in progress, because of two things happening when load.off is executed when the UPS is OL:

  1. The load is not actually shut down. This is expected, since the UPS will be in bypass mode, but it means the PC will stay off forever, since power is never cycled.
  2. The UPS disables its backup functionality by forcefully staying in bypass mode. If power goes down again, the output will simply shut off. This is the case until the load.on command is executed. Of course this doesn't happen if load.off is executed while OB.

I can probably work around problem 1 somehow (for example using a RPi to WoL the PC when power is back), but problem 2 is an issue.

Is there any way to execute load.on automatically on startup to try and fix that?

Do you have any suggestion on a workaround for problem 1 too?

Thank you.

EDIT: I tried forcing a shutdown and reboot by executing test.battery.start.quick while stuck in forced bypass mode, but the UPS outsmarted me and doesn't execute the command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions