<html><head></head><body>That's it. It works with ondelay=0 (ups shuts down and stays so until power returns).<br><br>Thanks a lot for your help, I never would have figured this out on my own.<br><br>Let me ask one more question even if it is not on topic.<br><br>Is there any chance to tell NUT - server to shut down the system at a battery percentage of i. e. 50?<br>By now it waits until the battery is about 10 %.<br>That's really not good for battery life and there is no advantage for me in keeping the router and switches running for another 10 minutes, the system only shall shutdown cleanly.<br><br><br><br><div class="gmail_quote">Am 26. Oktober 2019 16:20:30 MESZ schrieb Charles Lepple <clepple@gmail.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Oct 26, 2019, at 10:10 AM, EP wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">This sounds a lot like this issue, so beware that ondelay for CyberPower may not work as described in the generic usbhid-ups documentation:<br></blockquote><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><a href="https://github.com/networkupstools/nut/issues/625">https://github.com/networkupstools/nut/issues/625</a><br></blockquote><br><br><br>OK, thanks, I had a look into this. Does that mean I have to add a line "ondelay=0" and that should result in keeping the UPS off until the power returns? <br></blockquote><br>I think so.<br><br>Also, depending on how solid the power is when it comes back on, you may want to consider FAQ #49:<br><br><a href="https://networkupstools.org/docs/FAQ.html#_my_ups_powers_up_immediately_after_a_power_failure_instead_of_waiting_for_the_batteries_to_recharge">https://networkupstools.org/docs/FAQ.html#_my_ups_powers_up_immediately_after_a_power_failure_instead_of_waiting_for_the_batteries_to_recharge</a><br><br>I haven't looked into how to fix this in the presence of systemd (assuming Raspbian). It seems complicated, since there are timeouts when systemd starts each unit.</pre></blockquote></div></body></html>