Environment
Unraid OS Version:
7.3.1
Unraid API Version:
4.35.1+a9625ae2
Are you using a reverse proxy?
Yes, but I also reproduced the issue by accessing the server directly on the local network.
UPS:
Eaton 3P Ellipse 900 USB DIN
UPS service:
Built-in apcupsd
Pre-submission Checklist
Issue Description
My UPS reports its load percentage through apcupsd, but does not report its nominal wattage.
Unraid provides an Override UPS Capacity (Watts) setting. After entering the correct capacity of 540 W, the Unraid WebUI successfully calculates and displays the estimated UPS power usage.
However, this configured override is not exposed through the GraphQL API. The API continues to return null for both nominalPower and currentPower.
Steps to Reproduce
- Connect a UPS that reports
LOADPCT, but does not report its nominal power through apcupsd.
- Enable the built-in Unraid UPS service.
- Enter
540 under Override UPS Capacity (Watts).
- Confirm that the Unraid WebUI displays the nominal power and calculated wattage.
- Query the GraphQL API:
query GetUPSDashboard {
upsDevices {
id
name
model
status
power {
inputVoltage
outputVoltage
loadPercentage
nominalPower
currentPower
}
}
}
Expected Behavior
When Override UPS Capacity (Watts) is configured, the GraphQL API should return:
nominalPower: the configured override value, for example 540
currentPower: the calculated power usage based on the configured capacity and load percentage
For example:
Actual Behavior
The Unraid WebUI displays the calculated wattage correctly, but the GraphQL API still returns:
{
"loadPercentage": 6,
"nominalPower": null,
"currentPower": null
}
Additional Context
The raw apcaccess status output includes:
MODEL : Eaton 3P
STATUS : ONLINE
LOADPCT : 5.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 83.2 Minutes
OUTPUTV : 237.0 Volts
It does not include NOMPOWER or a direct wattage value, which is why the override is required.
I also briefly tested the same UPS using the NUT plugin. NUT was able to read additional UPS data, including the actual real power value, but NUT data is not exposed through the official Unraid GraphQL API.
Environment
Unraid OS Version:
7.3.1
Unraid API Version:
4.35.1+a9625ae2
Are you using a reverse proxy?
Yes, but I also reproduced the issue by accessing the server directly on the local network.
UPS:
Eaton 3P Ellipse 900 USB DIN
UPS service:
Built-in apcupsd
Pre-submission Checklist
Issue Description
My UPS reports its load percentage through apcupsd, but does not report its nominal wattage.
Unraid provides an Override UPS Capacity (Watts) setting. After entering the correct capacity of
540 W, the Unraid WebUI successfully calculates and displays the estimated UPS power usage.However, this configured override is not exposed through the GraphQL API. The API continues to return
nullfor bothnominalPowerandcurrentPower.Steps to Reproduce
LOADPCT, but does not report its nominal power through apcupsd.540under Override UPS Capacity (Watts).Expected Behavior
When Override UPS Capacity (Watts) is configured, the GraphQL API should return:
nominalPower: the configured override value, for example540currentPower: the calculated power usage based on the configured capacity and load percentageFor example:
Actual Behavior
The Unraid WebUI displays the calculated wattage correctly, but the GraphQL API still returns:
{ "loadPercentage": 6, "nominalPower": null, "currentPower": null }Additional Context
The raw
apcaccess statusoutput includes:It does not include
NOMPOWERor a direct wattage value, which is why the override is required.I also briefly tested the same UPS using the NUT plugin. NUT was able to read additional UPS data, including the actual real power value, but NUT data is not exposed through the official Unraid GraphQL API.