Repository navigation
UPS over USB (Network UPS Tools) - #110
Merged
Merged
Conversation
Status, messages on power events, clean shutdown on battery (low battery, a percentage or minutes on battery), UPS output switched off afterwards (S05board), NUT server for other computers. NUT without OpenSSL. Services -> UPS in the interface, rpcd shareos.ups, tests/test-ups.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KmfmQxsE59Ms99VrbCi1J1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KmfmQxsE59Ms99VrbCi1J1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KmfmQxsE59Ms99VrbCi1J1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New system app nut (NUT 2.8.5: usbhid-ups, nutdrv_qx, blazer_usb, upsd, upsmon, upsc; 0.7 MB,
flash: true) and its controllershareos-ups./tmp/shareos-ups(NUT_CONFPATH/NUT_STATEPATH); the drivers are started directly (-a ups), so the system app'sbin/layout works without upsdrvctl.low(UPS's own LB),percent(ignorelb+override.battery.charge.low),minutes(timer started on ONBATT, cancelled on ONLINE,upsmon -c fsdif still OB).SHUTDOWNCMDarms the power schedule's wake-up and powers off.POWERDOWNFLAG→S05board stopruns<driver> -kas the very last step (offdelay 30 s, ondelay 40 s), so the box comes back with the power.monitorsecondary).--without-sslviaexternal.mk(otherwise 4.4 MB libssl/libcrypto in the package).tests/test-ups.sh(20 checks, fake NUT programs, in backend-tests). NUT itself built locally for the target; not tested with a real UPS yet.Generated by Claude Code