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

UPS load wattage calbrate #120

Closed
alexmb2020 opened this issue Nov 27, 2023 · 7 comments
Closed

UPS load wattage calbrate #120

alexmb2020 opened this issue Nov 27, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@alexmb2020
Copy link

Hi thank You for windows client!

Win NUT ver. 2.2.8719.24624
Win 11, 22H2

Hi,
Is any way to calibrate wattage for UPS load? Need to multiply by 3 to have correct wattage, % is correct. UPS load is greyout in the calibration menu.
Screenshot 2023-11-27 082502
Screenshot 2023-11-27 092054

Thank You!
Alex

@alexmb2020 alexmb2020 added the bug Something isn't working label Nov 27, 2023
@gbakeman
Copy link
Contributor

gbakeman commented Nov 27, 2023

Hi @alexmb2020 , thank you for moving your post over here. I actually just spent some work on the Load calculation/display in #41, so it sounds like your UPS may have a special case that I need to address. The Calibration menu only affects dial ranges, and I figured that the dial should always be a percentage between 0 and 100%, so I disabled the customization there. You're saying that the percentage of max load is correct, but the displayed wattage is one third of what it should be. Would you please post the output of the UPS Variable List from the File menu?

Thank you!

@gbakeman gbakeman added this to the 2.3 Stable Release milestone Nov 27, 2023
@alexmb2020
Copy link
Author

UPS (CPS/OR2200PFCRT2U/Unknown)
battery.charge (Description unavailable) : 100
battery.charge.low (Description unavailable) : 10
battery.charge.warning (Description unavailable) : 20
battery.mfr.date (Description unavailable) : CPS
battery.runtime (Description unavailable) : 2280
battery.runtime.low (Description unavailable) : 300
battery.type (Description unavailable) : PbAcid
battery.voltage (Description unavailable) : 24.0
battery.voltage.nominal (Description unavailable) : 24
device.mfr (Description unavailable) : CPS
device.model (Description unavailable) : OR2200PFCRT2U
device.type (Description unavailable) : ups
driver.name (Description unavailable) : usbhid-ups
driver.parameter.pollfreq (Description unavailable) : 30
driver.parameter.pollinterval (Description unavailable) : 5
driver.parameter.port (Description unavailable) : auto
driver.parameter.synchronous (Description unavailable) : no
driver.version (Description unavailable) : DSM7-2-1-NewModel-repack-64570-230831
driver.version.data (Description unavailable) : CyberPower HID 0.4
driver.version.internal (Description unavailable) : 0.41
input.voltage (Description unavailable) : 116.0
input.voltage.nominal (Description unavailable) : 120
output.voltage (Description unavailable) : 116.0
ups.beeper.status (Description unavailable) : disabled
ups.delay.shutdown (Description unavailable) : 20
ups.delay.start (Description unavailable) : 30
ups.load (Description unavailable) : 26
ups.mfr (Description unavailable) : CPS
ups.model (Description unavailable) : OR2200PFCRT2U
ups.productid (Description unavailable) : 0601
ups.realpower.nominal (Description unavailable) : 516
ups.status (Description unavailable) : OL
ups.test.result (Description unavailable) : No test initiated
ups.timer.shutdown (Description unavailable) : -60
ups.timer.start (Description unavailable) : -60
ups.vendorid (Description unavailable) : 0764

@gbakeman
Copy link
Contributor

Thank you for providing that. That's interesting, because I see your ups.realpower.nominal variable is available and I'm assuming that 516 is the correct amount of wattage for the time this was taken? WinNUT should have automatically detected that. Could you please attach your log file from WinNUT? You can find it in the "Miscellanous" tab, by clicking the document with a blue 'i'.

@alexmb2020
Copy link
Author

alexmb2020 commented Nov 27, 2023 via email

@gbakeman
Copy link
Contributor

Thank you - this confirms that WinNUT is getting load information from the ups.realpower.nominal and ups.load variables. I noticed that your UPS model says it supports about 1400W of power, although the nominal realpower variables says 516. I think that's why the reported power is about a third of what you're expecting. I'm just trying to make sure I fully understand the problem so I can make a fix that benefits as many people as possible.

I think the first order of business is understanding why it reports the nominal realpower as 516. This could be a bug in the UPS firmware, or a bug with the driver NUT's upsd uses. Either way, it looks like your exact model of UPS isn't officially supported so you may want to open an issue with the NUT people to have them take a closer look at this.

In the meantime, I know a simple solution would be to just override/manually specify the max power of the UPS. I'll create a new issue for something like this and provide a link to you.

@gbakeman gbakeman removed this from the 2.3 Stable Release milestone Nov 27, 2023
@alexmb2020
Copy link
Author

alexmb2020 commented Nov 27, 2023 via email

@gbakeman gbakeman mentioned this issue Dec 2, 2023
@gbakeman
Copy link
Contributor

gbakeman commented Dec 2, 2023

I realized we have an issue open that can address this; please subscribe to #69 as that should address what you need. In the meantime, please consider opening that issue with the NUT people as that may give you a more direct solution to the problem you're experiencing. I think I may close this issue unless there's something else specific you'd like me to address.

@gbakeman gbakeman closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants