[Nut-upsuser] CyberPower CST150UC: Question re: battery.runtime.low configuration settings

tim.o carukia at live.com
Thu Apr 25 04:05:33 BST 2024


On 4/24/24 18:06, Charles Lepple wrote:
> My guess is that if you sent 520, upsc would return 8 (for a revised
> maximum of 511 seconds). If not, the UPS is even weirder than most 🙂
>
> As you found, the ignorelb option is available to work around
> limitations in the UPS shutdown logic.

I can confirm

upsrw -s battery.runtime.low=520 -w CST150UC at localhost
battery.runtime.low: 8

I also tried

upsrw -s battery.runtime.low=480 -w CST150UC at localhost
battery.runtime.low: 480

upsrw -s battery.runtime.low=540 -w CST150UC at localhost
battery.runtime.low: 28

I guess none of this makes any sense to me so maybe the ignorelb option 
is the way to go unless you have a suggestion as to what value to use 
with upsrw -s battery.runtime.low, lol.

This seems to work though

mcedit /etc/nut/nut.conf
[CST150UC]
driver = usbhid-ups
port = auto
ignorelb
ondelay = -1
override.battery.runtime.low = 3600

upsc CST150UC at localhost
battery.runtime.low: 3600 (system will shutdown when 60 minutes of 
runtime is left)
ups.delay.start: -1 (never powers on the load, even when main power returns)

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240424/440a1515/attachment-0001.htm>


More information about the Nut-upsuser mailing list