[Nut-upsuser] UPS not Shutting Down
Roger Price
roger at rogerprice.org
Sun Jun 2 07:14:46 BST 2024
On Sat, 1 Jun 2024, Alan via Nut-upsuser wrote:
> root at proxmox-01:~# cat nano /etc/nut/ups.conf
If you send us hundreds of lines of comments it makes your post difficult to
understand. Could you trim out the comments with for example
cat /etc/nut/ups.conf | grep -v "#"
which would show us the following, which is what we need to see.
> maxretry = 3
>
> offdelay = 120
> ondelay = 240
>
> [pve1]
> driver = "usbhid-ups"
> port = "auto"
> vendorid = "06DA"
> productid = "FFFF"
> desc = "Phoenixtec Power Co., Ltd Innova Unity"
> serial = "CPANM2436540037"
> override.battery.charge.low = 70
> override.battery.runtime.low = 2500
> # wait 5 minutes for ups to power off
> override.ups.delay.shutdown = 300
I don't see the line
lowbatt = 70
which you need to make a permanent change to the value. If you use the
"override", the driver will restore the default. See chapter 2.7 in
https://rogerprice.org/NUT/ConfigExamples.A5.pdf
Try re-running your test with lowbatt = 70 . Roger
More information about the Nut-upsuser
mailing list