Skip to content
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

Battery-related changes #33

Merged
merged 3 commits into from Oct 2, 2022
Merged

Battery-related changes #33

merged 3 commits into from Oct 2, 2022

Conversation

gbakeman
Copy link
Contributor

@gbakeman gbakeman commented Oct 1, 2022

  • Re-enabling runtime calculation field that was disabled in commit 61bf278. Unsure why at this point, possibly related to instant power calculation?
  • Also extensive changes to network code, needs testing.

Re-enabling runtime calculation field that was disabled in commit 61bf278. Unsure why at this point, possibly related to instant power calculation?
@gbakeman gbakeman added bug Something isn't working enhancement New feature or request labels Oct 1, 2022
@gbakeman gbakeman added this to the 2.2 Stable Release milestone Oct 1, 2022
@gbakeman gbakeman self-assigned this Oct 1, 2022
@gbakeman gbakeman linked an issue Oct 1, 2022 that may be closed by this pull request
- Removed Nut_Exception_Value enum in favor of relying on NUTResponse, which already has the exceptions. Translations for values should be provided elsewhere.
- Modified NUTResponse so that no response is considered the default now.
- Refactored a few common class names, added constructors
- Added the Transaction class to represent a query and response.
- NutExceptions now include the original query, response, protocol response enum, and inner exception if available.
- Updated socket query methods to be more robust
- Some static data is no longer refreshed on the UPS
- Refactored GetUPSVar for better error handling, may need to come back to this.
- UPS Var view now shows values more consistently.
@gbakeman gbakeman linked an issue Oct 2, 2022 that may be closed by this pull request
@gbakeman gbakeman removed a link to an issue Oct 2, 2022
@gbakeman gbakeman merged commit 06981a0 into Dev-2.2 Oct 2, 2022
@gbakeman gbakeman deleted the battruntime branch October 2, 2022 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remaining Time not displayed
1 participant