-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update riello (ser, usb) for shutdown/reboot delays (Fixes #530) #1280
Conversation
Thanks, sorry for having missed that comment in #530 (comment) Compared to the patch quoted there (from https://www.mail-archive.com/[email protected]/msg00106.html message) this PR misses the Additionally, the dstate assignment from |
@jimklimov PR updated - |
Great to see these updates. Is there a chance that this will also fix the problem on shutdown.return command reported in #957 ? |
It should address #957 as |
How do I set variables on the UPS itself, @jimklimov ? e.g. if I want to set I have attempted the following
|
I think the |
Yep! I was able to set the override, and Thanks for the merge :-) |
@geoghegan Thanks for your effort. Appreciate it a lot. :) I build NUT according to: https://github.com/networkupstools/nut/wiki/Building-NUT-on-Debian,-Raspbian-and-Ubuntu Unsupported parameters are gone as expected and new parameters ups.delay.reboot and ups.delay.shutdown now listed as expected.
I can set new values for ups.delay.reboot and ups.delay.shutdown but as you experience, these don't survive a reboot. What worked for me as example was:
Testing power failure however, doesn't end up cutting the power to the UPS as I had hoped it would, so at least for me it seems like the part on not powering off mentioned in #530 was not solved by this update. Have you tested power failure and was the UPS finally powering off? I also expected that it would now be possible to use What is working for me is to add to ups.conf:
Reload driver upsc result showing driver version
|
This should address the issues in #530. Tested with an IDG1600
Output from
upsc
below