<div dir="auto"><div>Cheers,<div dir="auto"><br></div><div dir="auto"> Your test results seem encouraging, so giving up now sounds unfortunate - perhaps just one more push is needed:</div><div dir="auto"><br></div><div dir="auto">* if `upsdrvctl shutdown` works, then at least basic driver settings in ups.conf (and driver+device) do suffice for the action;</div><div dir="auto">* for a "killpower file", check that your upsmon.conf contains a line like</div><div dir="auto"><br></div><div dir="auto">POWERDOWNFLAG /etc/killpower</div><div dir="auto"><br></div>** This line must be explicitly present (although a good path might be in a tmpfs, like /run/nut/killpower instead).</div><div dir="auto">** Check upsmon logs - at least current NUT code should report if the value is defined or not, and if it failed to create the file for example.</div><div dir="auto"><br></div><div dir="auto">* For the file to have effect, it should be consulted during OS shutdown. I think you've never mentioned the OS nor NUT version, so details of this part are highly variable. In a Linux system with systemd and NUT v2.8.x, you would have a /usr/lib/systemd/system-shutdown/nutshutdown to call `upsdrvctl shutdown` when deemed needed.</div><div dir="auto"><br></div><div dir="auto">Jim</div><div dir="auto"><br><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Jun 16, 2025, 14:11 Dario Novakovic via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Jim and Robert!<br>
<br>
I confirmed that ups understands "turn off" request from the PC, with "upsdrvctl shutdown".<br>
However, I am not sure if "killpower" file is created, when ups goes on battery.<br>
<br>
On the other hand I am not sure how CyberPower UPS interprets config params: offdelay, ups.delay.shutdown, ups.timer.shutdown. I have been through so many docs, forums, issue reports, etc.<br>
This is so confusing and messy, I am giving up. <br>
<br>
<br>
Thanks all,<br>
Dario<br>
<br>
<br>
<br>
<br>
On Thursday, June 12, 2025 at 05:15:02 PM GMT+2, Dario Novakovic via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">nut-upsuser@alioth-lists.debian.net</a>> wrote: <br>
<br>
I am using truenas with Cyber power CP900EPFCLCD UPS. All is well, server shuts down after power loss in specified time.<br>
<br>
Problem is that UPS remains ON. I would like UPS to turn OFF and I will turn it on, when the power comes back. I tried many various configuration but it does not affect the UPS.<br>
<br>
Before I send all my config files and everything, I would like to understand how it works. <br>
<br>
I have been messing with nut for days, setting various "delay"s, tried many different settings and configs but I feel like I am missing something. I have couple of general questions:<br>
<br>
1. Is it possible to turn the UPS off, after PC shut down.<br>
2. If yes, how does it work? What makes UPS go off, when PC is off? What kind of command or information is sent to UPS to make it turn off<br>
3. What is the purpose of "ups.delay.shutdown". Documentation says "Interval to wait after shutdown with delay command (seconds)". "Wait" for what exactly?<br>
<br>
<br>
Thanks,<br>
Dario<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div></div></div>